pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-setuptools py-setuptools: updated to 54.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce16194d7c75
branches:  trunk
changeset: 449658:ce16194d7c75
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 03 07:32:26 2021 +0000

description:
py-setuptools: updated to 54.2.0

v54.1.2

Misc
* Reduced scope of dash deprecation warning to Setuptools/distutils only -- by :user:`melissa-kun-li`

v54.1.1

Documentation changes
* Added sphinx-inline-tabs extension to allow for comparison of setup.py and its equivalent setup.cfg -- by :user:`amy-lei`

Misc
* Made option keys in the [metadata] section of setup.cfg case-sensitive. Users having uppercase option spellings will get a warning suggesting to make them to lowercase -- by :user:`melissa-kun-li`

v54.1.0

Changes
* Removed the conversion of dashes to underscores in the extras_require and data_files of setup.cfg to support the usage of dashes. Method will warn users when they use a dash-separated key which in 
the future will only allow an underscore. Note: the method performs the dash to underscore conversion to preserve compatibility, but future versions will no longer support it -- by 
:user:`melissa-kun-li`

v54.0.0

Breaking Changes
* Simplified build-from-source story by providing bootstrapping metadata in a separate egg-info directory. Build requirements no longer include setuptools itself. Sdist once again includes the 
pyproject.toml. Project can no longer be installed from source on pip 19.x, but install from source is still supported on pip < 19 and pip >= 20 and install from wheel is still supported with pip >= 
9.

Changes
* Handled AttributeError by raising DistutilsSetupError in dist.check_specifier() when specifier is not a string -- by :user:`melissa-kun-li`
* Correctly parse cmdclass in setup.cfg.

Documentation changes
* Added userguide example for markers in extras_require -- by :user:`pwoolvett`

v53.1.0

Changes
* Preserved case-sensitivity of keys in setup.cfg so that entry point names are case-sensitive. Changed sensitivity of configparser. NOTE: Any projects relying on case-insensitivity will need to 
adapt to accept the original case as published. -- by :user:`melissa-kun-li`
* Fixed error in uploading a Sphinx doc with the upload_docs command. An html builder will be used. Note: upload_docs is deprecated for PyPi, but is supported for other sites -- by 
:user:`melissa-kun-li`

v53.0.0

Breaking Changes
* Removed bootstrap script. Now Setuptools requires pip or another pep517-compliant builder such as 'build' to build. Now Setuptools can be installed from Github main branch.

v52.0.0

Breaking Changes
* Remove fallback support for fetch_build_eggs using easy_install. Now pip is required for setup_requires to succeed.
* Removed 'easy_install' top-level model (runpy entry point) and 'easy_install' console script.
* Removed support for eggsecutables.

Changes
* Tests now run in parallel via pytest-xdist, completing in about half the time. Special thanks to :user:`webknjaz` for hard work implementing test isolation. To run without parallelization, disable 
the plugin with tox -- -p no:xdist.

diffstat:

 devel/py-setuptools/Makefile               |   7 ++-----
 devel/py-setuptools/PLIST                  |   6 +-----
 devel/py-setuptools/distinfo               |  11 +++++------
 devel/py-setuptools/patches/patch-setup.py |  16 ----------------
 4 files changed, 8 insertions(+), 32 deletions(-)

diffs (83 lines):

diff -r c87c600d84c3 -r ce16194d7c75 devel/py-setuptools/Makefile
--- a/devel/py-setuptools/Makefile      Sat Apr 03 07:09:45 2021 +0000
+++ b/devel/py-setuptools/Makefile      Sat Apr 03 07:32:26 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.183 2021/01/18 16:02:31 adam Exp $
+# $NetBSD: Makefile,v 1.184 2021/04/03 07:32:26 adam Exp $
 
 # 48.0.0 and newer are broken on NetBSD
 # https://github.com/pypa/setuptools/issues/2364
