Skip to content

Commit

Permalink
py-markups: update to 4.0.0
Browse files Browse the repository at this point in the history
There isn't much here of relevance to pkgsrc (as presently configured),
but we may as well track the latest version. This drops Python 3.8
support, but as its only dependant is editors/retext, this doesn't seem
concerning.

Version 4.0.0, 2023-01-16
=========================

Incompatible changes:

* Python versions older than 3.9 are no longer supported.
* Python-Markdown versions older than 3.0 are no longer supported.
* Setuptools 61.2 or higher is required to build the project.
* ``setup.py`` has been removed. Use ``pip``, ``build`` or other :PEP:`517`
  compatible tool.

Other changes:

* Added AsciiDocMarkup (contributed by Dave Kuhlman in #17).
* Made the tests pass with Pygments ≥ 2.11.
* Made the tests pass when PyYAML is not installed (#18).
* Reformatted code in accordance with :PEP:`8` standard.
* Fixed mypy errors and added a :PEP:`561` ``py.typed`` file.
  • Loading branch information
dhgutteridge committed Jul 31, 2023
1 parent 126f6f2 commit f3e2eb7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
15 changes: 9 additions & 6 deletions textproc/py-markups/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# $NetBSD: Makefile,v 1.12 2023/07/30 15:32:49 adam Exp $
# $NetBSD: Makefile,v 1.13 2023/07/31 21:58:36 gutteridge Exp $

# (4.0.0 drops support for Python < 3.9.)
DISTNAME= Markups-3.1.3
DISTNAME= Markups-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=M/Markups/}

Expand All @@ -12,14 +10,19 @@ HOMEPAGE= https://github.com/retext-project/pymarkups
COMMENT= Python text markup language wrapper module
LICENSE= modified-bsd

# As of 4.0.0, there is also asciidoc support, requiring textproc/asciidoc
# and textproc/py-lxml. This hasn't been enabled, in part because asciidoc
# (as packaged) doesn't seem intended to handle multiple Python versions.
# textproc/py-yaml is also an optional dependency for configurations using
# YAML.
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-markdown-math-[0-9]*:../../textproc/py-markdown-math
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-textile-[0-9]*:../../textproc/py-textile

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
26 changes: 13 additions & 13 deletions textproc/py-markups/PLIST
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
@comment $NetBSD: PLIST,v 1.1 2019/03/01 22:07:19 gutteridge Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.2 2023/07/31 21:58:36 gutteridge Exp $
${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/markups/__init__.py
${PYSITELIB}/markups/__init__.pyc
${PYSITELIB}/markups/__init__.pyo
${PYSITELIB}/markups/abstract.py
${PYSITELIB}/markups/abstract.pyc
${PYSITELIB}/markups/abstract.pyo
${PYSITELIB}/markups/asciidoc.py
${PYSITELIB}/markups/asciidoc.pyc
${PYSITELIB}/markups/common.py
${PYSITELIB}/markups/common.pyc
${PYSITELIB}/markups/common.pyo
${PYSITELIB}/markups/markdown.py
${PYSITELIB}/markups/markdown.pyc
${PYSITELIB}/markups/markdown.pyo
${PYSITELIB}/markups/py.typed
${PYSITELIB}/markups/restructuredtext.py
${PYSITELIB}/markups/restructuredtext.pyc
${PYSITELIB}/markups/restructuredtext.pyo
${PYSITELIB}/markups/textile.py
${PYSITELIB}/markups/textile.pyc
${PYSITELIB}/markups/textile.pyo
8 changes: 4 additions & 4 deletions textproc/py-markups/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2021/11/28 20:22:32 adam Exp $
$NetBSD: distinfo,v 1.8 2023/07/31 21:58:36 gutteridge Exp $

BLAKE2s (Markups-3.1.3.tar.gz) = 5c0de9c55026850a5272275c4b2782fa7d272acd8a6b32828b17dae7356e85b4
SHA512 (Markups-3.1.3.tar.gz) = 324c3c45063e192ebde0fcd10e868b2053fb2758076092b180e1d8eed965dd41b2ea252a081b750637454395c163a92145f68e2a6fd8eb3eded8927baf044484
Size (Markups-3.1.3.tar.gz) = 20868 bytes
BLAKE2s (Markups-4.0.0.tar.gz) = c965ceae3161ff1f7f32b4e025cedd217661481bb7fad7e91b964f90c548d96e
SHA512 (Markups-4.0.0.tar.gz) = 5868b480debad480100ce632223aeca62ef22a6d9b2af6b4911d3477c94bcd99b88b5bc56f990d24d92de0d2665340e0fce37721f7979938ba947fab2c65900c
Size (Markups-4.0.0.tar.gz) = 22968 bytes

0 comments on commit f3e2eb7

Please sign in to comment.