update to 53.0.0 [release 53.0.0-1mamba;Mon Feb 01 2021]
This commit is contained in:
parent
715f213383
commit
6161b87f81
@ -1,5 +1,5 @@
|
|||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
Version: 51.0.0
|
Version: 53.0.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Download, build, install, upgrade and uninstall Python packages
|
Summary: Download, build, install, upgrade and uninstall Python packages
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
@ -7,61 +7,30 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://pypi.python.org/pypi/setuptools
|
URL: http://pypi.python.org/pypi/setuptools
|
||||||
Source: http://pypi.debian.net/setuptools/setuptools-%{version}.zip
|
Source: http://pypi.debian.net/setuptools/setuptools-%{version}.tar.gz
|
||||||
Source1: psfl.txt
|
Source1: psfl.txt
|
||||||
Source2: zpl.txt
|
Source2: zpl.txt
|
||||||
License: PSF, ZPL
|
License: PSF, ZPL
|
||||||
Requires: python >= %python_version
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel >= %python_version
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython3-devel >= 3.7.4
|
#Provides: python-distribute
|
||||||
Provides: python-distribute
|
#Obsoletes: python-distribute
|
||||||
Obsoletes: python-distribute
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
|
setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
|
||||||
This package contains the runtime components of setuptools, necessary to execute the software that requires pkg_resources.py.
|
This package contains the runtime components of setuptools, necessary to execute the software that requires pkg_resources.py.
|
||||||
|
|
||||||
%package devel
|
%if 0%{?with_pyver}
|
||||||
Summary: Download, build, install, upgrade and uninstall Python packages
|
%define py_requires_append \
|
||||||
Group: Development/Languages
|
Provides: python-setuptools-devel \
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Obsoletes: python-setuptools-devel <= 51.0.0-1mamba \
|
||||||
|
Provides: python-setuptools%{?pyappend:-%pyappend}-devel \
|
||||||
%description devel
|
Obsoletes: python-setuptools%{?pyappend:-%pyappend}-devel <= 51.0.0-1mamba
|
||||||
setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
|
%pyver_package
|
||||||
This package contains the components necessary to build and install software requiring setuptools.
|
|
||||||
|
|
||||||
%if "%?with_pyver"
|
|
||||||
%define pyver %{with_pyver}
|
|
||||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
||||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
||||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
||||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
||||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
||||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
||||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
||||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
||||||
|
|
||||||
%package py%{pyver}
|
|
||||||
Group: System/Libraries/Python
|
|
||||||
Summary: %{summary}
|
|
||||||
%py_requires
|
|
||||||
|
|
||||||
%description py%{pyver}
|
|
||||||
setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
|
|
||||||
This package contains the runtime components of setuptools, necessary to execute the software that requires pkg_resources.py.
|
|
||||||
|
|
||||||
%package py%{pyver}-devel
|
|
||||||
Group: System/Libraries/Python
|
|
||||||
Summary: %{summary}
|
|
||||||
Requires: %{name}-py%{pyver} = %{?epoch:%epoch:}%{version}-%{release}
|
|
||||||
|
|
||||||
%description py%{pyver}-devel
|
|
||||||
setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
|
|
||||||
This package contains the components necessary to build and install software requiring setuptools.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -81,7 +50,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i '\,\.egg-info/,d' %{name}.filelist
|
#sed -i '\,\.egg-info/,d' %{name}.filelist
|
||||||
|
|
||||||
install -p -m 0644 %{S:1} %{S:2} .
|
install -p -m 0644 %{S:1} %{S:2} .
|
||||||
|
|
||||||
@ -91,18 +60,22 @@ sed -i '\,\.exe$,d;\,/tests/,d' %{name}.filelist
|
|||||||
|
|
||||||
chmod +x %{buildroot}%{python_sitearch}/setuptools/command/easy_install.py
|
chmod +x %{buildroot}%{python_sitearch}/setuptools/command/easy_install.py
|
||||||
|
|
||||||
|
%if "%{?pyappend}" != "py3"
|
||||||
|
rm -f %{buildroot}%{_bindir}/easy_install
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%if "%?with_pyver"
|
%files %{?pyappend}
|
||||||
%files py%{pyver}
|
|
||||||
%else
|
|
||||||
%files
|
|
||||||
%endif
|
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
#%{_bindir}/easy_install*
|
||||||
|
#%{python_sitearch}/easy_install*
|
||||||
|
#%if 0%{?with_pyver}
|
||||||
|
#%{python_sitearch}/__pycache__/easy_install.cpython-*.pyc
|
||||||
|
#%endif
|
||||||
%dir %{python_sitearch}/setuptools
|
%dir %{python_sitearch}/setuptools
|
||||||
%{python_sitearch}/setuptools/*
|
%{python_sitearch}/setuptools/*
|
||||||
#%{python_sitearch}/_markerlib/*
|
|
||||||
%dir %{python_sitearch}/pkg_resources
|
%dir %{python_sitearch}/pkg_resources
|
||||||
%{python_sitearch}/pkg_resources/*
|
%{python_sitearch}/pkg_resources/*
|
||||||
%dir %{python_sitearch}/_distutils_hack
|
%dir %{python_sitearch}/_distutils_hack
|
||||||
@ -111,21 +84,10 @@ chmod +x %{buildroot}%{python_sitearch}/setuptools/command/easy_install.py
|
|||||||
%dir %{python_sitearch}/setuptools-%{version}-py%{python_version}.egg-info
|
%dir %{python_sitearch}/setuptools-%{version}-py%{python_version}.egg-info
|
||||||
%{python_sitearch}/setuptools-%{version}-py%{python_version}.egg-info/*
|
%{python_sitearch}/setuptools-%{version}-py%{python_version}.egg-info/*
|
||||||
|
|
||||||
%if "%?with_pyver"
|
|
||||||
%files py%{pyver}-devel
|
|
||||||
%else
|
|
||||||
%files devel
|
|
||||||
%endif
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/easy_install*
|
|
||||||
%{python_sitearch}/easy_install*
|
|
||||||
%if "%?with_pyver"
|
|
||||||
%{python_sitearch}/__pycache__/easy_install.cpython-*.pyc
|
|
||||||
%endif
|
|
||||||
#%doc README.txt
|
|
||||||
#%doc psfl.txt zpl.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 53.0.0-1mamba
|
||||||
|
- update to 53.0.0
|
||||||
|
|
||||||
* Wed Dec 16 2020 Automatic Build System <autodist@mambasoft.it> 51.0.0-1mamba
|
* Wed Dec 16 2020 Automatic Build System <autodist@mambasoft.it> 51.0.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user