[Python-modules-commits] r25029 - in packages/python-flake8/trunk/debian (rules)
zigo at users.alioth.debian.org
zigo at users.alioth.debian.org
Sat Jun 29 05:58:49 UTC 2013
Date: Saturday, June 29, 2013 @ 05:58:48
Author: zigo
Revision: 25029
Also install stuff for the python3-flake8 package (previously, nothing was installed)
Modified:
packages/python-flake8/trunk/debian/rules
Modified: packages/python-flake8/trunk/debian/rules
===================================================================
--- packages/python-flake8/trunk/debian/rules 2013-06-29 05:58:40 UTC (rev 25028)
+++ packages/python-flake8/trunk/debian/rules 2013-06-29 05:58:48 UTC (rev 25029)
@@ -22,6 +22,17 @@
# Remove me when dh_python2 can handle this file
rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt
+override_dh_auto_install:
+ set -xe; \
+ for py in $(PYVERS); do \
+ $$py setup.py install --root=debian/python-flake8 --install-layout=deb ; \
+ done
+ set -xe; \
+ for py in $(PY3VERS); do \
+ $$py setup.py install --root=debian/python3-flake8 --install-layout=deb ; \
+ done
+ rm -f debian/python3-flake8/usr/bin/flake8
+
override_dh_python2:
dh_python2 --shebang=/usr/bin/python
More information about the Python-modules-commits
mailing list