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:   wiz
Date:           Wed Sep  2 21:42:18 UTC 2020

Modified Files:
        pkgsrc/devel/py-setuptools: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-setuptools/patches:
            patch-setuptools___distutils_sysconfig.py
            patch-setuptools___distutils_unixccompiler.py

Log Message:
py-setuptools: update to 50.0.1.

Please note the change in 50.0.0:

"Setuptools overrides the stdlib distutils on import"

and the workaround:

"If the environment variable ``SETUPTOOLS_USE_DISTUTILS`` is set to
``stdlib``, Setuptools will fall back to the legacy behavior."

v50.0.1
-------

* #2357: Restored Python 3.5 support in distutils.util for missing `subprocess._optim_args_from_interpreter_flags`.
* #2358: Restored AIX support on Python 3.8 and earlier.
* #2361: Add Python 3.10 support to _distutils_hack. Get the 'Loader' abstract class
  from importlib.abc rather than importlib.util.abc (alias removed in Python
  3.10).

v50.0.0
-------

* #2232: Once again, Setuptools overrides the stdlib distutils on import. For environments or invocations where this behavior is undesirable, users are provided with a temporary escape hatch. If the 
environment variable ``SETUPTOOLS_USE_DISTUTILS`` is set to ``stdlib``, Setuptools will fall back to the legacy behavior. Use of this escape hatch is discouraged, but it is provided to ease the 
transition while proper fixes for edge cases can be addressed.
* #2334: In MSVC module, refine text in error message.

v49.6.0
-------

* #2129: In pkg_resources, no longer detect any pathname ending in .egg as a Python egg. Now the path must be an unpacked egg or a zip file.

v49.5.0
-------

* #2306: When running as a PEP 517 backend, setuptools does not try to install
  ``setup_requires`` itself. They are reported as build requirements for the
  frontend to install.

v49.4.0
-------

* #2310: Updated vendored packaging version to 20.4.

v49.3.2
-------

* #2300: Improve the ``safe_version`` function documentation
* #2297: Once again, in stubs prefer exec_module to the deprecated load_module.

v49.3.1
-------

* #2316: Removed warning when ``distutils`` is imported before ``setuptools`` when ``distutils`` replacement is not enabled.

v49.3.0
-------

* #2259: Setuptools now provides a .pth file (except for editable installs of setuptools) to the target environment to ensure that when enabled, the setuptools-provided distutils is preferred before 
setuptools has been imported (and even if setuptools is never imported). Honors the SETUPTOOLS_USE_DISTUTILS environment variable.

v49.2.1
-------

* #2257: Fixed two flaws in distutils._msvccompiler.MSVCCompiler.spawn.

v49.2.0
-------

* #2230: Now warn the user when setuptools is imported after distutils modules have been loaded (exempting PyPy for 3.6), directing the users of packages to import setuptools first.

v49.1.3
-------

* #2212: (Distutils) Allow spawn to accept environment. Avoid monkey-patching global state.
* #2249: Fix extension loading technique in stubs.

v49.1.2
-------

* #2232: In preparation for re-enabling a local copy of distutils, Setuptools now honors an environment variable, SETUPTOOLS_USE_DISTUTILS. If set to 'stdlib' (current default), distutils will be 
used from the standard library. If set to 'local' (default in a imminent backward-incompatible release), the local copy of distutils will be used.

v49.1.1
-------

* #2094: Removed pkg_resources.py2_warn module, which is no longer reachable.

v49.0.1
-------

* #2228: Applied fix for pypa/distutils#3, restoring expectation that spawn will raise a DistutilsExecError when attempting to execute a missing file.

v49.1.0
-------

* #2228: Disabled distutils adoption for now while emergent issues are addressed.

v49.0.0
-------

* #2165: Setuptools no longer installs a site.py file during easy_install or develop installs. As a result, .eggs on PYTHONPATH will no longer take precedence over other packages on sys.path. If this 
issue affects your production environment, please reach out to the maintainers at #2165.
* #2137: Removed (private) pkg_resources.RequirementParseError, now replaced by packaging.requirements.InvalidRequirement. Kept the name for compatibility, but users should catch InvalidRequirement 
instead.
* #2180: Update vendored packaging in pkg_resources to 19.2.
* #2199: Fix exception causes all over the codebase by using ``raise new_exception from old_exception``


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 pkgsrc/devel/py-setuptools/Makefile
cvs rdiff -u -r1.50 -r1.51 pkgsrc/devel/py-setuptools/PLIST
cvs rdiff -u -r1.156 -r1.157 pkgsrc/devel/py-setuptools/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_sysconfig.py \
    pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_unixccompiler.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-setuptools/Makefile
