forked from pool/python-wheel
Accepting request 534350 from home:Simmphonie:python
- update to 0.30.0 OBS-URL: https://build.opensuse.org/request/show/534350 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=23
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{!?license: %global license %doc}
|
||||
Name: python-wheel
|
||||
Version: 0.29.0
|
||||
Version: 0.30.0
|
||||
Release: 0
|
||||
Summary: A built-package format for Python
|
||||
License: MIT
|
||||
@@ -28,6 +28,7 @@ Url: http://bitbucket.org/pypa/wheel/
|
||||
Source: https://files.pythonhosted.org/packages/source/w/wheel/wheel-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test
|
||||
BuildRequires: %{python_module cov-core >= 1.6}
|
||||
@@ -50,7 +51,7 @@ Recommends: python-keyrings.alt
|
||||
Recommends: python-pyxdg
|
||||
BuildArch: noarch
|
||||
|
||||
%{python_subpackages}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A built-package format for Python.
|
||||
@@ -84,10 +85,11 @@ sed -i '1s/^#!.*//' wheel/wininst2wheel.py wheel/egg2wheel.py
|
||||
%install
|
||||
%{python_install}
|
||||
%python_clone -a %{buildroot}%{_bindir}/wheel
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Requires keyrings.alt
|
||||
rm wheel/test/test_tool.py
|
||||
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
|
||||
@@ -100,7 +102,7 @@ rm -rf %{buildroot}%{$python_sitelib}/wheel/test/headers.dist
|
||||
%python_uninstall_alternative wheel
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.txt README.txt
|
||||
%doc CHANGES.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%python_alternative %{_bindir}/wheel
|
||||
%{python_sitelib}/wheel-%{version}-py%{python_version}.egg-info
|
||||
|
||||
Reference in New Issue
Block a user