[Python-modules-commits] [python-virtualenv] 10/17: Rewheel pip.

Barry Warsaw barry at moszumanska.debian.org
Sun Jan 31 22:20:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-virtualenv.

commit df6909b54c9e72d16f7b1ec0ac102ca78207d848
Author: Barry Warsaw <barry at python.org>
Date:   Sat Jan 30 15:18:51 2016 -0500

    Rewheel pip.
---
 debian/control | 2 ++
 debian/rules   | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/control b/debian/control
index f183478..1a3a833 100644
--- a/debian/control
+++ b/debian/control
@@ -11,12 +11,14 @@ Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-virtualenv.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-virtualenv.git
 Build-Depends: debhelper (>= 9),
                dh-python,
+               dirtbike,
                python-all (>=2.6.6-3~),
                python3-all,
                unzip,
                zip
 Build-Depends-Indep: python-mock,
                      python-nose,
+                     python3-pip,
                      python-pip-whl (>= 8.0.2),
                      python-pytest,
                      python-setuptools,
diff --git a/debian/rules b/debian/rules
index 2f66334..8fd9f31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@ export DH_VERBOSE=1
 export PYBUILD_VERBOSE=1
 export PYBUILD_NAME=virtualenv
 
+export DIRTBIKE_DIRECTORY=\
+    $(CURDIR)/debian/virtualenv/usr/share/python-wheels
+
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
@@ -25,6 +29,9 @@ override_dh_auto_install:
 	mv debian/python3-virtualenv/usr/bin/virtualenv \
 	   debian/virtualenv/usr/bin
 	rm -rf debian/python3-virtualenv/usr/bin
+	# We need pip to be wheeled.
+	mkdir -p $(CURDIR)/debian/virtualenv/usr/share/python-wheels
+	dirtbike pip
 
 override_dh_installchangelogs:
 	dh_installchangelogs docs/changes.rst

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-virtualenv.git



More information about the Python-modules-commits mailing list