[Python-modules-commits] r26555 - in packages/python-charade/trunk/debian (3 files)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Mon Nov 25 18:21:10 UTC 2013
Date: Monday, November 25, 2013 @ 18:21:09
Author: eriol-guest
Revision: 26555
Switched to pybuild
Modified:
packages/python-charade/trunk/debian/changelog
packages/python-charade/trunk/debian/control
packages/python-charade/trunk/debian/rules
Modified: packages/python-charade/trunk/debian/changelog
===================================================================
--- packages/python-charade/trunk/debian/changelog 2013-11-25 18:11:26 UTC (rev 26554)
+++ packages/python-charade/trunk/debian/changelog 2013-11-25 18:21:09 UTC (rev 26555)
@@ -2,4 +2,4 @@
* Initial release (Closes: #698258)
- -- Daniele Tricoli <eriol at mornie.org> Tue, 21 May 2013 00:45:42 +0200
+ -- Daniele Tricoli <eriol at mornie.org> Mon, 25 Nov 2013 19:19:52 +0100
Modified: packages/python-charade/trunk/debian/control
===================================================================
--- packages/python-charade/trunk/debian/control 2013-11-25 18:11:26 UTC (rev 26554)
+++ packages/python-charade/trunk/debian/control 2013-11-25 18:21:09 UTC (rev 26555)
@@ -5,6 +5,7 @@
Priority: optional
Build-Depends:
debhelper (>= 9),
+ dh-python,
python-all (>= 2.6.6-3),
python-setuptools (>= 0.6b3),
python3-all,
Modified: packages/python-charade/trunk/debian/rules
===================================================================
--- packages/python-charade/trunk/debian/rules 2013-11-25 18:11:26 UTC (rev 26554)
+++ packages/python-charade/trunk/debian/rules 2013-11-25 18:21:09 UTC (rev 26555)
@@ -1,41 +1,22 @@
#!/usr/bin/make -f
-PYVERS := $(shell pyversions -r)
-PY3VERS := $(shell py3versions -r)
+export PYBUILD_NAME=charade
+export PYTHONWARNINGS=d
+
%:
- dh $@ --with python2,python3
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_build:
- set -ex; \
- for python in $(PYVERS) $(PY3VERS); do \
- $$python setup.py build; \
- done
+ dh_auto_build
cp debian/manpages/charade.1 debian/manpages/charade3.1
sed -i 's/charade/charade3/g' debian/manpages/charade3.1
-override_dh_auto_clean:
- rm -rf build
- rm -f charade.egg-info/PKG-INFO
- rm -f debian/manpages/charade3.1
- find . -name '*.pyc' -delete
- find . -path '*__pycache__*' -delete
- dh_auto_clean
override_dh_auto_install:
- set -ex; \
- for python in $(PYVERS); do \
- $$python setup.py install --skip-build --root debian/python-charade \
- --install-layout deb; \
- done
+ dh_auto_install
- set -ex; \
- for python in $(PY3VERS); do \
- $$python setup.py install --skip-build --root debian/python3-charade \
- --install-layout deb; \
- done
-
# Rename charade script for Python3
mv debian/python3-charade/usr/bin/charade \
debian/python3-charade/usr/bin/charade3
More information about the Python-modules-commits
mailing list