[Python-modules-commits] r25692 - in packages/python-dbusmock/trunk/debian (3 files)
mpitt at users.alioth.debian.org
mpitt at users.alioth.debian.org
Wed Aug 28 09:11:16 UTC 2013
Date: Wednesday, August 28, 2013 @ 09:11:14
Author: mpitt
Revision: 25692
Move to pybuild to greatly simplify debian/rules.
Modified:
packages/python-dbusmock/trunk/debian/changelog
packages/python-dbusmock/trunk/debian/control
packages/python-dbusmock/trunk/debian/rules
Modified: packages/python-dbusmock/trunk/debian/changelog
===================================================================
--- packages/python-dbusmock/trunk/debian/changelog 2013-08-28 07:29:56 UTC (rev 25691)
+++ packages/python-dbusmock/trunk/debian/changelog 2013-08-28 09:11:14 UTC (rev 25692)
@@ -1,3 +1,9 @@
+python-dbusmock (0.7.1-2) UNRELEASED; urgency=low
+
+ * Move to pybuild to greatly simplify debian/rules.
+
+ -- Martin Pitt <mpitt at debian.org> Wed, 28 Aug 2013 11:10:08 +0200
+
python-dbusmock (0.7.1-1) unstable; urgency=low
* New upstream bug fix release.
Modified: packages/python-dbusmock/trunk/debian/control
===================================================================
--- packages/python-dbusmock/trunk/debian/control 2013-08-28 07:29:56 UTC (rev 25691)
+++ packages/python-dbusmock/trunk/debian/control 2013-08-28 09:11:14 UTC (rev 25692)
@@ -2,6 +2,7 @@
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
+ dh-python,
python3-all,
python3-setuptools
Build-Depends-Indep: upower,
Modified: packages/python-dbusmock/trunk/debian/rules
===================================================================
--- packages/python-dbusmock/trunk/debian/rules 2013-08-28 07:29:56 UTC (rev 25691)
+++ packages/python-dbusmock/trunk/debian/rules 2013-08-28 09:11:14 UTC (rev 25692)
@@ -1,32 +1,10 @@
#!/usr/bin/make -f
%:
- dh "$@" --with python3
+ dh "$@" --with python3 --buildsystem=pybuild
-# needs manual commands for Python 3, see Debian #597105
-override_dh_auto_clean:
- set -ex; for python in $(shell py3versions -r); do \
- $$python setup.py clean || true; \
- done
- rm -rf build
+override_dh_install:
+ true
-override_dh_auto_build:
- set -ex; for python in $(shell py3versions -r); do \
- $$python setup.py build; \
- done
-
-override_dh_auto_install:
- set -ex; for python in $(shell py3versions -r); do \
- $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
- done
-
-override_dh_auto_test:
-ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS)))
- set -ex; for python in $(shell py3versions -r); do \
- echo "======== Running tests with $$python ==========="; \
- $$python ./setup.py test; \
- done
-endif
-
override_dh_compress:
dh_compress -X.py
More information about the Python-modules-commits
mailing list