From 627cdf9b5b16edc67b73cdab206d88de981d39e8 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 15 Aug 2016 16:18:34 +0200 Subject: [PATCH] Updated test sources to 8.1.2 --- .gitignore | 1 + python-pip.spec | 13 +++++++------ sources | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b4f825c..2153847 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ pip-0.7.2.tar.gz /pip-7.1.0-tests.tar.gz /pip-8.0.2.tar.gz /pip-8.1.2.tar.gz +/pip-8.1.2-tests.tar.gz diff --git a/python-pip.spec b/python-pip.spec index 1158836..f0e3a0a 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -22,7 +22,7 @@ Name: python-%{srcname} Version: 8.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A tool for installing and managing Python packages Group: Development/Libraries @@ -37,7 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # git clone https://github.com/pypa/pip && cd pip # git checkout 8.0.2 && tar -czvf pip-8.0.2-tests.tar.gz tests/ %if 0%{?with_tests} -Source1: pip-8.0.2-tests.tar.gz +Source1: pip-8.1.2-tests.tar.gz %endif # Patch until the following issue gets implemented upstream: @@ -58,6 +58,7 @@ BuildRequires: python-devel BuildRequires: python-setuptools %if 0%{?with_tests} BuildRequires: git +BuildRequires: bzr BuildRequires: python-mock BuildRequires: pytest BuildRequires: python-pretend @@ -208,7 +209,7 @@ sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips2/" \ %check py.test -m 'not network' pushd %{py3dir} -py.test-3.4 -m 'not network' +py.test-%{python3_version} -m 'not network' popd %endif @@ -216,9 +217,6 @@ popd %clean %{__rm} -rf %{buildroot} -# unfortunately, pip's test suite requires virtualenv >= 1.6 which isn't in -# fedora yet. Once it is, check can be implemented - %files -n python2-%{srcname} %defattr(-,root,root,-) @@ -251,6 +249,9 @@ popd %endif # with_python3 %changelog +* Fri Aug 05 2016 Tomas Orsava - 8.1.2-4 +- Updated the test sources + * Fri Aug 05 2016 Tomas Orsava - 8.1.2-3 - Moved python-pip into the python2-pip subpackage - Added the python_provide macro diff --git a/sources b/sources index efcb06b..71a12f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -87083c0b9867963b29f7aba3613e8f4a pip-8.1.2.tar.gz +e489edb75d6c23727731717d96003f2b pip-8.1.2-tests.tar.gz