diff -u pkgsrc/devel/py-setuptools/Makefile:1.178 pkgsrc/devel/py-setuptools/Makefile:1.179
--- pkgsrc/devel/py-setuptools/Makefile:1.178   Mon Aug 31 23:06:02 2020
+++ pkgsrc/devel/py-setuptools/Makefile Wed Sep  2 21:42:18 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.178 2020/08/31 23:06:02 wiz Exp $
+# $NetBSD: Makefile,v 1.179 2020/09/02 21:42:18 wiz Exp $
 
 # 48.0.0 and newer are broken on NetBSD
 # https://github.com/pypa/setuptools/issues/2364
-DISTNAME=      setuptools-47.3.2
+DISTNAME=      setuptools-50.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools/}

Index: pkgsrc/devel/py-setuptools/PLIST
diff -u pkgsrc/devel/py-setuptools/PLIST:1.50 pkgsrc/devel/py-setuptools/PLIST:1.51
--- pkgsrc/devel/py-setuptools/PLIST:1.50       Mon Aug 31 23:06:02 2020
+++ pkgsrc/devel/py-setuptools/PLIST    Wed Sep  2 21:42:18 2020
@@ -1,5 +1,12 @@
-@comment $NetBSD: PLIST,v 1.50 2020/08/31 23:06:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.51 2020/09/02 21:42:18 wiz Exp $
 bin/easy_install-${PYVERSSUFFIX}
+${PYSITELIB}/_distutils_hack/__init__.py
+${PYSITELIB}/_distutils_hack/__init__.pyc
+${PYSITELIB}/_distutils_hack/__init__.pyo
+${PYSITELIB}/_distutils_hack/override.py
+${PYSITELIB}/_distutils_hack/override.pyc
+${PYSITELIB}/_distutils_hack/override.pyo
+${PYSITELIB}/distutils-precedence.pth
 ${PYSITELIB}/easy_install.py
 ${PYSITELIB}/easy_install.pyc
 ${PYSITELIB}/easy_install.pyo
@@ -24,6 +31,9 @@ ${PYSITELIB}/pkg_resources/_vendor/packa
 ${PYSITELIB}/pkg_resources/_vendor/packaging/_structures.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/_structures.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/_structures.pyo
+${PYSITELIB}/pkg_resources/_vendor/packaging/_typing.py
+${PYSITELIB}/pkg_resources/_vendor/packaging/_typing.pyc
+${PYSITELIB}/pkg_resources/_vendor/packaging/_typing.pyo
 ${PYSITELIB}/pkg_resources/_vendor/packaging/markers.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/markers.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/markers.pyo
@@ -33,6 +43,9 @@ ${PYSITELIB}/pkg_resources/_vendor/packa
 ${PYSITELIB}/pkg_resources/_vendor/packaging/specifiers.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/specifiers.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/specifiers.pyo
+${PYSITELIB}/pkg_resources/_vendor/packaging/tags.py
+${PYSITELIB}/pkg_resources/_vendor/packaging/tags.pyc
+${PYSITELIB}/pkg_resources/_vendor/packaging/tags.pyo
 ${PYSITELIB}/pkg_resources/_vendor/packaging/utils.py
 ${PYSITELIB}/pkg_resources/_vendor/packaging/utils.pyc
 ${PYSITELIB}/pkg_resources/_vendor/packaging/utils.pyo
@@ -42,15 +55,9 @@ ${PYSITELIB}/pkg_resources/_vendor/packa
 ${PYSITELIB}/pkg_resources/_vendor/pyparsing.py
 ${PYSITELIB}/pkg_resources/_vendor/pyparsing.pyc
 ${PYSITELIB}/pkg_resources/_vendor/pyparsing.pyo
-${PYSITELIB}/pkg_resources/_vendor/six.py
-${PYSITELIB}/pkg_resources/_vendor/six.pyc
-${PYSITELIB}/pkg_resources/_vendor/six.pyo
 ${PYSITELIB}/pkg_resources/extern/__init__.py
 ${PYSITELIB}/pkg_resources/extern/__init__.pyc
 ${PYSITELIB}/pkg_resources/extern/__init__.pyo
