[Python-apps-commits] r10871 - in packages/debomatic/trunk/debian (changelog control rules)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Wed May 21 08:55:06 UTC 2014


    Date: Wednesday, May 21, 2014 @ 08:55:06
  Author: dktrkranz
Revision: 10871

Port to Pybuild

Modified:
  packages/debomatic/trunk/debian/changelog
  packages/debomatic/trunk/debian/control
  packages/debomatic/trunk/debian/rules

Modified: packages/debomatic/trunk/debian/changelog
===================================================================
--- packages/debomatic/trunk/debian/changelog	2014-05-21 08:51:43 UTC (rev 10870)
+++ packages/debomatic/trunk/debian/changelog	2014-05-21 08:55:06 UTC (rev 10871)
@@ -5,9 +5,11 @@
     - Removed, applied upstream.
   * debian/control:
     - Build-depends on python3 and python3-sphinx.
+    - Build-depends on dh-python for Pybuild support.
     - No longer depends on python-daemon and python-lockfile.
     - Recommends python3-pyinotify.
   * debian/rules:
+    - Port to Pybuild.
     - Use python3 sequencer.
 
  -- Luca Falavigna <dktrkranz at debian.org>  Wed, 21 May 2014 10:44:18 +0200

Modified: packages/debomatic/trunk/debian/control
===================================================================
--- packages/debomatic/trunk/debian/control	2014-05-21 08:51:43 UTC (rev 10870)
+++ packages/debomatic/trunk/debian/control	2014-05-21 08:55:06 UTC (rev 10871)
@@ -5,6 +5,7 @@
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9),
                python3 (>= 3.2~),
+               dh-python,
                python3-sphinx,
                texlive-latex-base,
                texlive-latex-recommended,

Modified: packages/debomatic/trunk/debian/rules
===================================================================
--- packages/debomatic/trunk/debian/rules	2014-05-21 08:51:43 UTC (rev 10870)
+++ packages/debomatic/trunk/debian/rules	2014-05-21 08:55:06 UTC (rev 10871)
@@ -1,17 +1,20 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=debomatic
+export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/share/debomatic \
+					--install-scripts=/usr/share/debomatic
+
 %:
-	dh $@ --with python3
+	dh $@  --buildsystem=pybuild --with python3
 
-clean:
-	dh $@ --with python3
+override_dh_clean:
+	dh_clean $@
 	rm -fr build locale docs/_build
 	dh_clean debian/init debian/default
 
 override_dh_auto_install:
-	dh_auto_install -- --install-scripts=/usr/share/debomatic \
-		--install-lib=/usr/share/debomatic
-	find debian/debomatic -name "*.egg-info" -delete
+	dh_auto_install $@
+	find $(CURDIR)/debian/debomatic -name "*.egg-info" -delete
 
 override_dh_installinit:
 	ln -s $(CURDIR)/etc/init.d/debomatic debian/init




More information about the Python-apps-commits mailing list