python-pip-vl.spec 2.8 KB

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