From 30496e773987268ac9ff85891519187db8ef041834f681a10ef2efcee6f1d658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 22 Feb 2019 09:50:06 +0000 Subject: [PATCH] - 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 --- pip-api-0.0.4.tar.gz | 3 --- pip-api-0.0.5.tar.gz | 3 +++ python-pip-api.changes | 6 ++++++ python-pip-api.spec | 15 +++++++++++++-- 4 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 pip-api-0.0.4.tar.gz create mode 100644 pip-api-0.0.5.tar.gz diff --git a/pip-api-0.0.4.tar.gz b/pip-api-0.0.4.tar.gz deleted file mode 100644 index 3e087bf..0000000 --- a/pip-api-0.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2fdaf0a58a9a7e4ee9aff21e8a458c3bc0c7f454b9c44a13f4feed588921846d -size 5145 diff --git a/pip-api-0.0.5.tar.gz b/pip-api-0.0.5.tar.gz new file mode 100644 index 0000000..13daa67 --- /dev/null +++ b/pip-api-0.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86c3de0587b1dae50253d8b7359f22d0c9712b9fc21d3500bb002a757bb811b9 +size 12390 diff --git a/python-pip-api.changes b/python-pip-api.changes index 3e4ecae..5e3809e 100644 --- a/python-pip-api.changes +++ b/python-pip-api.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 22 09:31:58 UTC 2019 - Tomáš Chvátal + +- Update to 0.0.5: + * distribute tests and license + ------------------------------------------------------------------- Wed Feb 20 12:27:19 UTC 2019 - Tomáš Chvátal diff --git a/python-pip-api.spec b/python-pip-api.spec index 88e23cb..db96c72 100644 --- a/python-pip-api.spec +++ b/python-pip-api.spec @@ -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