[Python-modules-commits] r34181 - in packages/python-secretstorage/trunk/debian (2 files)

mitya57 at users.alioth.debian.org mitya57 at users.alioth.debian.org
Sun Sep 6 10:52:28 UTC 2015


    Date: Sunday, September 6, 2015 @ 10:52:27
  Author: mitya57
Revision: 34181

Switch to pybuild buildsystem.

Modified:
  packages/python-secretstorage/trunk/debian/changelog
  packages/python-secretstorage/trunk/debian/rules

Modified: packages/python-secretstorage/trunk/debian/changelog
===================================================================
--- packages/python-secretstorage/trunk/debian/changelog	2015-09-06 10:34:09 UTC (rev 34180)
+++ packages/python-secretstorage/trunk/debian/changelog	2015-09-06 10:52:27 UTC (rev 34181)
@@ -3,6 +3,7 @@
   * Replace Xvfb with dbus-run-session in gnome-keyring autopkgtest.
   * Drop XS-Testsuite header, not needed with recent dpkg versions.
   * Build-depend on python3-sphinx 1.3 and drop no_alabaster.diff.
+  * Switch to pybuild buildsystem.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 06 Sep 2015 12:55:29 +0300
 

Modified: packages/python-secretstorage/trunk/debian/rules
===================================================================
--- packages/python-secretstorage/trunk/debian/rules	2015-09-06 10:34:09 UTC (rev 34180)
+++ packages/python-secretstorage/trunk/debian/rules	2015-09-06 10:52:27 UTC (rev 34181)
@@ -1,24 +1,11 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-PYTHON3=$(shell py3versions -r)
-
 %:
-	dh $@ --with python2,python3,sphinxdoc
+	dh $@ --with python2,python3,sphinxdoc --buildsystem pybuild
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf build/ docs/html/*.html */__pycache__
-
 override_dh_auto_build:
 	dh_auto_build
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py build; \
-	done
 	python3 setup.py build_sphinx
 
-override_dh_auto_install:
-	dh_auto_install
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py install --install-layout=deb --root=debian/tmp; \
-	done
+override_dh_auto_test:




More information about the Python-modules-commits mailing list