Compare commits
4 commits
rawhide
...
python-pip
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ca9df9410 | ||
|
|
71f16f6c21 | ||
|
|
14b552d35d | ||
|
|
2a057b3b0b |
5 changed files with 61 additions and 2 deletions
|
|
@ -0,0 +1 @@
|
|||
pip-0.6.1.tar.gz
|
||||
4
Makefile
4
Makefile
|
|
@ -1,10 +1,10 @@
|
|||
# Makefile for source rpm: python-pip
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.1 2009/10/22 04:10:22 kevin Exp $
|
||||
NAME := python-pip
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
|
|
|||
1
branch
Normal file
1
branch
Normal file
|
|
@ -0,0 +1 @@
|
|||
EL-4
|
||||
56
python-pip.spec
Normal file
56
python-pip.spec
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%global srcname pip
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.6.1
|
||||
Release: 3%{?dist}
|
||||
Summary: Pip installs packages. Python packages. An easy_install replacement
|
||||
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
URL: http://pip.openplans.org
|
||||
Source0: http://pypi.python.org/packages/source/p/pip/%{srcname}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools-devel
|
||||
|
||||
%description
|
||||
|
||||
Pip is a replacement for `easy_install
|
||||
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
|
||||
same techniques for finding packages, so packages that were made
|
||||
easy_installable should be pip-installable as well.
|
||||
|
||||
pip is meant to improve on easy_install.bulletin boards, etc.).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%{__sed} -i '1d' pip.py
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc PKG-INFO docs
|
||||
%attr(755,root,root) %{_bindir}/pip
|
||||
%{python_sitelib}/pip*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
|
||||
- fix spec file
|
||||
* Mon Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
|
||||
- upgrade to 0.6.1 of pip
|
||||
* Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
|
||||
- Initial package
|
||||
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
7560e3055c66afb99ac4a7892389a237 pip-0.6.1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue