2010-05-28 11:54:03 +02:00
|
|
|
#
|
2010-09-15 10:07:32 +02:00
|
|
|
# spec file for package python-pip (Version 0.8.1)
|
2010-05-28 11:54:03 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-12-13 14:13:01 +01:00
|
|
|
|
2010-05-19 10:50:14 +02:00
|
|
|
Name: python-pip
|
2010-09-15 10:07:32 +02:00
|
|
|
Version: 0.8.1
|
2010-05-19 10:50:14 +02:00
|
|
|
Release: 1
|
|
|
|
License: MIT License
|
2010-05-28 11:54:03 +02:00
|
|
|
Summary: Pip installs packages. Python packages. An easy_install replacement
|
2010-05-19 10:50:14 +02:00
|
|
|
Group: Development/Libraries/Python
|
2010-09-15 10:07:32 +02:00
|
|
|
Source: pip-%{version}.tar.bz2
|
2010-05-28 11:54:03 +02:00
|
|
|
# List of additional build dependencies
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-setuptools
|
2010-05-19 10:50:14 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-05-28 11:54:03 +02:00
|
|
|
%{py_requires}
|
2010-06-20 19:58:56 +02:00
|
|
|
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
2010-05-28 11:54:03 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2010-05-19 10:50:14 +02:00
|
|
|
|
|
|
|
%description
|
2010-05-28 11:54:03 +02:00
|
|
|
pip is a replacement for easy_install. It uses mostly the same techniques for
|
|
|
|
finding packages, so packages that were made easy_installable should be
|
|
|
|
pip-installable as well.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
--------
|
|
|
|
The Open Planning Project <python-virtualenv@groups.google.com>
|
2010-05-19 10:50:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pip-%version
|
|
|
|
|
2010-05-28 11:54:03 +02:00
|
|
|
%build
|
2010-05-19 10:50:14 +02:00
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
2010-05-28 11:54:03 +02:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=filelist
|
2010-05-19 10:50:14 +02:00
|
|
|
|
|
|
|
%clean
|
2010-05-28 11:54:03 +02:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2010-05-19 10:50:14 +02:00
|
|
|
%files -f filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|