pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-packaging



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Nov  9 20:35:14 UTC 2021

Modified Files:
        pkgsrc/devel/py-packaging: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-packaging/patches: patch-setup.py

Log Message:
py-packaging: update to 21.2.

21.2 - 2021-10-29
~~~~~~~~~~~~~~~~~

* Update documentation entry for 21.1.

21.1 - 2021-10-29
~~~~~~~~~~~~~~~~~

* Update pin to pyparsing to exclude 3.0.0.

21.0 - 2021-07-03
~~~~~~~~~~~~~~~~~

* PEP 656: musllinux support (:issue:`411`)
* Drop support for Python 2.7, Python 3.4 and Python 3.5.
* Replace distutils usage with sysconfig (:issue:`396`)
* Add support for zip files in ``parse_sdist_filename`` (:issue:`429`)
* Use cached ``_hash`` attribute to short-circuit tag equality comparisons (:issue:`417`)
* Specify the default value for the ``specifier`` argument to ``SpecifierSet`` (:issue:`437`)
* Proper keyword-only "warn" argument in packaging.tags (:issue:`403`)
* Correctly remove prerelease suffixes from ~= check (:issue:`366`)
* Fix type hints for ``Version.post`` and ``Version.dev`` (:issue:`393`)
* Use typing alias ``UnparsedVersion`` (:issue:`398`)
* Improve type inference for ``packaging.specifiers.filter()`` (:issue:`430`)
* Tighten the return type of ``canonicalize_version()`` (:issue:`402`)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-packaging/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-packaging/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-packaging/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-packaging/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/devel/py-packaging/Makefile
diff -u pkgsrc/devel/py-packaging/Makefile:1.13 pkgsrc/devel/py-packaging/Makefile:1.14
--- pkgsrc/devel/py-packaging/Makefile:1.13     Mon Nov  1 18:58:33 2021
+++ pkgsrc/devel/py-packaging/Makefile  Tue Nov  9 20:35:14 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2021/11/01 18:58:33 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2021/11/09 20:35:14 wiz Exp $
 
-DISTNAME=      packaging-20.9
+DISTNAME=      packaging-21.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packaging/}
@@ -10,14 +10,15 @@ HOMEPAGE=   https://github.com/pypa/packag
 COMMENT=       Core utilities for Python packages
 LICENSE=       modified-bsd OR apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 PYTHON_VERSIONED_DEPENDENCIES= test:test pyparsing
 
 USE_LANGUAGES= # none
 
-# needs 'make install' before
+# as of 21.2:
+# 1 failed, 29293 passed, 1 skipped, 1 xfailed, 15439 warnings
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 

Index: pkgsrc/devel/py-packaging/PLIST
diff -u pkgsrc/devel/py-packaging/PLIST:1.3 pkgsrc/devel/py-packaging/PLIST:1.4
--- pkgsrc/devel/py-packaging/PLIST:1.3 Wed Oct 21 08:56:52 2020
+++ pkgsrc/devel/py-packaging/PLIST     Tue Nov  9 20:35:14 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/10/21 08:56:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/11/09 20:35:14 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -10,15 +10,15 @@ ${PYSITELIB}/packaging/__about__.pyo
 ${PYSITELIB}/packaging/__init__.py
 ${PYSITELIB}/packaging/__init__.pyc
 ${PYSITELIB}/packaging/__init__.pyo
-${PYSITELIB}/packaging/_compat.py
-${PYSITELIB}/packaging/_compat.pyc
-${PYSITELIB}/packaging/_compat.pyo
+${PYSITELIB}/packaging/_manylinux.py
+${PYSITELIB}/packaging/_manylinux.pyc
+${PYSITELIB}/packaging/_manylinux.pyo
+${PYSITELIB}/packaging/_musllinux.py
+${PYSITELIB}/packaging/_musllinux.pyc
+${PYSITELIB}/packaging/_musllinux.pyo
 ${PYSITELIB}/packaging/_structures.py
 ${PYSITELIB}/packaging/_structures.pyc
 ${PYSITELIB}/packaging/_structures.pyo
-${PYSITELIB}/packaging/_typing.py
-${PYSITELIB}/packaging/_typing.pyc
-${PYSITELIB}/packaging/_typing.pyo
 ${PYSITELIB}/packaging/markers.py
 ${PYSITELIB}/packaging/markers.pyc
 ${PYSITELIB}/packaging/markers.pyo

Index: pkgsrc/devel/py-packaging/distinfo
diff -u pkgsrc/devel/py-packaging/distinfo:1.11 pkgsrc/devel/py-packaging/distinfo:1.12
--- pkgsrc/devel/py-packaging/distinfo:1.11     Tue Oct 26 10:18:43 2021
+++ pkgsrc/devel/py-packaging/distinfo  Tue Nov  9 20:35:14 2021
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:18:43 nia Exp $
+$NetBSD: distinfo,v 1.12 2021/11/09 20:35:14 wiz Exp $
 
-BLAKE2s (packaging-20.9.tar.gz) = b58feff10435fb04fcd08bbba0afa6dbc5e8447e8fb24b99223ea81374893d20
-SHA512 (packaging-20.9.tar.gz) = 229b729aa9be7730509b7036dce0ca0750103fb7e2cd45d51f0eeaf2a4731605d63d11e11c10c7c481e228faa5e860c2c8f7bc6bee3190cafd72c22d7b3db264
-Size (packaging-20.9.tar.gz) = 81267 bytes
+BLAKE2s (packaging-21.2.tar.gz) = 61b776ca8ca98489cd6377033e1e5d17c4cd11976c82d31ebafc074c2557e81e
+SHA512 (packaging-21.2.tar.gz) = 21bdab5e529ee47a9a16d2863650120062011469e035e869fb6526ebaf61a6e8167e6a2278b74db8c15fcb9a8bc70a11c3ebe1e7ab1d677dc09ee67456d0aa1a
+Size (packaging-21.2.tar.gz) = 84403 bytes
+SHA1 (patch-setup.py) = 52cc64b89aeb9f10b64c60f84cedd3d546b63e26

Added files:

Index: pkgsrc/devel/py-packaging/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-packaging/patches/patch-setup.py:1.1
--- /dev/null   Tue Nov  9 20:35:14 2021
+++ pkgsrc/devel/py-packaging/patches/patch-setup.py    Tue Nov  9 20:35:14 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/11/09 20:35:14 wiz Exp $
+
+Let pkgsrc handle version requirements.
+
+--- setup.py.orig      2021-10-29 11:19:27.000000000 +0000
++++ setup.py
+@@ -48,7 +48,7 @@ setup(
+     author=about["__author__"],
+     author_email=about["__email__"],
+     python_requires=">=3.6",
+-    install_requires=["pyparsing>=2.0.2,<3"],  # Needed to avoid issue #91
++    install_requires=["pyparsing"],
+     classifiers=[
+         "Development Status :: 5 - Production/Stable",
+         "Intended Audience :: Developers",



Home | Main Index | Thread Index | Old Index