14
0

Accepting request 545910 from home:mimi_vx:branches:devel:languages:python

- update to 38.2.1
 *  fix encoding handling of metadata when installing from a wheel

OBS-URL: https://build.opensuse.org/request/show/545910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=124
This commit is contained in:
2017-11-27 09:57:16 +00:00
committed by Git OBS Bridge
parent 4836780049
commit aa04046831
4 changed files with 15 additions and 12 deletions

View File

@@ -19,13 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-setuptools
Version: 38.2.0
Version: 38.2.1
Release: 0
Summary: Download, build, install, upgrade, and uninstall Python packages
License: Python-2.0 or ZPL-2.0
License: Python-2.0 OR ZPL-2.0
Group: Development/Languages/Python
Url: https://github.com/pypa/setuptools
Source: https://pypi.io/packages/source/s/setuptools/setuptools-%{version}.zip
Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.zip
Source1: psfl.txt
Source2: zpl.txt
BuildRequires: %{python_module appdirs}
@@ -42,17 +42,16 @@ Requires: python-appdirs
Requires: python-packaging
Requires: python-six
Requires: python-xml
Recommends: ca-certificates-mozilla
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: ca-certificates-mozilla
BuildArch: noarch
# NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute
# obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again
%ifpython2
Provides: %{oldpython}-distribute = %{version}
Obsoletes: %{oldpython}-distribute < %{version}
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -60,7 +59,6 @@ setuptools is a collection of enhancements to the Python distutils that
allow you to build and distribute Python packages,
especially ones that have dependencies on other packages.
%prep
%setup -q -n setuptools-%{version}
find . -type f -name "*.orig" -delete
@@ -95,8 +93,7 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py
%postun
%python_uninstall_alternative easy_install
%files %python_files
%defattr(-,root,root,-)
%files %{python_files}
%doc CHANGES.rst README.rst
%python_alternative %{_bindir}/easy_install
%{python_sitelib}/setuptools