-${PYSITELIB}/pkg_resources/py2_warn.py
-${PYSITELIB}/pkg_resources/py2_warn.pyc
-${PYSITELIB}/pkg_resources/py2_warn.pyo
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
@@ -64,6 +71,165 @@ ${PYSITELIB}/setuptools/__init__.pyo
 ${PYSITELIB}/setuptools/_deprecation_warning.py
 ${PYSITELIB}/setuptools/_deprecation_warning.pyc
 ${PYSITELIB}/setuptools/_deprecation_warning.pyo
+${PYSITELIB}/setuptools/_distutils/__init__.py
+${PYSITELIB}/setuptools/_distutils/__init__.pyc
+${PYSITELIB}/setuptools/_distutils/__init__.pyo
+${PYSITELIB}/setuptools/_distutils/_msvccompiler.py
+${PYSITELIB}/setuptools/_distutils/_msvccompiler.pyc
+${PYSITELIB}/setuptools/_distutils/_msvccompiler.pyo
+${PYSITELIB}/setuptools/_distutils/archive_util.py
+${PYSITELIB}/setuptools/_distutils/archive_util.pyc
+${PYSITELIB}/setuptools/_distutils/archive_util.pyo
+${PYSITELIB}/setuptools/_distutils/bcppcompiler.py
+${PYSITELIB}/setuptools/_distutils/bcppcompiler.pyc
+${PYSITELIB}/setuptools/_distutils/bcppcompiler.pyo
+${PYSITELIB}/setuptools/_distutils/ccompiler.py
+${PYSITELIB}/setuptools/_distutils/ccompiler.pyc
+${PYSITELIB}/setuptools/_distutils/ccompiler.pyo
+${PYSITELIB}/setuptools/_distutils/cmd.py
+${PYSITELIB}/setuptools/_distutils/cmd.pyc
+${PYSITELIB}/setuptools/_distutils/cmd.pyo
+${PYSITELIB}/setuptools/_distutils/command/__init__.py
+${PYSITELIB}/setuptools/_distutils/command/__init__.pyc
+${PYSITELIB}/setuptools/_distutils/command/__init__.pyo
+${PYSITELIB}/setuptools/_distutils/command/bdist.py
+${PYSITELIB}/setuptools/_distutils/command/bdist.pyc
+${PYSITELIB}/setuptools/_distutils/command/bdist.pyo
+${PYSITELIB}/setuptools/_distutils/command/bdist_dumb.py
+${PYSITELIB}/setuptools/_distutils/command/bdist_dumb.pyc
+${PYSITELIB}/setuptools/_distutils/command/bdist_dumb.pyo
+${PYSITELIB}/setuptools/_distutils/command/bdist_msi.py
+${PYSITELIB}/setuptools/_distutils/command/bdist_msi.pyc
+${PYSITELIB}/setuptools/_distutils/command/bdist_msi.pyo
+${PYSITELIB}/setuptools/_distutils/command/bdist_rpm.py
+${PYSITELIB}/setuptools/_distutils/command/bdist_rpm.pyc
+${PYSITELIB}/setuptools/_distutils/command/bdist_rpm.pyo
+${PYSITELIB}/setuptools/_distutils/command/bdist_wininst.py
+${PYSITELIB}/setuptools/_distutils/command/bdist_wininst.pyc
+${PYSITELIB}/setuptools/_distutils/command/bdist_wininst.pyo
+${PYSITELIB}/setuptools/_distutils/command/build.py
+${PYSITELIB}/setuptools/_distutils/command/build.pyc
+${PYSITELIB}/setuptools/_distutils/command/build.pyo
+${PYSITELIB}/setuptools/_distutils/command/build_clib.py
+${PYSITELIB}/setuptools/_distutils/command/build_clib.pyc
+${PYSITELIB}/setuptools/_distutils/command/build_clib.pyo
+${PYSITELIB}/setuptools/_distutils/command/build_ext.py
+${PYSITELIB}/setuptools/_distutils/command/build_ext.pyc
+${PYSITELIB}/setuptools/_distutils/command/build_ext.pyo
+${PYSITELIB}/setuptools/_distutils/command/build_py.py
+${PYSITELIB}/setuptools/_distutils/command/build_py.pyc
+${PYSITELIB}/setuptools/_distutils/command/build_py.pyo
+${PYSITELIB}/setuptools/_distutils/command/build_scripts.py
+${PYSITELIB}/setuptools/_distutils/command/build_scripts.pyc
+${PYSITELIB}/setuptools/_distutils/command/build_scripts.pyo
+${PYSITELIB}/setuptools/_distutils/command/check.py
+${PYSITELIB}/setuptools/_distutils/command/check.pyc
+${PYSITELIB}/setuptools/_distutils/command/check.pyo
+${PYSITELIB}/setuptools/_distutils/command/clean.py
+${PYSITELIB}/setuptools/_distutils/command/clean.pyc
+${PYSITELIB}/setuptools/_distutils/command/clean.pyo
+${PYSITELIB}/setuptools/_distutils/command/config.py
+${PYSITELIB}/setuptools/_distutils/command/config.pyc
+${PYSITELIB}/setuptools/_distutils/command/config.pyo
+${PYSITELIB}/setuptools/_distutils/command/install.py
+${PYSITELIB}/setuptools/_distutils/command/install.pyc
+${PYSITELIB}/setuptools/_distutils/command/install.pyo
+${PYSITELIB}/setuptools/_distutils/command/install_data.py
+${PYSITELIB}/setuptools/_distutils/command/install_data.pyc
+${PYSITELIB}/setuptools/_distutils/command/install_data.pyo
+${PYSITELIB}/setuptools/_distutils/command/install_egg_info.py
+${PYSITELIB}/setuptools/_distutils/command/install_egg_info.pyc
+${PYSITELIB}/setuptools/_distutils/command/install_egg_info.pyo
+${PYSITELIB}/setuptools/_distutils/command/install_headers.py
+${PYSITELIB}/setuptools/_distutils/command/install_headers.pyc
+${PYSITELIB}/setuptools/_distutils/command/install_headers.pyo
+${PYSITELIB}/setuptools/_distutils/command/install_lib.py
+${PYSITELIB}/setuptools/_distutils/command/install_lib.pyc
+${PYSITELIB}/setuptools/_distutils/command/install_lib.pyo
+${PYSITELIB}/setuptools/_distutils/command/install_scripts.py
+${PYSITELIB}/setuptools/_distutils/command/install_scripts.pyc
+${PYSITELIB}/setuptools/_distutils/command/install_scripts.pyo
+${PYSITELIB}/setuptools/_distutils/command/register.py
+${PYSITELIB}/setuptools/_distutils/command/register.pyc
+${PYSITELIB}/setuptools/_distutils/command/register.pyo
+${PYSITELIB}/setuptools/_distutils/command/sdist.py
+${PYSITELIB}/setuptools/_distutils/command/sdist.pyc
+${PYSITELIB}/setuptools/_distutils/command/sdist.pyo
+${PYSITELIB}/setuptools/_distutils/command/upload.py
+${PYSITELIB}/setuptools/_distutils/command/upload.pyc
+${PYSITELIB}/setuptools/_distutils/command/upload.pyo
+${PYSITELIB}/setuptools/_distutils/config.py
+${PYSITELIB}/setuptools/_distutils/config.pyc
+${PYSITELIB}/setuptools/_distutils/config.pyo
+${PYSITELIB}/setuptools/_distutils/core.py
+${PYSITELIB}/setuptools/_distutils/core.pyc
+${PYSITELIB}/setuptools/_distutils/core.pyo
+${PYSITELIB}/setuptools/_distutils/cygwinccompiler.py
+${PYSITELIB}/setuptools/_distutils/cygwinccompiler.pyc
+${PYSITELIB}/setuptools/_distutils/cygwinccompiler.pyo
+${PYSITELIB}/setuptools/_distutils/debug.py
+${PYSITELIB}/setuptools/_distutils/debug.pyc
+${PYSITELIB}/setuptools/_distutils/debug.pyo
+${PYSITELIB}/setuptools/_distutils/dep_util.py
+${PYSITELIB}/setuptools/_distutils/dep_util.pyc
+${PYSITELIB}/setuptools/_distutils/dep_util.pyo
+${PYSITELIB}/setuptools/_distutils/dir_util.py
+${PYSITELIB}/setuptools/_distutils/dir_util.pyc
+${PYSITELIB}/setuptools/_distutils/dir_util.pyo
+${PYSITELIB}/setuptools/_distutils/dist.py
+${PYSITELIB}/setuptools/_distutils/dist.pyc
+${PYSITELIB}/setuptools/_distutils/dist.pyo
+${PYSITELIB}/setuptools/_distutils/errors.py
+${PYSITELIB}/setuptools/_distutils/errors.pyc
+${PYSITELIB}/setuptools/_distutils/errors.pyo
+${PYSITELIB}/setuptools/_distutils/extension.py
+${PYSITELIB}/setuptools/_distutils/extension.pyc
+${PYSITELIB}/setuptools/_distutils/extension.pyo
+${PYSITELIB}/setuptools/_distutils/fancy_getopt.py
+${PYSITELIB}/setuptools/_distutils/fancy_getopt.pyc
+${PYSITELIB}/setuptools/_distutils/fancy_getopt.pyo
+${PYSITELIB}/setuptools/_distutils/file_util.py
+${PYSITELIB}/setuptools/_distutils/file_util.pyc
+${PYSITELIB}/setuptools/_distutils/file_util.pyo
+${PYSITELIB}/setuptools/_distutils/filelist.py
+${PYSITELIB}/setuptools/_distutils/filelist.pyc
+${PYSITELIB}/setuptools/_distutils/filelist.pyo
+${PYSITELIB}/setuptools/_distutils/log.py
+${PYSITELIB}/setuptools/_distutils/log.pyc
+${PYSITELIB}/setuptools/_distutils/log.pyo
+${PYSITELIB}/setuptools/_distutils/msvc9compiler.py
+${PYSITELIB}/setuptools/_distutils/msvc9compiler.pyc
+${PYSITELIB}/setuptools/_distutils/msvc9compiler.pyo
+${PYSITELIB}/setuptools/_distutils/msvccompiler.py
+${PYSITELIB}/setuptools/_distutils/msvccompiler.pyc
+${PYSITELIB}/setuptools/_distutils/msvccompiler.pyo
+${PYSITELIB}/setuptools/_distutils/py35compat.py
+${PYSITELIB}/setuptools/_distutils/py35compat.pyc
+${PYSITELIB}/setuptools/_distutils/py35compat.pyo
+${PYSITELIB}/setuptools/_distutils/py38compat.py
+${PYSITELIB}/setuptools/_distutils/py38compat.pyc
+${PYSITELIB}/setuptools/_distutils/py38compat.pyo
+${PYSITELIB}/setuptools/_distutils/spawn.py
+${PYSITELIB}/setuptools/_distutils/spawn.pyc
+${PYSITELIB}/setuptools/_distutils/spawn.pyo
+${PYSITELIB}/setuptools/_distutils/sysconfig.py
+${PYSITELIB}/setuptools/_distutils/sysconfig.pyc
+${PYSITELIB}/setuptools/_distutils/sysconfig.pyo
+${PYSITELIB}/setuptools/_distutils/text_file.py
+${PYSITELIB}/setuptools/_distutils/text_file.pyc
+${PYSITELIB}/setuptools/_distutils/text_file.pyo
+${PYSITELIB}/setuptools/_distutils/unixccompiler.py
+${PYSITELIB}/setuptools/_distutils/unixccompiler.pyc
+${PYSITELIB}/setuptools/_distutils/unixccompiler.pyo
+${PYSITELIB}/setuptools/_distutils/util.py
+${PYSITELIB}/setuptools/_distutils/util.pyc
+${PYSITELIB}/setuptools/_distutils/util.pyo
+${PYSITELIB}/setuptools/_distutils/version.py
+${PYSITELIB}/setuptools/_distutils/version.pyc
+${PYSITELIB}/setuptools/_distutils/version.pyo
+${PYSITELIB}/setuptools/_distutils/versionpredicate.py
+${PYSITELIB}/setuptools/_distutils/versionpredicate.pyc
+${PYSITELIB}/setuptools/_distutils/versionpredicate.pyo
 ${PYSITELIB}/setuptools/_imp.py
 ${PYSITELIB}/setuptools/_imp.pyc
 ${PYSITELIB}/setuptools/_imp.pyo
