[Python-apps-commits] r12126 - in packages/plainbox-provider-resource-generic/trunk/debian (3 files)

zyga-guest at users.alioth.debian.org zyga-guest at users.alioth.debian.org
Wed Jul 22 16:34:57 UTC 2015


    Date: Wednesday, July 22, 2015 @ 16:34:56
  Author: zyga-guest
Revision: 12126

debian/control, debian/rules: Depend on python3-debian for plainbox
packaging system integration. Activate plainbox packaging integration
through "./manage.py packaging", "X-Plainbox-Provider: yes" and
${plainbox:Depends} and similar. This lets plainbox look at packaging
meta-data units contained in the provider being packaged (at .txt.in, .txt
and .pxu files) and determine appropriate dependencies. This lessens the
maintenance burden on the package maintainer and shifts it onto the
upstream developers to provide accurate packaging meta-data for each
specific distribution. This also means that separate packaging for similar
distributions (Debian, Ubuntu and bleeding-edge Ubuntu PPA is far easier
to work with as bulk of the work is shared).

Modified:
  packages/plainbox-provider-resource-generic/trunk/debian/changelog
  packages/plainbox-provider-resource-generic/trunk/debian/control
  packages/plainbox-provider-resource-generic/trunk/debian/rules

Modified: packages/plainbox-provider-resource-generic/trunk/debian/changelog
===================================================================
--- packages/plainbox-provider-resource-generic/trunk/debian/changelog	2015-07-22 12:12:34 UTC (rev 12125)
+++ packages/plainbox-provider-resource-generic/trunk/debian/changelog	2015-07-22 16:34:56 UTC (rev 12126)
@@ -10,6 +10,17 @@
     (checkbox-devel at lists.ubuntu.com). 
   * debian/control: Depend on more recent version of plainbox to get the
     packaging meta-data unit which blocks validation.
+  * debian/control, debian/rules: Depend on python3-debian for plainbox
+    packaging system integration. Activate plainbox packaging integration
+    through "./manage.py packaging", "X-Plainbox-Provider: yes" and
+    ${plainbox:Depends} and similar. This lets plainbox look at packaging
+    meta-data units contained in the provider being packaged (at .txt.in, .txt
+    and .pxu files) and determine appropriate dependencies. This lessens the
+    maintenance burden on the package maintainer and shifts it onto the
+    upstream developers to provide accurate packaging meta-data for each
+    specific distribution. This also means that separate packaging for similar
+    distributions (Debian, Ubuntu and bleeding-edge Ubuntu PPA is far easier
+    to work with as bulk of the work is shared).
 
  -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com>  Tue, 28 Apr 2015 10:35:39 +0200
 

Modified: packages/plainbox-provider-resource-generic/trunk/debian/control
===================================================================
--- packages/plainbox-provider-resource-generic/trunk/debian/control	2015-07-22 12:12:34 UTC (rev 12125)
+++ packages/plainbox-provider-resource-generic/trunk/debian/control	2015-07-22 16:34:56 UTC (rev 12126)
@@ -13,6 +13,7 @@
                libnl-genl-3-dev,
                pkg-config,
                python3,
+               python3-debian,
                python3-plainbox (>= 0.22)
 Standards-Version: 3.9.6
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/plainbox-provider-resource-generic/trunk/
@@ -21,11 +22,10 @@
 
 Package: plainbox-provider-resource-generic
 Architecture: any
-Depends: python3 (>= 3.2),
-         python3-checkbox-support (>= 0.2),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Recommends: dmidecode, dpkg (>= 1.13), lsb-release, wodim
+Depends: ${misc:Depends}, ${plainbox:Depends}, ${shlibs:Depends}
+Suggests: ${plainbox:Suggests}
+Recommends: ${plainbox:Recommends}
+X-Plainbox-Provider: yes
 Description: CheckBox generic resource jobs provider
  This package provides the generic resource jobs. It is used together
  alongside with PlainBox.

Modified: packages/plainbox-provider-resource-generic/trunk/debian/rules
===================================================================
--- packages/plainbox-provider-resource-generic/trunk/debian/rules	2015-07-22 12:12:34 UTC (rev 12125)
+++ packages/plainbox-provider-resource-generic/trunk/debian/rules	2015-07-22 16:34:56 UTC (rev 12126)
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export DH_VERBOSE=1
 
 %:
 	dh $@
@@ -38,3 +39,7 @@
 	# But don't modify the name, it has to be exactly as before
 	sed -i -e 's!name = $(terse_id)!name = $(verbose_id)!g' \
 		$(CURDIR)/debian/$(pkg_name)/usr/share/plainbox-providers-1/$(terse_id).provider
+
+override_dh_gencontrol:
+	python3 manage.py packaging
+	dh_gencontrol




More information about the Python-apps-commits mailing list