From 1bc9d7725cd4a53758400a9912d3d1eda2045aa0 Mon Sep 17 00:00:00 2001 From: Peter Halliday Date: Mon, 26 Oct 2009 01:27:23 +0000 Subject: [PATCH 01/10] initial import --- .cvsignore | 1 + import.log | 1 + python-pip.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 54 insertions(+) create mode 100644 import.log create mode 100644 python-pip.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b8e1e22 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pip-0.4.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..caf035d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-pip-0_4-1_fc12:F-12:python-pip-0.4-1.fc12.src.rpm:1256520183 diff --git a/python-pip.spec b/python-pip.spec new file mode 100644 index 0000000..dacd466 --- /dev/null +++ b/python-pip.spec @@ -0,0 +1,51 @@ +%{!?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.4 +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 + +%description + +Pip is a replacement for `easy_install +`_. 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 +* Mon Aug 31 2009 Peter Halliday - 0.4-1 +- Initial package diff --git a/sources b/sources index e69de29..21eb671 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b45714d04f8fd38fe8e3d4c7600b91a2 pip-0.4.tar.gz From 1c0aba0c8d40730e3d1ef6679d0370936dc1f6a7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:54:13 +0000 Subject: [PATCH 02/10] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a328700..2a1826d 100644 --- a/Makefile +++ b/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)) From 79a787a5729315ba91644932ea9e2484a551389e Mon Sep 17 00:00:00 2001 From: Peter Halliday Date: Fri, 18 Dec 2009 13:49:14 +0000 Subject: [PATCH 03/10] Updating to 0.6.1-3 --- .cvsignore | 2 +- python-pip.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index b8e1e22..d02aa5c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pip-0.4.tar.gz +pip-0.6.1.tar.gz diff --git a/python-pip.spec b/python-pip.spec index dacd466..fe00af1 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -3,8 +3,8 @@ %global srcname pip Name: python-%{srcname} -Version: 0.4 -Release: 1%{?dist} +Version: 0.6.1 +Release: 3%{?dist} Summary: Pip installs packages. Python packages. An easy_install replacement Group: Development/Libraries @@ -47,5 +47,10 @@ pip is meant to improve on easy_install.bulletin boards, etc.). %{python_sitelib}/pip* %changelog +* Tue Dec 18 2009 Peter Halliday - 0.6.1-2 +- fix spec file +* Mon Dec 17 2009 Peter Halliday - 0.6.1-1 +- upgrade to 0.6.1 of pip * Mon Aug 31 2009 Peter Halliday - 0.4-1 - Initial package + diff --git a/sources b/sources index 21eb671..f9ab078 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b45714d04f8fd38fe8e3d4c7600b91a2 pip-0.4.tar.gz +7560e3055c66afb99ac4a7892389a237 pip-0.6.1.tar.gz From 73a01443e40709eb0e1807f421055366a874abaa Mon Sep 17 00:00:00 2001 From: Peter Halliday Date: Fri, 1 Jan 2010 20:23:36 +0000 Subject: [PATCH 04/10] fixing dependency issues --- python-pip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pip.spec b/python-pip.spec index fe00af1..c0ae165 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 0.6.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Pip installs packages. Python packages. An easy_install replacement Group: Development/Libraries @@ -16,6 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools-devel +Requires: python-setuptools %description @@ -47,6 +48,8 @@ pip is meant to improve on easy_install.bulletin boards, etc.). %{python_sitelib}/pip* %changelog +* Fri Jan 1 2010 Peter Halliday - 0.6.1.4 +- fix dependency issue * Tue Dec 18 2009 Peter Halliday - 0.6.1-2 - fix spec file * Mon Dec 17 2009 Peter Halliday - 0.6.1-1 From 93cdd51930aeb2b24976a4f345aa4c6e1ebc933e Mon Sep 17 00:00:00 2001 From: Peter Halliday Date: Sun, 7 Mar 2010 02:05:01 +0000 Subject: [PATCH 05/10] update to pip 0.6.3 --- .cvsignore | 2 +- python-pip.spec | 6 +++--- sources | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index d02aa5c..5d7b45b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pip-0.6.1.tar.gz +pip-0.6.3.tar.gz diff --git a/python-pip.spec b/python-pip.spec index c0ae165..439387d 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -3,8 +3,8 @@ %global srcname pip Name: python-%{srcname} -Version: 0.6.1 -Release: 4%{?dist} +Version: 0.6.3 +Release: 1%{?dist} Summary: Pip installs packages. Python packages. An easy_install replacement Group: Development/Libraries @@ -29,7 +29,7 @@ pip is meant to improve on easy_install.bulletin boards, etc.). %prep %setup -q -n %{srcname}-%{version} -%{__sed} -i '1d' pip.py +%{__sed} -i '1d' pip/__init__.py %build %{__python} setup.py build diff --git a/sources b/sources index f9ab078..bec21e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7560e3055c66afb99ac4a7892389a237 pip-0.6.1.tar.gz +0602fa9179cfaa98e41565d4a581d98c pip-0.6.3.tar.gz From 9fd16225fa6728cf8bbe40c7eea3add92cf3ea93 Mon Sep 17 00:00:00 2001 From: Peter Halliday Date: Sun, 7 Mar 2010 02:16:03 +0000 Subject: [PATCH 06/10] update comment in spec file --- python-pip.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-pip.spec b/python-pip.spec index 439387d..10a862b 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -48,6 +48,8 @@ pip is meant to improve on easy_install.bulletin boards, etc.). %{python_sitelib}/pip* %changelog +* Sat Mar 5 2010 Peter Halliday - 0.6.3-1 +- update to 0.6.3 of pip * Fri Jan 1 2010 Peter Halliday - 0.6.1.4 - fix dependency issue * Tue Dec 18 2009 Peter Halliday - 0.6.1-2 From 2ebfd298e23a5f61154c15086b7c0308609996f8 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 8 May 2010 02:18:53 +0000 Subject: [PATCH 07/10] Initialize branch EL-6 for python-pip --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..46381b9 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-6 From 8b3335b67711440abde16184d808aab45ad54c23 Mon Sep 17 00:00:00 2001 From: Peter Halliday Date: Thu, 8 Jul 2010 03:43:49 +0000 Subject: [PATCH 08/10] Update to 0.7.2 of pip --- .cvsignore | 2 +- python-pip.spec | 4 +++- sources | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5d7b45b..831a5ed 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pip-0.6.3.tar.gz +pip-0.7.2.tar.gz diff --git a/python-pip.spec b/python-pip.spec index 10a862b..0a361f8 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -3,7 +3,7 @@ %global srcname pip Name: python-%{srcname} -Version: 0.6.3 +Version: 0.7.2 Release: 1%{?dist} Summary: Pip installs packages. Python packages. An easy_install replacement @@ -48,6 +48,8 @@ pip is meant to improve on easy_install.bulletin boards, etc.). %{python_sitelib}/pip* %changelog +* Wed Jul 7 2010 Peter Halliday - 0.7.2-1 +- update to 0.7.2 of pip * Sat Mar 5 2010 Peter Halliday - 0.6.3-1 - update to 0.6.3 of pip * Fri Jan 1 2010 Peter Halliday - 0.6.1.4 diff --git a/sources b/sources index bec21e8..670e4d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0602fa9179cfaa98e41565d4a581d98c pip-0.6.3.tar.gz +cfe73090aaa0d3b0c104179a627859d1 pip-0.7.2.tar.gz From fbb2cb2e1212d75237ad9be6088123b7e9c4f248 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:36:33 +0000 Subject: [PATCH 09/10] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 2a1826d..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-pip -# $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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index 46381b9..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-6 diff --git a/import.log b/import.log deleted file mode 100644 index caf035d..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -python-pip-0_4-1_fc12:F-12:python-pip-0.4-1.fc12.src.rpm:1256520183 From 8c5e9c7e9232ebfca71dd8875f7f9eb5832927cd Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Mon, 11 Nov 2019 16:37:13 +0100 Subject: [PATCH 10/10] Create a python3(4) package. --- python-pip.spec | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/python-pip.spec b/python-pip.spec index 137c007..06cb298 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -1,6 +1,6 @@ -%if (! 0%{?rhel}) || 0%{?rhel} > 7 +%if (! 0%{?rhel}) || 0%{?rhel} > 5 %global with_python3 1 -%global build_wheel 1 +%global build_wheel 0 %global with_tests 0 %endif %if 0%{?rhel} && 0%{?rhel} < 6 @@ -22,7 +22,7 @@ Name: python-%{srcname} Version: 7.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A tool for installing and managing Python packages Group: Development/Libraries @@ -66,28 +66,28 @@ easy_installable should be pip-installable as well. %if 0%{?with_python3} -%package -n python3-pip +%package -n python%{python3_pkgversion}-pip Summary: A tool for installing and managing Python3 packages Group: Development/Libraries -BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: bash-completion %if 0%{?with_tests} -BuildRequires: python3-mock -BuildRequires: python3-pytest -BuildRequires: python3-pretend -BuildRequires: python3-freezegun -BuildRequires: python3-scripttest -BuildRequires: python3-virtualenv +BuildRequires: python%{python3_pkgversion}-mock +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-pretend +BuildRequires: python%{python3_pkgversion}-freezegun +BuildRequires: python%{python3_pkgversion}-scripttest +BuildRequires: python%{python3_pkgversion}-virtualenv %endif %if 0%{?build_wheel} -BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python%{python3_pkgversion}-pip +BuildRequires: python%{python3_pkgversion}-wheel %endif -Requires: python3-setuptools +Requires: python%{python3_pkgversion}-setuptools -%description -n python3-pip +%description -n python%{python3_pkgversion}-pip Pip is a replacement for `easy_install `_. It uses mostly the same techniques for finding packages, so packages that were made @@ -218,7 +218,7 @@ popd %endif %if 0%{?with_python3} -%files -n python3-pip +%files -n python%{python3_pkgversion}-pip %defattr(-,root,root,-) %license LICENSE.txt %doc README.rst docs @@ -232,6 +232,9 @@ popd %endif # with_python3 %changelog +* Mon Nov 11 2019 Steve Traylen - 7.1.0-2 +- Create a python3(4) package. + * Wed Jul 01 2015 Slavek Kabrda - 7.1.0-1 - Update to 7.1.0