CVS commit: pkgsrc/devel/py-packaging

"Adam Ciarcinski" <[email protected]> Fri, 7 Aug 2026 09:10:01 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	adam
Date:		Fri Aug  7 09:10:01 UTC 2026

Modified Files:
	pkgsrc/devel/py-packaging: Makefile PLIST distinfo

Log Message:
py-packaging: updated to 26.3

26.3 - 2026-08-03

Features:

* Add a public :class:`~packaging.ranges.VersionRange` API and
  :meth:`SpecifierSet.to_range() <packaging.specifiers.SpecifierSet.to_range>`,
  representing the versions a specifier set accepts as an interval set that
  supports intersection, union, difference, complement, set relations,
  membership tests, and filtering.
  :meth:`~packaging.ranges.VersionRange.to_specifier_set` converts a range back
  to a :class:`~packaging.specifiers.SpecifierSet` where a PEP 440 form exists.
  (:pull:`1267`, :pull:`1270`, :pull:`1298`)
* PEP 808: accept ``Metadata-Version: 2.6``. (:pull:`1194`)
* Add a ``limit`` argument to ``parse_tag()`` for compressed tag sets.
  (:issue:`1220`)
* Add a ``prefer_sdist_predicate`` argument to ``Pylock.select()`` to prefer
  source distributions over wheels for selected packages. (:pull:`1334`)
* Add :func:`~packaging.tags.pure_python_tags` to generate the pure-Python
  tags for a Python version without touching the running platform.
  (:pull:`1346`)
* Add :meth:`SpecifierSet.is_subset()
  <packaging.specifiers.SpecifierSet.is_subset>`, :meth:`~packaging.specifiers.SpecifierSet.is_superset`,
  and :meth:`~packaging.specifiers.SpecifierSet.is_disjoint`, which compare the
  versions two specifier sets accept. (:pull:`1313`)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-packaging/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-packaging/PLIST
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-packaging/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 3.2 KB)
Modified files:

Index: pkgsrc/devel/py-packaging/Makefile
diff -u pkgsrc/devel/py-packaging/Makefile:1.28 pkgsrc/devel/py-packaging/Makefile:1.29
--- pkgsrc/devel/py-packaging/Makefile:1.28	Sun Apr 26 10:35:26 2026
+++ pkgsrc/devel/py-packaging/Makefile	Fri Aug  7 09:10:00 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2026/04/26 10:35:26 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2026/08/07 09:10:00 adam Exp $
 
-DISTNAME=	packaging-26.2
+DISTNAME=	packaging-26.3
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/packaging/}
@@ -10,7 +10,6 @@ HOMEPAGE=	https://github.com/pypa/packag
 COMMENT=	Core utilities for Python packages
 LICENSE=	modified-bsd OR apache-2.0
 
-DEPENDS+=	${PYPKGPREFIX}-pyparsing>=2.0.2:../../devel/py-pyparsing
 TEST_DEPENDS+=	${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 # cyclic dependency
 #TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test

Index: pkgsrc/devel/py-packaging/PLIST
diff -u pkgsrc/devel/py-packaging/PLIST:1.12 pkgsrc/devel/py-packaging/PLIST:1.13
--- pkgsrc/devel/py-packaging/PLIST:1.12	Sun Apr 26 10:35:26 2026
+++ pkgsrc/devel/py-packaging/PLIST	Fri Aug  7 09:10:00 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2026/04/26 10:35:26 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2026/08/07 09:10:00 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -20,6 +20,9 @@ ${PYSITELIB}/packaging/_musllinux.pyo
 ${PYSITELIB}/packaging/_parser.py
 ${PYSITELIB}/packaging/_parser.pyc
 ${PYSITELIB}/packaging/_parser.pyo
+${PYSITELIB}/packaging/_ranges.py
+${PYSITELIB}/packaging/_ranges.pyc
+${PYSITELIB}/packaging/_ranges.pyo
 ${PYSITELIB}/packaging/_structures.py
 ${PYSITELIB}/packaging/_structures.pyc
 ${PYSITELIB}/packaging/_structures.pyo
@@ -51,6 +54,9 @@ ${PYSITELIB}/packaging/py.typed
 ${PYSITELIB}/packaging/pylock.py
 ${PYSITELIB}/packaging/pylock.pyc
 ${PYSITELIB}/packaging/pylock.pyo
+${PYSITELIB}/packaging/ranges.py
+${PYSITELIB}/packaging/ranges.pyc
+${PYSITELIB}/packaging/ranges.pyo
 ${PYSITELIB}/packaging/requirements.py
 ${PYSITELIB}/packaging/requirements.pyc
 ${PYSITELIB}/packaging/requirements.pyo

Index: pkgsrc/devel/py-packaging/distinfo
diff -u pkgsrc/devel/py-packaging/distinfo:1.23 pkgsrc/devel/py-packaging/distinfo:1.24
--- pkgsrc/devel/py-packaging/distinfo:1.23	Sun Apr 26 10:35:26 2026
+++ pkgsrc/devel/py-packaging/distinfo	Fri Aug  7 09:10:01 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2026/04/26 10:35:26 wiz Exp $
+$NetBSD: distinfo,v 1.24 2026/08/07 09:10:01 adam Exp $
 
-BLAKE2s (packaging-26.2.tar.gz) = 32d139a516269a20a6ff823200c8fe4edbed60463161b6f1abc41becbe49f2ad
-SHA512 (packaging-26.2.tar.gz) = cefa0ac8cfade3e86d73c62e79aff75e7e24337495f6e675c20ddd3fa3f3431eb48764a34e5ab0bcdacc0d2204afdc0088686d1f3f6880e9a8ae055da4867f15
-Size (packaging-26.2.tar.gz) = 228134 bytes
+BLAKE2s (packaging-26.3.tar.gz) = 1637ad18989f72e2eb3e921c1ba01daac708ac11b38f3b910f2a290c959f4013
+SHA512 (packaging-26.3.tar.gz) = 6a649d40efe6e6e9a7aaa1c4be9dc9e5eac40c35c57834407f9e610cda9f7c9c74d42bd2d5d86d3a7637cfa0201ad534997da8697acd7e5261f2fa18be478a95
+Size (packaging-26.3.tar.gz) = 313412 bytes