pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-setuptools



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 27 09:58:35 UTC 2023

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

Log Message:
py-setuptools: updated to 69.0.2

v69.0.2

Bugfixes

Added missing estimated date for removing setuptools.dep_util (deprecated in v69.0.0).

v69.0.1

Bugfixes

Fixed imports of setuptools.dep_util.newer_group. A deprecation warning is issued instead of a hard failure.

v69.0.0

Features

Include type information (py.typed, *.pyi) by default
Exported distutils.dep_util and setuptools.dep_util through setuptools.modified

Bugfixes

Replaced hardcoded numeric values with :obj:`dis.opmap`, fixing problem with 3.13.0a1.

Deprecations and Removals

Configuring project version and egg_info.tag_* in such a way that results in invalid version strings (according to PEP 440) is no longer permitted.
Removed deprecated egg_base option from dist_info. Note that the dist_info command is considered internal to the way setuptools build backend works and not intended for public usage.
The parsing of the deprecated metadata.license_file and metadata.requires fields in setup.cfg is no longer supported. Users are expected to move to metadata.license_files and options.install_requires 
(respectively).
Passing config_settings to setuptools.build_meta with deprecated values for --global-option is no longer allowed.
Removed deprecated namespace-packages from pyproject.toml. Users are asked to use :doc:`implicit namespace packages <PyPUG:guides/packaging-namespace-packages>` (as defined in PEP 420).
Added strict enforcement for project.dynamic in pyproject.toml. This removes the transitional ability of users configuring certain parameters via setup.py without making the necessary changes to 
pyproject.toml (as mandated by PEP 621).
Removed handling of --config-settings["--build-option"] in setuptools.build_meta from build-backend API hooks other than build_wheel. This was motivate by errors caused when passing this option.


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 pkgsrc/devel/py-setuptools/Makefile
cvs rdiff -u -r1.82 -r1.83 pkgsrc/devel/py-setuptools/PLIST
cvs rdiff -u -r1.212 -r1.213 pkgsrc/devel/py-setuptools/distinfo

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-setuptools/Makefile
diff -u pkgsrc/devel/py-setuptools/Makefile:1.237 pkgsrc/devel/py-setuptools/Makefile:1.238
--- pkgsrc/devel/py-setuptools/Makefile:1.237   Mon Oct 23 06:39:18 2023
+++ pkgsrc/devel/py-setuptools/Makefile Mon Nov 27 09:58:35 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.237 2023/10/23 06:39:18 wiz Exp $
+# $NetBSD: Makefile,v 1.238 2023/11/27 09:58:35 adam Exp $
 
-DISTNAME=      setuptools-68.2.2
+DISTNAME=      setuptools-69.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools/}
 
@@ -14,15 +13,13 @@ LICENSE=    python-software-foundation OR z
 TEST_DEPENDS+= ${PYPKGPREFIX}-build-[0-9]*:../../devel/py-build
 TEST_DEPENDS+= ${PYPKGPREFIX}-filelock>=3.4.0:../../devel/py-filelock
 TEST_DEPENDS+= ${PYPKGPREFIX}-ini2toml>=0.9:../../textproc/py-ini2toml
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-jaraco.develop>=7.21:../../devel/py-jaraco.develop
+TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.develop>=7.21:../../devel/py-jaraco.develop
 TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.envs>=2.2:../../devel/py-jaraco.envs
 TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.path>=3.2.0:../../devel/py-jaraco.path
 TEST_DEPENDS+= ${PYPKGPREFIX}-pip>=19.1:../../devel/py-pip
-TEST_DEPENDS+= ${PYPKGPREFIX}-pip-run>=8.8:../../devel/py-pip-run
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-checkdocs>=2.4:../../devel/py-test-checkdocs
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-fixture-config-[0-9]*:../../devel/py-test-fixture-config
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
 TEST_DEPENDS+= ${PYPKGPREFIX}-tomli_w>=1.0.0:../../textproc/py-tomli_w