@@ -85,6 +251,9 @@ ${PYSITELIB}/setuptools/_vendor/packagin
 ${PYSITELIB}/setuptools/_vendor/packaging/_structures.py
 ${PYSITELIB}/setuptools/_vendor/packaging/_structures.pyc
 ${PYSITELIB}/setuptools/_vendor/packaging/_structures.pyo
+${PYSITELIB}/setuptools/_vendor/packaging/_typing.py
+${PYSITELIB}/setuptools/_vendor/packaging/_typing.pyc
+${PYSITELIB}/setuptools/_vendor/packaging/_typing.pyo
 ${PYSITELIB}/setuptools/_vendor/packaging/markers.py
 ${PYSITELIB}/setuptools/_vendor/packaging/markers.pyc
 ${PYSITELIB}/setuptools/_vendor/packaging/markers.pyo
@@ -106,9 +275,6 @@ ${PYSITELIB}/setuptools/_vendor/packagin
 ${PYSITELIB}/setuptools/_vendor/pyparsing.py
 ${PYSITELIB}/setuptools/_vendor/pyparsing.pyc
 ${PYSITELIB}/setuptools/_vendor/pyparsing.pyo
-${PYSITELIB}/setuptools/_vendor/six.py
-${PYSITELIB}/setuptools/_vendor/six.pyc
-${PYSITELIB}/setuptools/_vendor/six.pyo
 ${PYSITELIB}/setuptools/archive_util.py
 ${PYSITELIB}/setuptools/archive_util.pyc
 ${PYSITELIB}/setuptools/archive_util.pyo
