python-pip-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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: 0.8
  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. %description
  17. Pip is a replacement for `easy_install
  18. <http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
  19. same techniques for finding packages, so packages that were made
  20. easy_installable should be pip-installable as well.
  21. pip is meant to improve on easy_install.bulletin boards, etc.).
  22. %prep
  23. %setup -q -n %{srcname}-%{version}
  24. %{__sed} -i '1d' pip/__init__.py
  25. %build
  26. %{__python} setup.py build
  27. %install
  28. %{__rm} -rf %{buildroot}
  29. %{__python} setup.py install -O1 --skip-build --root %{buildroot}
  30. %{__rm} -rf %{buildroot}%{_bindir}/pip-*
  31. mv %{buildroot}%{_bindir}/pip %{buildroot}%{_bindir}/pip-python
  32. %clean
  33. %{__rm} -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc PKG-INFO docs
  37. %attr(755,root,root) %{_bindir}/pip-python
  38. %{python_sitelib}/pip*
  39. %changelog
  40. * Fri Sep 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1
  41. - initial build for Vine Linux
  42. * Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1
  43. - update to 0.8 of pip
  44. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5
  45. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  46. * Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1
  47. - update to 0.7.2 of pip
  48. * Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
  49. - update to 0.7.1 of pip
  50. * Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4
  51. - fix dependency issue
  52. * Tue Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
  53. - fix spec file
  54. * Mon Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
  55. - upgrade to 0.6.1 of pip
  56. * Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
  57. - Initial package