Received: by mail.netbsd.org (Postfix, from userid 605) id BBFD084E7E; Tue, 14 Feb 2023 16:09:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E4CBE84CFA for ; Tue, 14 Feb 2023 16:09:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id YLhXIWDYdy-M for ; Tue, 14 Feb 2023 16:09:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0543584D65 for ; Tue, 14 Feb 2023 16:09:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id F1D20FA90; Tue, 14 Feb 2023 16:09:11 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1676390951138750" MIME-Version: 1.0 Date: Tue, 14 Feb 2023 16:09:11 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-packaging To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20230214160911.F1D20FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1676390951138750 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Tue Feb 14 16:09:11 UTC 2023 Modified Files: pkgsrc/devel/py-packaging: Makefile PLIST distinfo Added Files: pkgsrc/devel/py-packaging/files: setup.py Log Message: py-packaging: updated to 23.0 23.0 Allow "extra" to be None in the marker environment Refactor tags._generic_api to use EXT_SUFFIX Correctly handle trailing whitespace on URL requirements Fix typing for specifiers.BaseSpecifier.filter() Use stable Python 3.11 in tests Correctly handle non-normalised specifiers in requirements Move to src/ layout Remove __about__ file, in favour of keeping constants in __init__ To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-packaging/Makefile cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-packaging/PLIST cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-packaging/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-packaging/files/setup.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1676390951138750 Content-Disposition: inline Content-Length: 4570 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-packaging/Makefile diff -u pkgsrc/devel/py-packaging/Makefile:1.16 pkgsrc/devel/py-packaging/Makefile:1.17 --- pkgsrc/devel/py-packaging/Makefile:1.16 Tue Jan 4 20:53:19 2022 +++ pkgsrc/devel/py-packaging/Makefile Tue Feb 14 16:09:11 2023 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2022/01/04 20:53:19 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2023/02/14 16:09:11 adam Exp $ -DISTNAME= packaging-21.3 +DISTNAME= packaging-23.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/packaging/} @@ -15,12 +14,16 @@ DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.0. TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +USE_LANGUAGES= # none + PYTHON_VERSIONS_INCOMPATIBLE= 27 -USE_LANGUAGES= # none +# Generated setup.py; don't use wheel.mk as py-build depends on py-packaging +pre-configure: + ${CP} ${FILESDIR}/setup.py ${WRKSRC}/ -# as of 21.2: -# 1 failed, 29293 passed, 1 skipped, 1 xfailed, 15439 warnings +# as of 23.0: +# 26338 passed, 1 skipped do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} Index: pkgsrc/devel/py-packaging/PLIST diff -u pkgsrc/devel/py-packaging/PLIST:1.4 pkgsrc/devel/py-packaging/PLIST:1.5 --- pkgsrc/devel/py-packaging/PLIST:1.4 Tue Nov 9 20:35:14 2021 +++ pkgsrc/devel/py-packaging/PLIST Tue Feb 14 16:09:11 2023 @@ -1,24 +1,29 @@ -@comment $NetBSD: PLIST,v 1.4 2021/11/09 20:35:14 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2023/02/14 16:09:11 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/packaging/__about__.py -${PYSITELIB}/packaging/__about__.pyc -${PYSITELIB}/packaging/__about__.pyo ${PYSITELIB}/packaging/__init__.py ${PYSITELIB}/packaging/__init__.pyc ${PYSITELIB}/packaging/__init__.pyo +${PYSITELIB}/packaging/_elffile.py +${PYSITELIB}/packaging/_elffile.pyc +${PYSITELIB}/packaging/_elffile.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/_parser.py +${PYSITELIB}/packaging/_parser.pyc +${PYSITELIB}/packaging/_parser.pyo ${PYSITELIB}/packaging/_structures.py ${PYSITELIB}/packaging/_structures.pyc ${PYSITELIB}/packaging/_structures.pyo +${PYSITELIB}/packaging/_tokenizer.py +${PYSITELIB}/packaging/_tokenizer.pyc +${PYSITELIB}/packaging/_tokenizer.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.13 pkgsrc/devel/py-packaging/distinfo:1.14 --- pkgsrc/devel/py-packaging/distinfo:1.13 Mon Nov 22 09:46:58 2021 +++ pkgsrc/devel/py-packaging/distinfo Tue Feb 14 16:09:11 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.13 2021/11/22 09:46:58 adam Exp $ +$NetBSD: distinfo,v 1.14 2023/02/14 16:09:11 adam Exp $ -BLAKE2s (packaging-21.3.tar.gz) = 3b174e17f0f21375a7b36ae330f1daba6f5cc35fc79ff51b504c1a1091f34ed8 -SHA512 (packaging-21.3.tar.gz) = 2e3aa276a4229ac7dc0654d586799473ced9761a83aa4159660d37ae1a2a8f30e987248dd0e260e2834106b589f259a57ce9936eef0dcc3c430a99ac6b663e05 -Size (packaging-21.3.tar.gz) = 84848 bytes +BLAKE2s (packaging-23.0.tar.gz) = 935691da82fb68d3a57fdab559a2b0e98c3922da813e1891d1c066ecab57ce15 +SHA512 (packaging-23.0.tar.gz) = d8e2af37bf2acb665337983d14de2777d5dd6bda485699b9230d6fd4c21b01525407aa823966b60ac87ac231533b90261e87b371d747b679b6b6cc274ff635d8 +Size (packaging-23.0.tar.gz) = 126241 bytes Added files: Index: pkgsrc/devel/py-packaging/files/setup.py diff -u /dev/null pkgsrc/devel/py-packaging/files/setup.py:1.1 --- /dev/null Tue Feb 14 16:09:11 2023 +++ pkgsrc/devel/py-packaging/files/setup.py Tue Feb 14 16:09:11 2023 @@ -0,0 +1,24 @@ +#!/usr/bin/env python + +from setuptools import setup + +packages = \ +['packaging'] + +package_data = \ +{'': ['*']} + +package_dir = \ +{'': 'src'} + +setup(name='packaging', + version='23.0', + description='Core utilities for Python packages', + author=None, + author_email='Donald Stufft ', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + python_requires='>=3.7', + ) --_----------=_1676390951138750--