Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0799a01082 | ||
|
|
1fc7c46c0a | ||
|
|
0af45c6862 | ||
|
|
9930a2d6b4 | ||
|
|
8338c6deba | ||
|
|
99f0a86c9b | ||
|
|
1418cedb0c | ||
|
|
38c3c640a4 | ||
|
|
61d9770987 | ||
|
|
1bcdd5c277 | ||
|
|
fcbe321fb5 | ||
|
|
67a1dc9283 | ||
|
|
103ccac6e4 |
5 changed files with 65 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
pip-0.7.1.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: python-pip
|
||||
# $Id$
|
||||
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
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
63
python-pip.spec
Normal file
63
python-pip.spec
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
%{!?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.7.1
|
||||
Release: 1%{?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
|
||||
Requires: python-setuptools
|
||||
|
||||
%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/__init__.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
|
||||
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
|
||||
- update to 0.7.1 of pip
|
||||
* Sat Mar 5 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.3-1
|
||||
- update to 0.6.3 of pip
|
||||
* Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorssytems.net> - 0.6.1-4
|
||||
- fix dependency issue
|
||||
* 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 @@
|
|||
420c83ad67bdcb542f772eb64392cce6 pip-0.7.1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue