| 1 | %global srcname pip |
|---|
| 2 | |
|---|
| 3 | Summary: Pip installs Python packages. An easy_install replacement |
|---|
| 4 | Summary(ja): Pip は easy_install を置き換える Python パッケージインストーラです。 |
|---|
| 5 | Name: python-%{srcname} |
|---|
| 6 | Version: 1.5.6 |
|---|
| 7 | Release: 1%{?_dist_release} |
|---|
| 8 | |
|---|
| 9 | Group: Development/Libraries |
|---|
| 10 | License: MIT |
|---|
| 11 | URL: http://pip.openplans.org |
|---|
| 12 | Source0: http://pypi.python.org/packages/source/p/pip/%{srcname}-%{version}.tar.gz |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 14 | |
|---|
| 15 | BuildArch: noarch |
|---|
| 16 | BuildRequires: python-devel |
|---|
| 17 | BuildRequires: python-setuptools |
|---|
| 18 | Requires: python-setuptools |
|---|
| 19 | |
|---|
| 20 | Vendor: Project Vine |
|---|
| 21 | Distribution: Vine Linux |
|---|
| 22 | |
|---|
| 23 | %description |
|---|
| 24 | |
|---|
| 25 | Pip is a replacement for `easy_install |
|---|
| 26 | <http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the |
|---|
| 27 | same techniques for finding packages, so packages that were made |
|---|
| 28 | easy_installable should be pip-installable as well. |
|---|
| 29 | |
|---|
| 30 | pip is meant to improve on easy_install.bulletin boards, etc.). |
|---|
| 31 | |
|---|
| 32 | %prep |
|---|
| 33 | %setup -q -n %{srcname}-%{version} |
|---|
| 34 | %{__sed} -i '1d' pip/__init__.py |
|---|
| 35 | |
|---|
| 36 | %build |
|---|
| 37 | %{__python} setup.py build |
|---|
| 38 | |
|---|
| 39 | %install |
|---|
| 40 | %{__rm} -rf %{buildroot} |
|---|
| 41 | %{__python} setup.py install -O1 --skip-build --root %{buildroot} |
|---|
| 42 | %{__rm} -rf %{buildroot}%{_bindir}/pip-* |
|---|
| 43 | #mv %{buildroot}%{_bindir}/pip %{buildroot}%{_bindir}/pip-python |
|---|
| 44 | |
|---|
| 45 | %clean |
|---|
| 46 | %{__rm} -rf %{buildroot} |
|---|
| 47 | |
|---|
| 48 | %files |
|---|
| 49 | %defattr(-,root,root,-) |
|---|
| 50 | %doc PKG-INFO docs |
|---|
| 51 | %attr(755,root,root) %{_bindir}/pip |
|---|
| 52 | %attr(755,root,root) %{_bindir}/pip2* |
|---|
| 53 | %{python_sitelib}/pip* |
|---|
| 54 | |
|---|
| 55 | %changelog |
|---|
| 56 | * Sat Jul 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.6-1 |
|---|
| 57 | - new upstream release |
|---|
| 58 | - didn't rename pip to python-pip |
|---|
| 59 | |
|---|
| 60 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-3 |
|---|
| 61 | - rebuild with VineSeed environment |
|---|
| 62 | |
|---|
| 63 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2 |
|---|
| 64 | - rebuild with python-2.7.2 |
|---|
| 65 | |
|---|
| 66 | * Mon Nov 22 2010 Shu KONNO <owa@bg.wakwak.com> 0.8.1-1 |
|---|
| 67 | - updated pip to 0.8.1 |
|---|
| 68 | |
|---|
| 69 | * Fri Sep 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
|---|
| 70 | - initial build for Vine Linux |
|---|
| 71 | |
|---|
| 72 | * Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1 |
|---|
| 73 | - update to 0.8 of pip |
|---|
| 74 | * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5 |
|---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
|---|
| 76 | |
|---|
| 77 | * Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1 |
|---|
| 78 | - update to 0.7.2 of pip |
|---|
| 79 | * Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1 |
|---|
| 80 | - update to 0.7.1 of pip |
|---|
| 81 | * Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4 |
|---|
| 82 | - fix dependency issue |
|---|
| 83 | * Fri Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2 |
|---|
| 84 | - fix spec file |
|---|
| 85 | * Thu Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1 |
|---|
| 86 | - upgrade to 0.6.1 of pip |
|---|
| 87 | * Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1 |
|---|
| 88 | - Initial package |
|---|
| 89 | |
|---|