[packages/python3-setuptools] - up to 62.0.0
baggins
baggins at pld-linux.org
Sat Apr 9 10:58:55 CEST 2022
commit a57a3e114cf32b64d079da12d53c84466062e786
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 9 10:55:54 2022 +0200
- up to 62.0.0
no-intersphinx-downloads.patch | 44 ++++++++++++++++++++++++++++++++++++++++++
python3-setuptools.spec | 15 +++++++++-----
2 files changed, 54 insertions(+), 5 deletions(-)
---
diff --git a/python3-setuptools.spec b/python3-setuptools.spec
index 0fa3cb0..828143f 100644
--- a/python3-setuptools.spec
+++ b/python3-setuptools.spec
@@ -16,14 +16,14 @@
Summary: A collection of enhancements to the Python distutils
Summary(pl.UTF-8): Zestaw rozszerzeń dla pythonowych distutils
Name: python3-setuptools
-Version: 54.2.0
-Release: 3
+Version: 62.0.0
+Release: 0.1
Epoch: 1
License: MIT
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/setuptools/
-Source0: https://files.pythonhosted.org/packages/source/s/setuptools/%{pypi_name}-%{version}.tar.gz
-# Source0-md5: 09f693b5d5ca8bf4fdb1da82f8110a9c
+Source0: https://github.com/pypa/setuptools/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5: 7f932b83c8c74751a2f1e60cd569189b
Patch0: setuptools-missing.patch
URL: https://github.com/pypa/setuptools
%if %(locale -a | grep -q '^C\.utf8$'; echo $?)
@@ -61,13 +61,18 @@ BuildRequires: python3-wheel
%endif
%if %{with apidocs}
BuildRequires: python3-Sphinx
+BuildRequires: python3-furo
BuildRequires: python3-jaraco
BuildRequires: python3-jaraco.packaging >= 8.2
+BuildRequires: python3-jaraco.tidelift
BuildRequires: python3-rst.linker >= 1.9
# specified but not required(?)
#BuildRequires: python3-pygments-github-lexers >= 0.0.5
BuildRequires: python3-setuptools >= 1:34
+BuildRequires: python3-sphinx_favicon
BuildRequires: python3-sphinx_inline_tabs
+BuildRequires: python3-sphinxcontrib-towncrier
+BuildRequires: python3-toml
BuildRequires: python3-wheel
%endif
%{!?with_bootstrap:BuildRequires: rpm-pythonprov}
@@ -142,7 +147,7 @@ rm -rf $RPM_BUILD_ROOT
%{py3_sitescriptdir}/distutils-precedence.pth
%{py3_sitescriptdir}/pkg_resources
%{py3_sitescriptdir}/setuptools
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py3_sitescriptdir}/%{module}-%{version}*py*.egg-info
%if %{with apidocs}
%files apidocs
diff --git a/no-intersphinx-downloads.patch b/no-intersphinx-downloads.patch
new file mode 100644
index 0000000..9afc045
--- /dev/null
+++ b/no-intersphinx-downloads.patch
@@ -0,0 +1,44 @@
+--- setuptools-62.0.0/docs/conf.py.orig 2022-04-04 12:27:45.000000000 +0200
++++ setuptools-62.0.0/docs/conf.py 2022-04-09 10:50:38.582612780 +0200
+@@ -84,17 +84,6 @@
+ # Be strict about any broken references:
+ nitpicky = True
+
+-# Include Python intersphinx mapping to prevent failures
+-# jaraco/skeleton#51
+-extensions += ['sphinx.ext.intersphinx']
+-intersphinx_mapping = {
+- 'python': ('https://docs.python.org/3', None),
+-}
+-
+-intersphinx_mapping.update({
+- 'pypa-build': ('https://pypa-build.readthedocs.io/en/latest/', None)
+-})
+-
+ # Add support for linking usernames
+ github_url = 'https://github.com'
+ github_repo_org = 'pypa'
+@@ -170,12 +159,6 @@
+ ('py:mod', 'docutils'), # there's no Sphinx site documenting this
+ ]
+
+-# Allow linking objects on other Sphinx sites seamlessly:
+-intersphinx_mapping.update(
+- python2=('https://docs.python.org/2', None),
+- python=('https://docs.python.org/3', None),
+-)
+-
+ # Add support for the unreleased "next-version" change notes
+ extensions += ['sphinxcontrib.towncrier']
+ # Extension needs a path from here to the towncrier config.
+@@ -206,10 +189,3 @@
+ },
+ # rel="apple-touch-icon" does not support SVG yet
+ ]
+-
+-intersphinx_mapping['pip'] = 'https://pip.pypa.io/en/latest', None
+-intersphinx_mapping['PyPUG'] = ('https://packaging.python.org/en/latest/', None)
+-intersphinx_mapping['packaging'] = ('https://packaging.pypa.io/en/latest/', None)
+-intersphinx_mapping['importlib-resources'] = (
+- 'https://importlib-resources.readthedocs.io/en/latest', None
+-)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-setuptools.git/commitdiff/a57a3e114cf32b64d079da12d53c84466062e786
More information about the pld-cvs-commit
mailing list