Update to 40.4.3
- fix dire DeprecationWarnings (#1627071) - list vendored libraries, adjust license
This commit is contained in:
parent
7b33de4867
commit
818fa29740
1
.gitignore
vendored
1
.gitignore
vendored
@ -91,3 +91,4 @@
|
||||
/setuptools-39.0.1.zip
|
||||
/setuptools-39.2.0.zip
|
||||
/setuptools-40.4.1.zip
|
||||
/setuptools-40.4.3.zip
|
||||
|
@ -17,14 +17,17 @@
|
||||
%global python_wheeldir %{_datadir}/python-wheels
|
||||
|
||||
Name: python-setuptools
|
||||
Version: 40.4.1
|
||||
# When updating, update the bundled libraries versions bellow!
|
||||
Version: 40.4.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Easily build and distribute Python packages
|
||||
|
||||
Group: Applications/System
|
||||
License: MIT
|
||||
# setuptools is MIT
|
||||
# packaging is BSD or ASL 2.0
|
||||
# pyparsing is MIT
|
||||
# six is MIT
|
||||
License: MIT and (BSD or ASL 2.0)
|
||||
URL: https://pypi.python.org/pypi/%{srcname}
|
||||
Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.zip
|
||||
Source0: %{pypi_source %{srcname} %{version} zip}
|
||||
|
||||
# In Fedora, sudo setup.py install installs to /usr/local/lib/pythonX.Y/site-packages
|
||||
# But pythonX doesn't own that dir, that would be against FHS
|
||||
@ -78,11 +81,19 @@ have dependencies on other packages.
|
||||
This package also contains the runtime components of setuptools, necessary to
|
||||
execute the software that requires pkg_resources.py.
|
||||
|
||||
# Virtual provides for the packages bundled by setuptools.
|
||||
# You can find the versions in setuptools/setuptools/_vendor/vendored.txt
|
||||
%global bundled() %{expand:
|
||||
Provides: bundled(python%{1}dist(packaging)) = 16.8
|
||||
Provides: bundled(python%{1}dist(pyparsing)) = 2.2.1
|
||||
Provides: bundled(python%{1}dist(six)) = 1.10.0
|
||||
}
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-setuptools
|
||||
Summary: Easily build and distribute Python packages
|
||||
%{?python_provide:%python_provide python2-setuptools}
|
||||
%{bundled 2}
|
||||
|
||||
%description -n python2-setuptools
|
||||
Setuptools is a collection of enhancements to the Python distutils that allow
|
||||
@ -97,9 +108,9 @@ execute the software that requires pkg_resources.py.
|
||||
|
||||
%package -n python3-setuptools
|
||||
Summary: Easily build and distribute Python 3 packages
|
||||
Group: Applications/System
|
||||
%{?python_provide:%python_provide python3-setuptools}
|
||||
Obsoletes: platform-python-setuptools < %{version}-%{release}
|
||||
%{bundled 3}
|
||||
|
||||
%description -n python3-setuptools
|
||||
Setuptools is a collection of enhancements to the Python 3 distutils that allow
|
||||
@ -112,6 +123,8 @@ execute the software that requires pkg_resources.py.
|
||||
%if %{without bootstrap}
|
||||
%package wheel
|
||||
Summary: The setuptools wheel
|
||||
%{bundled 2}
|
||||
%{bundled 3}
|
||||
|
||||
%description wheel
|
||||
A Python wheel of setuptools to use with venv.
|
||||
@ -245,6 +258,11 @@ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(pwd) py.test-%{python3_version} --ignore=
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Sep 24 2018 Miro Hrončok <mhroncok@redhat.com> - 40.4.3-1
|
||||
- Update to 40.4.3 to fix dire DeprecationWarnings (#1627071)
|
||||
- List vendored libraries
|
||||
- https://github.com/pypa/setuptools/blob/v40.4.3/CHANGES.rst
|
||||
|
||||
* Wed Sep 19 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 40.4.1-1
|
||||
- Update to 40.4.1 (#1599307).
|
||||
- https://github.com/pypa/setuptools/blob/v40.4.1/CHANGES.rst
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (setuptools-40.4.1.zip) = 36e26eabda1c205e051cc1100c7568064b52a4dfec0992743bcfb50350097f9bc82cb9f566980ca764ada036a2e25482123b6fc5c0688cbd09427cf46988c46a
|
||||
SHA512 (setuptools-40.4.3.zip) = ff4c0bb4a238a8788c533a8f22851e6b59b258c3096fba68a09e7450baf1ee47f47f86bfcd7339133b0445ec6b61fc7f0c08d7d6c4d2b231c29b724aa83d5998
|
||||
|
Loading…
Reference in New Issue
Block a user