15
0

- update to 0.0.10

- add unvendor.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-api?expand=0&rev=6
This commit is contained in:
2019-06-07 15:30:24 +00:00
committed by Git OBS Bridge
parent eef61b8a9f
commit b03059a837
5 changed files with 75 additions and 5 deletions

View File

@@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pip-api
Version: 0.0.8
Version: 0.0.10
Release: 0
Summary: The official unofficial pip API
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
Patch0: unvendor.patch
BuildRequires: %{python_module packaging >= 16.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pretend}
@@ -43,6 +44,8 @@ The official unofficial pip API.
%prep
%setup -q -n pip-api-%{version}
%patch0 -p1
rm -Rf ./pip_api/_vendor
%build
%python_build
@@ -56,7 +59,7 @@ The official unofficial pip API.
# 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)'
%pytest -v -k 'not (test_installed_distributions or test_all_the_right_pips or test_isolation)'
%files %{python_files}
%doc README.md