-DISTNAME=      setuptools-51.3.3
+DISTNAME=      setuptools-54.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools/}
@@ -23,10 +23,7 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-REPLACE_PYTHON+=       setuptools/command/easy_install.py
-
 PYSETUPTESTTARGET=     pytest
 
-.include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c87c600d84c3 -r ce16194d7c75 devel/py-setuptools/PLIST
--- a/devel/py-setuptools/PLIST Sat Apr 03 07:09:45 2021 +0000
+++ b/devel/py-setuptools/PLIST Sat Apr 03 07:32:26 2021 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.53 2021/01/18 16:02:31 adam Exp $
-bin/easy_install-${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.54 2021/04/03 07:32:26 adam Exp $
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
@@ -13,9 +12,6 @@
 ${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
 ${PYSITELIB}/pkg_resources/__init__.py
 ${PYSITELIB}/pkg_resources/__init__.pyc
 ${PYSITELIB}/pkg_resources/__init__.pyo
diff -r c87c600d84c3 -r ce16194d7c75 devel/py-setuptools/distinfo
--- a/devel/py-setuptools/distinfo      Sat Apr 03 07:09:45 2021 +0000
+++ b/devel/py-setuptools/distinfo      Sat Apr 03 07:32:26 2021 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.161 2021/01/18 16:02:31 adam Exp $
+$NetBSD: distinfo,v 1.162 2021/04/03 07:32:26 adam Exp $
 
-SHA1 (setuptools-51.3.3.tar.gz) = fa2f1ed181c619bd4138f4b0a0d65e5fd728e5ba
-RMD160 (setuptools-51.3.3.tar.gz) = e7ae7b7c6e5b16fa19747890848e7b924fabea63
-SHA512 (setuptools-51.3.3.tar.gz) = 5a3572466a68c6f650111448ce3343f64c62044650bb8635edbff97e2bc7b216b8bbe3b4e3bccf34e6887f3bedc911b27ca5f9a515201cae49cf44fbacf03345
-Size (setuptools-51.3.3.tar.gz) = 2053035 bytes
-SHA1 (patch-setup.py) = dd94c9a4e15b8b0dc428515f73369ed168b8c7b2
+SHA1 (setuptools-54.2.0.tar.gz) = 85a4e10d3551a7bce28a4e6ef05580242c160717
+RMD160 (setuptools-54.2.0.tar.gz) = ae5bb69994c6a1772959c764f061621d6c9fa2f4
+SHA512 (setuptools-54.2.0.tar.gz) = b18cd075cf59b8648611eef1874de41199ede6ffe6d7f5047586c6ac8783fe18b9a4f537783e590e7aec127033f612b93925e92f039bd6416a609fcfb262e354
+Size (setuptools-54.2.0.tar.gz) = 2054279 bytes
 SHA1 (patch-setuptools___distutils_sysconfig.py) = a7b51250f81fcdb1263874f13be9e05daa19d956
 SHA1 (patch-setuptools___distutils_unixccompiler.py) = 0458b62ffed862c506c9181ed851b6a13f53aa30
diff -r c87c600d84c3 -r ce16194d7c75 devel/py-setuptools/patches/patch-setup.py
--- a/devel/py-setuptools/patches/patch-setup.py        Sat Apr 03 07:09:45 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-setup.py,v 1.4 2017/01/26 18:09:19 adam Exp $
-
-Do not install easy_install without python version suffix to allow
-parallel installation of this package for multiple python versions.
-
---- setup.py.orig      2016-07-14 05:17:28.000000000 +0000
-+++ setup.py
-@@ -30,7 +30,7 @@ scripts = []
- 
- 
- def _gen_console_scripts():
--    yield "easy_install = setuptools.command.easy_install:main"
-+    yield ""
- 
-     # Gentoo distributions manage the python-version-specific scripts
-     # themselves, so those platforms define an environment variable to



Home | Main Index | Thread Index | Old Index