- Run testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=12
This commit is contained in:
parent
ec2c5be977
commit
eaf11dd8ba
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 31 14:11:43 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Run testsuite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 5 12:31:47 UTC 2011 - saschpe@suse.de
|
Mon Dec 5 12:31:47 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -26,9 +26,10 @@ Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
|
BuildRequires: python-nose
|
||||||
Requires: python-distribute
|
Requires: python-distribute
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
@ -48,6 +49,9 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
cd tests && nosetests
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS.txt LICENSE.txt docs/*
|
%doc AUTHORS.txt LICENSE.txt docs/*
|
||||||
|
Loading…
Reference in New Issue
Block a user