From 6b1bf3b05c24be6cf5fde5f238a6edce38c53389 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 15 May 2014 21:08:01 +0000 Subject: * debian/control - Add python-requests-wheels binary package. - Build-Depends on python3-wheel, python-setuptools, and python3-setuptools. - wrap-and-sort. * debian/rules: - Simplify by using PYBUILD_NAME. - Build the universal wheels. --- debian/rules | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 6198313..c9d82a1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,15 @@ #!/usr/bin/make -f -export PYBUILD_DESTDIR_python2=debian/python-requests/ -export PYBUILD_DESTDIR_python3=debian/python3-requests/ - +export PYBUILD_NAME=requests %: dh $@ --with python2,python3 --buildsystem=pybuild override_dh_installchangelogs: dh_installchangelogs HISTORY.rst + +override_dh_auto_install: + dh_auto_install + python3 setup.py bdist_wheel \ + --universal \ + -d $(CURDIR)/debian/tmp/usr/share/python-wheels -- cgit v1.2.3