forked from pool/python-pip-api
- Update to 0.0.5:
* distribute tests and license OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-api?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
13cdc9817e
commit
30496e7739
@@ -18,16 +18,19 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pip-api
|
||||
Version: 0.0.4
|
||||
Version: 0.0.5
|
||||
Release: 0
|
||||
Summary: The official unofficial pip API
|
||||
License: unknown
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/di/pip-api
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pip-api/pip-api-%{version}.tar.gz
|
||||
BuildRequires: %{python_module packaging >= 16.1}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-packaging >= 16.1
|
||||
@@ -48,8 +51,16 @@ The official unofficial pip API.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# All the following download stuff using pip thus skip them:
|
||||
# test_installed_distributions
|
||||
# test_all_the_right_pips
|
||||
# test_isolation
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (test_installed_distributions or test_all_the_right_pips or test_isolation)'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user