diff options
author | Barry Warsaw <barry@debian.org> | 2014-05-15 21:08:01 +0000 |
---|---|---|
committer | Barry Warsaw <barry@debian.org> | 2014-05-15 21:08:01 +0000 |
commit | 6b1bf3b05c24be6cf5fde5f238a6edce38c53389 (patch) | |
tree | 889edb2b70979aac401e46e1a086ea1b6a3b915f /debian/rules | |
parent | 569b6c3126fe505c126af5f6c2a7a3dc0992c7f7 (diff) | |
download | python-requests-6b1bf3b05c24be6cf5fde5f238a6edce38c53389.tar python-requests-6b1bf3b05c24be6cf5fde5f238a6edce38c53389.tar.gz |
* 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.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 7 insertions, 3 deletions
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 |