14
0
forked from pool/python-wheel

Accepting request 641841 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/641841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=28
This commit is contained in:
Todd R
2018-10-13 20:47:47 +00:00
committed by Git OBS Bridge
parent 57ad5ed08c
commit aa4c434b90
4 changed files with 36 additions and 9 deletions

View File

@@ -12,14 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
Name: python-wheel
Version: 0.31.1
Version: 0.32.1
Release: 0
Summary: A built-package format for Python
License: MIT
@@ -74,7 +74,6 @@ The reference implementation is at http://bitbucket.org/dholth/wheel/
%prep
%setup -q -n wheel-%{version}
sed -i '1s/^#!.*//' wheel/wininst2wheel.py wheel/egg2wheel.py
%build
%python_build
@@ -86,8 +85,6 @@ sed -i '1s/^#!.*//' wheel/wininst2wheel.py wheel/egg2wheel.py
%check
export LC_ALL=en_US.utf8
# Requires keyrings.alt
rm tests/test_tool.py
%{python_expand rm -rf _build.python2 _build.python3
PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}
rm -rf %{buildroot}%{$python_sitelib}/wheel/test/headers.dist}
@@ -99,7 +96,7 @@ rm -rf %{buildroot}%{$python_sitelib}/wheel/test/headers.dist}
%python_uninstall_alternative wheel
%files %{python_files}
%doc CHANGES.txt README.rst
%doc docs/news.rst README.rst
%license LICENSE.txt
%python_alternative %{_bindir}/wheel
%{python_sitelib}/wheel-%{version}-py%{python_version}.egg-info