SHA256
1
0
forked from pool/python-pip

Accepting request 102233 from devel:languages:python

Python is awesome

OBS-URL: https://build.opensuse.org/request/show/102233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=9
This commit is contained in:
Stephan Kulow
2012-02-01 08:59:58 +00:00
committed by Git OBS Bridge
2 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jan 31 14:11:43 UTC 2012 - saschpe@suse.de
- Run testsuite
-------------------------------------------------------------------
Mon Dec 5 12:31:47 UTC 2011 - saschpe@suse.de
- Only SLES-11 needs %python_sitelib and not noarch
-------------------------------------------------------------------
Thu Sep 22 09:04:39 UTC 2011 - saschpe@suse.de

View File

@@ -26,14 +26,13 @@ Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-nose
Requires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 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()")}
%else
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Pip is a replacement for easy_install. It uses mostly the same techniques for
@@ -50,6 +49,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
cd tests && nosetests
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/*