r1890 - in zope.component/branches/jinty-dh7/debian (3 files)

jinty-guest at users.alioth.debian.org jinty-guest at users.alioth.debian.org
Tue Nov 24 17:28:12 UTC 2009


    Date: Tuesday, November 24, 2009 @ 17:28:11
  Author: jinty-guest
Revision: 1890

Dreaming about how the zope.component package should look in a dh 7 world

Modified:
  zope.component/branches/jinty-dh7/debian/compat
  zope.component/branches/jinty-dh7/debian/control
  zope.component/branches/jinty-dh7/debian/rules

Modified: zope.component/branches/jinty-dh7/debian/compat
===================================================================
--- zope.component/branches/jinty-dh7/debian/compat	2009-11-24 17:14:39 UTC (rev 1889)
+++ zope.component/branches/jinty-dh7/debian/compat	2009-11-24 17:28:11 UTC (rev 1890)
@@ -1 +1 @@
-4
+7

Modified: zope.component/branches/jinty-dh7/debian/control
===================================================================
--- zope.component/branches/jinty-dh7/debian/control	2009-11-24 17:14:39 UTC (rev 1889)
+++ zope.component/branches/jinty-dh7/debian/control	2009-11-24 17:28:11 UTC (rev 1890)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Brian Sutherland <brian at vanguardistas.net>, Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-2)
+Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-11), python-central (>= 0.6.8), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-3)
 Standards-Version: 3.8.3
 XS-Python-Version: all
 XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.component/trunk

Modified: zope.component/branches/jinty-dh7/debian/rules
===================================================================
--- zope.component/branches/jinty-dh7/debian/rules	2009-11-24 17:14:39 UTC (rev 1889)
+++ zope.component/branches/jinty-dh7/debian/rules	2009-11-24 17:28:11 UTC (rev 1890)
@@ -1,13 +1,8 @@
 #!/usr/bin/make -f
 
-include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
+PYDEB_SUGGESTS_EXTRAS=doc test
+PYDEB_RECOMMENDS_EXTRAS=hook
+PYDEB_METAPACKAGE_EXTRAS=zcml
 
-dependencies-python%:
-	(echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra hook --exclude-extra test --exclude-extra zcml --exclude-extra docs) >> debian/$(package).substvars
-	(echo -n 'setuptools:Provides=' && van-pydeb provides --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra hook --exclude-extra test --exclude-extra zcml --exclude-extra docs) >> debian/$(package).substvars
-	# the hook extra is an optimization, to Recommends
-	(echo -n 'setuptools:Recommends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --extra hook) >> debian/$(package).substvars
-	# docs and test to suggests
-	(echo -n 'setuptools:Suggests=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --extra docs --extra test) >> debian/$(package).substvars
-	# -zcml metapackage dependencies
-	(echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --extra zcml) >> debian/$(package)-zcml.substvars
+%:
+	dh --with pydeb --with python-central $@




More information about the pkg-zope-developers mailing list