pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-packaging py-packaging: update to 21.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/157c4709e089
branches: trunk
changeset: 769227:157c4709e089
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 09 20:35:14 2021 +0000
description:
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`)
diffstat:
devel/py-packaging/Makefile | 9 +++++----
devel/py-packaging/PLIST | 14 +++++++-------
devel/py-packaging/distinfo | 9 +++++----
devel/py-packaging/patches/patch-setup.py | 15 +++++++++++++++
4 files changed, 32 insertions(+), 15 deletions(-)
diffs (94 lines):
diff -r 1432edb9718a -r 157c4709e089 devel/py-packaging/Makefile
--- a/devel/py-packaging/Makefile Tue Nov 09 20:34:40 2021 +0000
+++ b/devel/py-packaging/Makefile Tue Nov 09 20:35:14 2021 +0000
@@ -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 @@
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}
diff -r 1432edb9718a -r 157c4709e089 devel/py-packaging/PLIST
--- a/devel/py-packaging/PLIST Tue Nov 09 20:34:40 2021 +0000
+++ b/devel/py-packaging/PLIST Tue Nov 09 20:35:14 2021 +0000
@@ -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/__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
diff -r 1432edb9718a -r 157c4709e089 devel/py-packaging/distinfo
--- a/devel/py-packaging/distinfo Tue Nov 09 20:34:40 2021 +0000
+++ b/devel/py-packaging/distinfo Tue Nov 09 20:35:14 2021 +0000
@@ -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
diff -r 1432edb9718a -r 157c4709e089 devel/py-packaging/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-packaging/patches/patch-setup.py Tue Nov 09 20:35:14 2021 +0000
@@ -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