@@ -242,15 +408,6 @@ ${PYSITELIB}/setuptools/namespaces.pyo
 ${PYSITELIB}/setuptools/package_index.py
 ${PYSITELIB}/setuptools/package_index.pyc
 ${PYSITELIB}/setuptools/package_index.pyo
-${PYSITELIB}/setuptools/py27compat.py
-${PYSITELIB}/setuptools/py27compat.pyc
-${PYSITELIB}/setuptools/py27compat.pyo
-${PYSITELIB}/setuptools/py31compat.py
-${PYSITELIB}/setuptools/py31compat.pyc
-${PYSITELIB}/setuptools/py31compat.pyo
-${PYSITELIB}/setuptools/py33compat.py
-${PYSITELIB}/setuptools/py33compat.pyc
-${PYSITELIB}/setuptools/py33compat.pyo
 ${PYSITELIB}/setuptools/py34compat.py
 ${PYSITELIB}/setuptools/py34compat.pyc
 ${PYSITELIB}/setuptools/py34compat.pyo
@@ -259,9 +416,6 @@ ${PYSITELIB}/setuptools/sandbox.pyc
 ${PYSITELIB}/setuptools/sandbox.pyo
 ${PYSITELIB}/setuptools/script (dev).tmpl
 ${PYSITELIB}/setuptools/script.tmpl
