14
0
forked from pool/python-pip

Accepting request 133376 from home:poorboywilly:branches:devel:languages:python

Update to 1.2.1.  Note: dropped support for python 2.4.

OBS-URL: https://build.opensuse.org/request/show/133376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=17
This commit is contained in:
Ismail Dönmez
2012-09-10 10:50:27 +00:00
committed by Git OBS Bridge
parent dd09f955ef
commit 8b9fd993e9
6 changed files with 57 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
Name: python3-pip
Version: 1.1
Version: 1.2.1
Release: 0
Url: http://www.pip-installer.org
Summary: Pip installs packages. Python 3 packages. An easy_install replacement
@@ -25,10 +25,10 @@ License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-nose
%if 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
@@ -58,9 +58,6 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
# remove file that conflicts with python 2 package
rm %{buildroot}%{_bindir}/pip
%check
cd tests && nosetests
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/*