[Python-modules-commits] r30882 - in packages/pywbem/trunk/debian (changelog rules)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Sat Oct 4 09:35:26 UTC 2014


    Date: Saturday, October 4, 2014 @ 09:35:25
  Author: bzed
Revision: 30882

Use dh --with python2

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

Modified: packages/pywbem/trunk/debian/changelog
===================================================================
--- packages/pywbem/trunk/debian/changelog	2014-10-04 09:29:51 UTC (rev 30881)
+++ packages/pywbem/trunk/debian/changelog	2014-10-04 09:35:25 UTC (rev 30882)
@@ -9,6 +9,7 @@
     - Ship mof_compiler (Closes: #627864)
   * add python-twisted, python-m2crypto and python-epydoc
     as dependencies
+  * Use dh --with python2
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.

Modified: packages/pywbem/trunk/debian/rules
===================================================================
--- packages/pywbem/trunk/debian/rules	2014-10-04 09:29:51 UTC (rev 30881)
+++ packages/pywbem/trunk/debian/rules	2014-10-04 09:35:25 UTC (rev 30882)
@@ -3,16 +3,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
-
--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"
@@ -25,24 +15,23 @@
 
 
 install:
-	dh $@
+	dh $@ --with python2
 
 build: pywbemcli.1 patch
-	dh $@
+	dh $@ --with python2
 
 clean: clean-patched unpatch
 clean-patched:
-	dh clean
+	dh clean --with python2
 
 binary: binary-indep
 binary-arch:
 	# nothing to do
 binary-indep:
-	dh $@ --before dh_install
+	dh $@ --with python2 --before dh_install
 	mv $(CURDIR)/debian/$(PACKAGE)/$(DEFAULT_PYLIB)/pywbem/wbemcli.py \
 		$(CURDIR)/debian/$(PACKAGE)/usr/bin/pywbemcli
 	rm -f $(CURDIR)/debian/$(PACKAGE)/usr/lib/*/*/pywbem/wbemcli.py
-	dh $@ --remaining
+	dh $@ --with python2 --remaining
 	
-
 .PHONY: binary binary-arch binary-indep install build clean clean-patched




More information about the Python-modules-commits mailing list