-${PYSITELIB}/setuptools/site-patch.py
-${PYSITELIB}/setuptools/site-patch.pyc
-${PYSITELIB}/setuptools/site-patch.pyo
 ${PYSITELIB}/setuptools/ssl_support.py
 ${PYSITELIB}/setuptools/ssl_support.pyc
 ${PYSITELIB}/setuptools/ssl_support.pyo

Index: pkgsrc/devel/py-setuptools/distinfo
diff -u pkgsrc/devel/py-setuptools/distinfo:1.156 pkgsrc/devel/py-setuptools/distinfo:1.157
--- pkgsrc/devel/py-setuptools/distinfo:1.156   Mon Aug 31 23:06:02 2020
+++ pkgsrc/devel/py-setuptools/distinfo Wed Sep  2 21:42:18 2020
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.156 2020/08/31 23:06:02 wiz Exp $
+$NetBSD: distinfo,v 1.157 2020/09/02 21:42:18 wiz Exp $
 
-SHA1 (setuptools-47.3.2.zip) = 3fafd8bd0bd38ca7583b42c9a44c9ba562af4be6
-RMD160 (setuptools-47.3.2.zip) = 0fa7da65cf1f562f32a91dc08e5999ace1b44c8d
-SHA512 (setuptools-47.3.2.zip) = 9efe296b08f98a3b38e0650bf67f6ef6f6d2f41b88c2646c2f3e45ba4ab76e2171bd220979c3002cf08cf0d2dab135b13d0a38181102ed3f579ca88f84f59038
-Size (setuptools-47.3.2.zip) = 869998 bytes
+SHA1 (setuptools-50.0.1.zip) = 38c697fac7de77e14e29ff594bc739c03a101060
+RMD160 (setuptools-50.0.1.zip) = 468f2969b76a583a34c75a0fb843b69b60658db9
+SHA512 (setuptools-50.0.1.zip) = 8d8d008b586fe3782aea4a8ca109904be99490fc7bed1c8161f062d2c4594a94632c4f01b2933b5150e9f6b1336513e2c106e0a4a7a1a9a35ccb5257b7eb949a
+Size (setuptools-50.0.1.zip) = 2167767 bytes
 SHA1 (patch-setup.py) = dd94c9a4e15b8b0dc428515f73369ed168b8c7b2
