[Python-modules-commits] r9422 - in packages/pywbem/trunk/debian (control rules)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Fri Aug 21 19:33:57 UTC 2009


    Date: Friday, August 21, 2009 @ 19:33:56
  Author: bzed
Revision: 9422

Include python.mk

Modified:
  packages/pywbem/trunk/debian/control
  packages/pywbem/trunk/debian/rules

Modified: packages/pywbem/trunk/debian/control
===================================================================
--- packages/pywbem/trunk/debian/control	2009-08-21 19:25:56 UTC (rev 9421)
+++ packages/pywbem/trunk/debian/control	2009-08-21 19:33:56 UTC (rev 9422)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Bernd Zeimetz <bzed at debian.org>
-Build-Depends: debhelper (>= 7), python-all
+Build-Depends: debhelper (>= 7), python-all (>= 2.5.4-1~)
 Build-Depends-Indep: python-support (>= 0.4), docbook-xsl, xsltproc
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pywbem/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pywbem/trunk/

Modified: packages/pywbem/trunk/debian/rules
===================================================================
--- packages/pywbem/trunk/debian/rules	2009-08-21 19:25:56 UTC (rev 9421)
+++ packages/pywbem/trunk/debian/rules	2009-08-21 19:33:56 UTC (rev 9422)
@@ -3,6 +3,14 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+-include /usr/share/python/python.mk
+ifeq (,$(py_sitename))
+  py_sitename = site-packages
+  py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
+  py_sitename_sh = $(py_sitename)
+  py_libdir_sh = $(py_libdir)
+endif
+
 PACKAGE = python-pywbem
 DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"




More information about the Python-modules-commits mailing list