[Python-modules-commits] r29917 - in packages/pymarkups/trunk/debian (3 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Jul 25 19:08:50 UTC 2014


    Date: Friday, July 25, 2014 @ 19:08:49
  Author: mitya57-guest
Revision: 29917

Convert to pybuild.

Modified:
  packages/pymarkups/trunk/debian/changelog
  packages/pymarkups/trunk/debian/rules
Deleted:
  packages/pymarkups/trunk/debian/python3-markups.install

Modified: packages/pymarkups/trunk/debian/changelog
===================================================================
--- packages/pymarkups/trunk/debian/changelog	2014-07-25 18:52:19 UTC (rev 29916)
+++ packages/pymarkups/trunk/debian/changelog	2014-07-25 19:08:49 UTC (rev 29917)
@@ -2,6 +2,7 @@
 
   * New upstream release.
   * Update URLs for upstream move from Launchpad to GitHub.
+  * Convert to pybuild.
 
  -- Dmitry Shachnev <mitya57 at gmail.com>  Fri, 25 Jul 2014 22:51:18 +0400
 

Deleted: packages/pymarkups/trunk/debian/python3-markups.install
===================================================================
--- packages/pymarkups/trunk/debian/python3-markups.install	2014-07-25 18:52:19 UTC (rev 29916)
+++ packages/pymarkups/trunk/debian/python3-markups.install	2014-07-25 19:08:49 UTC (rev 29917)
@@ -1 +0,0 @@
-usr/lib/python3*/*

Modified: packages/pymarkups/trunk/debian/rules
===================================================================
--- packages/pymarkups/trunk/debian/rules	2014-07-25 18:52:19 UTC (rev 29916)
+++ packages/pymarkups/trunk/debian/rules	2014-07-25 19:08:49 UTC (rev 29917)
@@ -1,27 +1,11 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-PYTHON3=$(shell py3versions -r)
+export PYBUILD_NAME=markups
+export PYBUILD_TEST_ARGS={interpreter} setup.py test
 
 %:
-	dh $@ --with python3
+	dh $@ --with python3 --buildsystem=pybuild
 
-override_dh_auto_clean:
-	rm -rf build markups/__pycache__ tests/__pycache__
-
-override_dh_auto_build:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py build; \
-	done
-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py test; \
-	done
-endif
-
-override_dh_auto_install:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py install --install-layout=deb --root=debian/tmp; \
-	done
+	PYBUILD_SYSTEM=custom dh_auto_test




More information about the Python-modules-commits mailing list