Updated test sources to 8.1.2

This commit is contained in:
Tomas Orsava 2016-08-15 16:18:34 +02:00
parent 47ea835c80
commit 627cdf9b5b
3 changed files with 9 additions and 7 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ pip-0.7.2.tar.gz
/pip-7.1.0-tests.tar.gz /pip-7.1.0-tests.tar.gz
/pip-8.0.2.tar.gz /pip-8.0.2.tar.gz
/pip-8.1.2.tar.gz /pip-8.1.2.tar.gz
/pip-8.1.2-tests.tar.gz

View File

@ -22,7 +22,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 8.1.2 Version: 8.1.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: A tool for installing and managing Python packages Summary: A tool for installing and managing Python packages
Group: Development/Libraries 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 clone https://github.com/pypa/pip && cd pip
# git checkout 8.0.2 && tar -czvf pip-8.0.2-tests.tar.gz tests/ # git checkout 8.0.2 && tar -czvf pip-8.0.2-tests.tar.gz tests/
%if 0%{?with_tests} %if 0%{?with_tests}
Source1: pip-8.0.2-tests.tar.gz Source1: pip-8.1.2-tests.tar.gz
%endif %endif
# Patch until the following issue gets implemented upstream: # Patch until the following issue gets implemented upstream:
@ -58,6 +58,7 @@ BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
%if 0%{?with_tests} %if 0%{?with_tests}
BuildRequires: git BuildRequires: git
BuildRequires: bzr
BuildRequires: python-mock BuildRequires: python-mock
BuildRequires: pytest BuildRequires: pytest
BuildRequires: python-pretend BuildRequires: python-pretend
@ -208,7 +209,7 @@ sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips2/" \
%check %check
py.test -m 'not network' py.test -m 'not network'
pushd %{py3dir} pushd %{py3dir}
py.test-3.4 -m 'not network' py.test-%{python3_version} -m 'not network'
popd popd
%endif %endif
@ -216,9 +217,6 @@ popd
%clean %clean
%{__rm} -rf %{buildroot} %{__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} %files -n python2-%{srcname}
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -251,6 +249,9 @@ popd
%endif # with_python3 %endif # with_python3
%changelog %changelog
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-4
- Updated the test sources
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3 * Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3
- Moved python-pip into the python2-pip subpackage - Moved python-pip into the python2-pip subpackage
- Added the python_provide macro - Added the python_provide macro

View File

@ -1 +1 @@
87083c0b9867963b29f7aba3613e8f4a pip-8.1.2.tar.gz e489edb75d6c23727731717d96003f2b pip-8.1.2-tests.tar.gz