From 1f1ebc325ad4b79b6f4ab6b919a24477aa101e5128783fd9d1785a6ef8fd2f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 4 Feb 2020 14:34:09 +0000 Subject: [PATCH] - update to 44.0.0 - last version with python2 support - add testdata.tar.gz -> missing data for testsuite * Drop support for Python 3.4. * include pyproject.toml in source distribution by default. Projects relying on the previous behavior where pyproject.toml * Setuptools once again declares 'setuptools' in the build-system.requires and adds PEP 517 build support by declaring itself as the build-backend * Fix support for easy_install's find-links option in setup.cfg * Build dependencies (setup_requires and tests_require) now install transitive dependencies indicated by extras. * Mark the easy_install script and setuptools command as deprecated, and use pip when available to fetch/build wheels for missing setup_requires/tests_require requirements, with the following differences in behavior: + support for python_requires + better support for wheels (proper handling of priority with respect to PEP 425 tags) + PEP 517/518 support + eggs are not supported + no support for the allow_hosts easy_install option (index_url/find_links are still honored) + pip environment variables are honored (and take precedence over easy_install options) * Removed the "upload" and "register" commands in favor of twine. * Add support for the license_files option in setup.cfg to automatically include multiple license files in a source distribution. * Update handling of wheels compatibility tags: * add support for manylinux2010 * fix use of removed 'm' ABI flag in Python 3.8 on Windows * Fix empty namespace package installation from wheel. * Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options", enabling plugins like setuptools_scm to configure options on the distribution at finalization time. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=189 --- python-setuptools.changes | 33 +++++++++++++++++++++++++++++++++ python-setuptools.spec | 6 ++++-- setuptools-41.6.0.zip | 3 --- setuptools-44.0.0.zip | 3 +++ testdata.tar.gz | 3 +++ 5 files changed, 43 insertions(+), 5 deletions(-) delete mode 100644 setuptools-41.6.0.zip create mode 100644 setuptools-44.0.0.zip create mode 100644 testdata.tar.gz diff --git a/python-setuptools.changes b/python-setuptools.changes index 5b3df73..12c2637 100644 --- a/python-setuptools.changes +++ b/python-setuptools.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Tue Feb 4 14:29:34 UTC 2020 - Ondřej Súkup + +- update to 44.0.0 +- last version with python2 support +- add testdata.tar.gz -> missing data for testsuite + * Drop support for Python 3.4. + * include pyproject.toml in source distribution by default. + Projects relying on the previous behavior where pyproject.toml + * Setuptools once again declares 'setuptools' in the build-system.requires + and adds PEP 517 build support by declaring itself as the build-backend + * Fix support for easy_install's find-links option in setup.cfg + * Build dependencies (setup_requires and tests_require) now install transitive + dependencies indicated by extras. + * Mark the easy_install script and setuptools command as deprecated, and use + pip when available to fetch/build wheels for missing setup_requires/tests_require + requirements, with the following differences in behavior: + + support for python_requires + + better support for wheels (proper handling of priority with respect to PEP 425 tags) + + PEP 517/518 support + + eggs are not supported + + no support for the allow_hosts easy_install option (index_url/find_links are still honored) + + pip environment variables are honored (and take precedence over easy_install options) + * Removed the "upload" and "register" commands in favor of twine. + * Add support for the license_files option in setup.cfg to automatically + include multiple license files in a source distribution. + * Update handling of wheels compatibility tags: * add support for manylinux2010 + * fix use of removed 'm' ABI flag in Python 3.8 on Windows + * Fix empty namespace package installation from wheel. + * Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options", + enabling plugins like setuptools_scm to configure options on the distribution + at finalization time. + ------------------------------------------------------------------- Mon Nov 11 12:47:57 UTC 2019 - Ondřej Súkup diff --git a/python-setuptools.spec b/python-setuptools.spec index c7b895f..84808a2 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-setuptools%{psuffix} -Version: 41.6.0 +Version: 44.0.0 Release: 0 Summary: Enhancements to distutils for building and distributing Python packages License: Python-2.0 OR ZPL-2.0 @@ -35,6 +35,7 @@ URL: https://github.com/pypa/setuptools Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.zip Source1: psfl.txt Source2: zpl.txt +Source3: testdata.tar.gz Patch0: sort-for-reproducibility.patch Patch1: importlib.patch BuildRequires: %{python_module appdirs} @@ -87,6 +88,7 @@ especially ones that have dependencies on other packages. %prep %setup -q -n setuptools-%{version} +tar -xzvf %{SOURCE3} %patch0 -p1 %patch1 -p1 find . -type f -name "*.orig" -delete diff --git a/setuptools-41.6.0.zip b/setuptools-41.6.0.zip deleted file mode 100644 index d26e7cc..0000000 --- a/setuptools-41.6.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6afa61b391dcd16cb8890ec9f66cc4015a8a31a6e1c2b4e0c464514be1a3d722 -size 852541 diff --git a/setuptools-44.0.0.zip b/setuptools-44.0.0.zip new file mode 100644 index 0000000..dcb54f3 --- /dev/null +++ b/setuptools-44.0.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5baf7723e5bb8382fc146e33032b241efc63314211a3a120aaa55d62d2bb008 +size 858893 diff --git a/testdata.tar.gz b/testdata.tar.gz new file mode 100644 index 0000000..6ac88e6 --- /dev/null +++ b/testdata.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b627ac8b927edfbd4154fb31316e700c678017c3b04e6c5452a1ba03eacb00e +size 1618