@@ -31,12 +28,8 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-wheel-[0-9
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# 28 failed, 1104 passed, 27 skipped, 6 xfailed, 3 xpassed, 1 warning
-PYSETUPTESTTARGET=     pytest
-
 PYDISTUTILSPKG=                no
 PY_PATCHPLIST=         yes
-#BOOTSTRAP_SETUPTOOLS= yes
 
 do-build: ensurepip
 .PHONY: ensurepip
@@ -47,7 +40,12 @@ ensurepip:
 do-install:
        cd ${WRKSRC} && PYTHONPATH=${WRKDIR}/.home/.local/lib/python${PYVERSSUFFIX}/site-packages \
         ${TOOL_PYTHONBIN} -m pip install --no-cache-dir --no-deps --disable-pip-version-check \
-                --root ${DESTDIR:Q} --prefix ${PREFIX:Q} --compile --force-reinstall -I .
+                --root ${DESTDIR} --prefix ${PREFIX} --compile --force-reinstall -I .
+
+# Pick setuptools.tests which are not built nor installed.
+TEST_ENV+=     PYTHONPATH=${WRKSRC}
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/batteries-included.mk"
 .include "../../lang/python/extension.mk"

Index: pkgsrc/devel/py-setuptools/PLIST
diff -u pkgsrc/devel/py-setuptools/PLIST:1.82 pkgsrc/devel/py-setuptools/PLIST:1.83
--- pkgsrc/devel/py-setuptools/PLIST:1.82       Mon Oct 23 06:39:18 2023
+++ pkgsrc/devel/py-setuptools/PLIST    Mon Nov 27 09:58:35 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.82 2023/10/23 06:39:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.83 2023/11/27 09:58:35 adam Exp $
 ${PYSITELIB}/_distutils_hack/__init__.py
 ${PYSITELIB}/_distutils_hack/__init__.pyc
 ${PYSITELIB}/_distutils_hack/override.py
@@ -22,6 +22,7 @@ ${PYSITELIB}/pkg_resources/_vendor/impor
 ${PYSITELIB}/pkg_resources/_vendor/importlib_resources/_legacy.pyc
 ${PYSITELIB}/pkg_resources/_vendor/importlib_resources/abc.py
 ${PYSITELIB}/pkg_resources/_vendor/importlib_resources/abc.pyc
+${PYSITELIB}/pkg_resources/_vendor/importlib_resources/py.typed
 ${PYSITELIB}/pkg_resources/_vendor/importlib_resources/readers.py
 ${PYSITELIB}/pkg_resources/_vendor/importlib_resources/readers.pyc
 ${PYSITELIB}/pkg_resources/_vendor/importlib_resources/simple.py
@@ -36,10 +37,14 @@ ${PYSITELIB}/pkg_resources/_vendor/jarac
 ${PYSITELIB}/pkg_resources/_vendor/jaraco/text/__init__.pyc
 ${PYSITELIB}/pkg_resources/_vendor/more_itertools/__init__.py
 ${PYSITELIB}/pkg_resources/_vendor/more_itertools/__init__.pyc
+${PYSITELIB}/pkg_resources/_vendor/more_itertools/__init__.pyi
 ${PYSITELIB}/pkg_resources/_vendor/more_itertools/more.py
 ${PYSITELIB}/pkg_resources/_vendor/more_itertools/more.pyc
+${PYSITELIB}/pkg_resources/_vendor/more_itertools/more.pyi
+${PYSITELIB}/pkg_resources/_vendor/more_itertools/py.typed
 ${PYSITELIB}/pkg_resources/_vendor/more_itertools/recipes.py
 ${PYSITELIB}/pkg_resources/_vendor/more_itertools/recipes.pyc
+${PYSITELIB}/pkg_resources/_vendor/more_itertools/recipes.pyi
 ${PYSITELIB}/pkg_resources/_vendor/packaging/__init__.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/__init__.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/_elffile.py
@@ -58,6 +63,7 @@ ${PYSITELIB}/pkg_resources/_vendor/packa
 ${PYSITELIB}/pkg_resources/_vendor/packaging/markers.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/metadata.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/metadata.pyc
+${PYSITELIB}/pkg_resources/_vendor/packaging/py.typed
 ${PYSITELIB}/pkg_resources/_vendor/packaging/requirements.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/requirements.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/specifiers.py
@@ -78,6 +84,7 @@ ${PYSITELIB}/pkg_resources/_vendor/platf
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/api.pyc
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/macos.py
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/macos.pyc
+${PYSITELIB}/pkg_resources/_vendor/platformdirs/py.typed
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/unix.py
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/unix.pyc
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/version.py
@@ -113,6 +120,8 @@ ${PYSITELIB}/setuptools/_distutils/_log.
 ${PYSITELIB}/setuptools/_distutils/_log.pyc
 ${PYSITELIB}/setuptools/_distutils/_macos_compat.py
 ${PYSITELIB}/setuptools/_distutils/_macos_compat.pyc
+${PYSITELIB}/setuptools/_distutils/_modified.py
+${PYSITELIB}/setuptools/_distutils/_modified.pyc
 ${PYSITELIB}/setuptools/_distutils/_msvccompiler.py
 ${PYSITELIB}/setuptools/_distutils/_msvccompiler.pyc
 ${PYSITELIB}/setuptools/_distutils/archive_util.py
@@ -251,6 +260,7 @@ ${PYSITELIB}/setuptools/_vendor/importli
 ${PYSITELIB}/setuptools/_vendor/importlib_metadata/_py39compat.pyc
 ${PYSITELIB}/setuptools/_vendor/importlib_metadata/_text.py
 ${PYSITELIB}/setuptools/_vendor/importlib_metadata/_text.pyc
+${PYSITELIB}/setuptools/_vendor/importlib_metadata/py.typed
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/__init__.py
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/__init__.pyc
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/_adapters.py
@@ -265,6 +275,7 @@ ${PYSITELIB}/setuptools/_vendor/importli
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/_legacy.pyc
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/abc.py
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/abc.pyc
+${PYSITELIB}/setuptools/_vendor/importlib_resources/py.typed
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/readers.py
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/readers.pyc
 ${PYSITELIB}/setuptools/_vendor/importlib_resources/simple.py
@@ -279,10 +290,14 @@ ${PYSITELIB}/setuptools/_vendor/jaraco/t
 ${PYSITELIB}/setuptools/_vendor/jaraco/text/__init__.pyc
 ${PYSITELIB}/setuptools/_vendor/more_itertools/__init__.py
 ${PYSITELIB}/setuptools/_vendor/more_itertools/__init__.pyc
+${PYSITELIB}/setuptools/_vendor/more_itertools/__init__.pyi
 ${PYSITELIB}/setuptools/_vendor/more_itertools/more.py
 ${PYSITELIB}/setuptools/_vendor/more_itertools/more.pyc
+${PYSITELIB}/setuptools/_vendor/more_itertools/more.pyi
+${PYSITELIB}/setuptools/_vendor/more_itertools/py.typed
 ${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.py
 ${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.pyc
+${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.pyi
 ${PYSITELIB}/setuptools/_vendor/ordered_set.py
 ${PYSITELIB}/setuptools/_vendor/ordered_set.pyc
 ${PYSITELIB}/setuptools/_vendor/packaging/__init__.py
@@ -303,6 +318,7 @@ ${PYSITELIB}/setuptools/_vendor/packagin
 ${PYSITELIB}/setuptools/_vendor/packaging/markers.pyc
 ${PYSITELIB}/setuptools/_vendor/packaging/metadata.py
 ${PYSITELIB}/setuptools/_vendor/packaging/metadata.pyc
+${PYSITELIB}/setuptools/_vendor/packaging/py.typed
 ${PYSITELIB}/setuptools/_vendor/packaging/requirements.py
 ${PYSITELIB}/setuptools/_vendor/packaging/requirements.pyc
 ${PYSITELIB}/setuptools/_vendor/packaging/specifiers.py
@@ -321,6 +337,7 @@ ${PYSITELIB}/setuptools/_vendor/tomli/_r
 ${PYSITELIB}/setuptools/_vendor/tomli/_re.pyc
 ${PYSITELIB}/setuptools/_vendor/tomli/_types.py
 ${PYSITELIB}/setuptools/_vendor/tomli/_types.pyc
+${PYSITELIB}/setuptools/_vendor/tomli/py.typed
 ${PYSITELIB}/setuptools/_vendor/typing_extensions.py
 ${PYSITELIB}/setuptools/_vendor/typing_extensions.pyc
 ${PYSITELIB}/setuptools/_vendor/zipp.py
@@ -434,6 +451,8 @@ ${PYSITELIB}/setuptools/launch.py
 ${PYSITELIB}/setuptools/launch.pyc
 ${PYSITELIB}/setuptools/logging.py
 ${PYSITELIB}/setuptools/logging.pyc
+${PYSITELIB}/setuptools/modified.py
+${PYSITELIB}/setuptools/modified.pyc
 ${PYSITELIB}/setuptools/monkey.py
 ${PYSITELIB}/setuptools/monkey.pyc
 ${PYSITELIB}/setuptools/msvc.py

Index: pkgsrc/devel/py-setuptools/distinfo
diff -u pkgsrc/devel/py-setuptools/distinfo:1.212 pkgsrc/devel/py-setuptools/distinfo:1.213
--- pkgsrc/devel/py-setuptools/distinfo:1.212   Sat Oct 14 10:47:56 2023
+++ pkgsrc/devel/py-setuptools/distinfo Mon Nov 27 09:58:35 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.212 2023/10/14 10:47:56 adam Exp $
+$NetBSD: distinfo,v 1.213 2023/11/27 09:58:35 adam Exp $
 
-BLAKE2s (setuptools-68.2.2.tar.gz) = e675b54a88dabe3120d0703051164d73cf36b787e04152d3c747a712331e6bde
-SHA512 (setuptools-68.2.2.tar.gz) = ed3138a39e8ae47d695e71835024d66d63b8de51aa336bd8524de81a5036aa26cf587caca5d6b46c833f77a6e9c8c1ae6b64e8310f712bd9c4e760196778b2ca
-Size (setuptools-68.2.2.tar.gz) = 2203338 bytes
+BLAKE2s (setuptools-69.0.2.tar.gz) = 1969d66854756f6c31cf5364b0296179b3931bd8fd219818812180fa7afe1364
+SHA512 (setuptools-69.0.2.tar.gz) = 1a2955c8ff5955cb028f60ca538472c3a24dbda27984ef51ab59f6969e100b183456af82bc978a02f771b952908985eb85312065849f1afc64530d6461c7c6f6
+Size (setuptools-69.0.2.tar.gz) = 2219248 bytes



Home | Main Index | Thread Index | Old Index