+SHA1 (patch-setuptools___distutils_sysconfig.py) = a7b51250f81fcdb1263874f13be9e05daa19d956
+SHA1 (patch-setuptools___distutils_unixccompiler.py) = 0458b62ffed862c506c9181ed851b6a13f53aa30

Added files:

Index: pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_sysconfig.py
diff -u /dev/null pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_sysconfig.py:1.1
--- /dev/null   Wed Sep  2 21:42:18 2020
+++ pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_sysconfig.py        Wed Sep  2 21:42:18 2020
@@ -0,0 +1,28 @@
+$NetBSD: patch-setuptools___distutils_sysconfig.py,v 1.1 2020/09/02 21:42:18 wiz Exp $
+
+Remove _multiarch from config path (differs across platforms).
+Simplify _sysconfigdata to include only platform name.
+
+--- setuptools/_distutils/sysconfig.py.orig    2020-09-01 17:50:24.000000000 +0000
++++ setuptools/_distutils/sysconfig.py
+@@ -274,8 +274,6 @@ def get_makefile_filename():
+         return os.path.join(_sys_home or project_base, "Makefile")
+     lib_dir = get_python_lib(plat_specific=0, standard_lib=1)
+     config_file = 'config-{}{}'.format(get_python_version(), build_flags)
+-    if hasattr(sys.implementation, '_multiarch'):
+-        config_file += '-%s' % sys.implementation._multiarch
+     return os.path.join(lib_dir, config_file, 'Makefile')
+ 
+ 
+@@ -451,10 +449,8 @@ def _init_posix():
+     """Initialize the module as appropriate for POSIX systems."""
+     # _sysconfigdata is generated at build time, see the sysconfig module
+     name = os.environ.get('_PYTHON_SYSCONFIGDATA_NAME',
+-        '_sysconfigdata_{abi}_{platform}_{multiarch}'.format(
+-        abi=sys.abiflags,
++        '_sysconfigdata_{platform}'.format(
+         platform=sys.platform,
+-        multiarch=getattr(sys.implementation, '_multiarch', ''),
+     ))
+     try:
+         _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
Index: pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_unixccompiler.py
diff -u /dev/null pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_unixccompiler.py:1.1
--- /dev/null   Wed Sep  2 21:42:18 2020
+++ pkgsrc/devel/py-setuptools/patches/patch-setuptools___distutils_unixccompiler.py    Wed Sep  2 21:42:18 2020
@@ -0,0 +1,31 @@
+$NetBSD: patch-setuptools___distutils_unixccompiler.py,v 1.1 2020/09/02 21:42:18 wiz Exp $
+
+Do not force RUNPATH vs RPATH, trust the compiler to know what the
+platform wants.
+
+--- setuptools/_distutils/unixccompiler.py.orig        2020-09-01 17:50:24.000000000 +0000
++++ setuptools/_distutils/unixccompiler.py
+@@ -242,22 +242,7 @@ class UnixCCompiler(CCompiler):
+                 return ["-Wl,+s", "-L" + dir]
+             return ["+s", "-L" + dir]
+         else:
+-            if self._is_gcc(compiler):
+-                # gcc on non-GNU systems does not need -Wl, but can
+-                # use it anyway.  Since distutils has always passed in
+-                # -Wl whenever gcc was used in the past it is probably
+-                # safest to keep doing so.
+-                if sysconfig.get_config_var("GNULD") == "yes":
+-                    # GNU ld needs an extra option to get a RUNPATH
+-                    # instead of just an RPATH.
+-                    return "-Wl,--enable-new-dtags,-R" + dir
+-                else:
+-                    return "-Wl,-R" + dir
+-            else:
+-                # No idea how --enable-new-dtags would be passed on to
+-                # ld if this system was using GNU ld.  Don't know if a
+-                # system like this even exists.
+-                return "-R" + dir
++            return "-Wl,-R" + dir
+ 
+     def library_option(self, lib):
+         return "-l" + lib



Home | Main Index | Thread Index | Old Index