pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-markups



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Mon Jul 31 21:58:37 UTC 2023

Modified Files:
        pkgsrc/textproc/py-markups: Makefile PLIST distinfo

Log Message:
py-markups: update to 4.0.0

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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/py-markups/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-markups/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-markups/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-markups/Makefile
diff -u pkgsrc/textproc/py-markups/Makefile:1.12 pkgsrc/textproc/py-markups/Makefile:1.13
--- pkgsrc/textproc/py-markups/Makefile:1.12    Sun Jul 30 15:32:49 2023
+++ pkgsrc/textproc/py-markups/Makefile Mon Jul 31 21:58:36 2023
@@ -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/}
 
@@ -12,6 +10,11 @@ HOMEPAGE=    https://github.com/retext-proj
 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
@@ -19,7 +22,7 @@ DEPENDS+=     ${PYPKGPREFIX}-textile-[0-9]*:
 
 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"

Index: pkgsrc/textproc/py-markups/PLIST
diff -u pkgsrc/textproc/py-markups/PLIST:1.1 pkgsrc/textproc/py-markups/PLIST:1.2
--- pkgsrc/textproc/py-markups/PLIST:1.1        Fri Mar  1 22:07:19 2019
+++ pkgsrc/textproc/py-markups/PLIST    Mon Jul 31 21:58:36 2023
@@ -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

Index: pkgsrc/textproc/py-markups/distinfo
diff -u pkgsrc/textproc/py-markups/distinfo:1.7 pkgsrc/textproc/py-markups/distinfo:1.8
--- pkgsrc/textproc/py-markups/distinfo:1.7     Sun Nov 28 20:22:32 2021
+++ pkgsrc/textproc/py-markups/distinfo Mon Jul 31 21:58:36 2023
@@ -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



Home | Main Index | Thread Index | Old Index