SHA256
1
0
forked from pool/python-wheel

Accepting request 546022 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/546022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wheel?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2017-11-30 11:44:45 +00:00 committed by Git OBS Bridge
commit 9bdad43408
4 changed files with 23 additions and 11 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Nov 27 13:00:03 UTC 2017 - idonmez@suse.com
- Fix homepage
- Resync the upstream tarball
-------------------------------------------------------------------
Sat Oct 14 21:17:28 UTC 2017 - t.gruner@katodev.de
- update to 0.30.0
-------------------------------------------------------------------
Fri Aug 11 14:12:36 UTC 2017 - sebix+novell.com@sebix.at

View File

@ -19,15 +19,16 @@
%{?!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
Group: Development/Languages/Python
Url: http://bitbucket.org/pypa/wheel/
Source: https://files.pythonhosted.org/packages/source/w/wheel/wheel-%{version}.tar.gz
Url: https://github.com/pypa/wheel
Source: https://github.com/pypa/wheel/archive/%{version}.tar.gz#/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,14 +85,14 @@ 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
}
rm -rf %{buildroot}%{$python_sitelib}/wheel/test/headers.dist}
%post
%python_install_alternative wheel
@ -100,7 +101,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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648
size 54143

3
wheel-0.30.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7d8bb20814a39f1c6e7efa820c53cbf51f4d6e561bb29f53d5555a5d4e0ce8a
size 68152