[Python-modules-commits] r7696 - in packages/cherrypy3/trunk/debian (changelog control rules)

kov at users.alioth.debian.org kov at users.alioth.debian.org
Sun Feb 22 16:40:31 UTC 2009


    Date: Sunday, February 22, 2009 @ 16:40:30
  Author: kov
Revision: 7696

  * debian/rules, debian/control:
  - use debhelper 7 instead of cdbs; this rework also makes our
    installation process stop depending on python-support locations
    (Closes: #516144)

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

Modified: packages/cherrypy3/trunk/debian/changelog
===================================================================
--- packages/cherrypy3/trunk/debian/changelog	2009-02-22 14:08:17 UTC (rev 7695)
+++ packages/cherrypy3/trunk/debian/changelog	2009-02-22 16:40:30 UTC (rev 7696)
@@ -3,6 +3,10 @@
   * Making lintian happy release
   * debian/control:
   - added ${misc:Depends} to python-cherrypy3's Depends line
+  * debian/rules, debian/control:
+  - use debhelper 7 instead of cdbs; this rework also makes our
+    installation process stop depending on python-support locations
+    (Closes: #516144)
   * debian/rules:
   - remove aditional LICENSE.txt file that is being installed
   * debian/rules, debian/python-cherrypy3.dirs, debian/python-cherrypy3.links,

Modified: packages/cherrypy3/trunk/debian/control
===================================================================
--- packages/cherrypy3/trunk/debian/control	2009-02-22 14:08:17 UTC (rev 7695)
+++ packages/cherrypy3/trunk/debian/control	2009-02-22 16:40:30 UTC (rev 7696)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Gustavo Noronha Silva <kov at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.42), debhelper (>= 5.0.37.1), python-setuptools (>= 0.6a9), python-all-dev (>= 2.3.5-11), python-support (>= 0.6.4)
+Build-Depends: debhelper (>= 7.0.0), python-setuptools (>= 0.6a9), python-all-dev (>= 2.3.5-11), python-support (>= 0.6.4)
 Build-Depends-Indep: python-epydoc
 Standards-Version: 3.8.0
 Homepage: http://www.cherrypy.org/

Modified: packages/cherrypy3/trunk/debian/rules
===================================================================
--- packages/cherrypy3/trunk/debian/rules	2009-02-22 14:08:17 UTC (rev 7695)
+++ packages/cherrypy3/trunk/debian/rules	2009-02-22 16:40:30 UTC (rev 7696)
@@ -2,25 +2,43 @@
 
 DEB_PYTHON_SYSTEM := pysupport
 
-include /usr/share/cdbs/1/rules/buildcore.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-
 DEB_COMPRESS_EXCLUDE=.py .pdf
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
-PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
 
-common-binary-post-install-indep::
+clean:
+	dh clean
+	-rm -rf api
+
+
+build:
+	env PYTHONPATH=`pwd` epydoc --name CherryPy3 --url http://www.cherrypy.org/ -o api cherrypy
+	dh build
+
+
+install: build
+	dh install --before dh_pysupport
+
 	# the 'daemonization' helper should be made available properly
-	mv debian/python-cherrypy3/usr/share/python-support/python-cherrypy3/cherrypy/cherryd \
+	mv debian/python-cherrypy3/usr/lib/python*/*/cherrypy/cherryd \
 		debian/python-cherrypy3/usr/sbin/
 	chmod a+x debian/python-cherrypy3/usr/sbin/cherryd
 
-	rm debian/python-cherrypy3/usr/share/python-support/python-cherrypy3/cherrypy/LICENSE.txt
+	# no additional licensing files wanted =)
+	find debian/python-cherrypy3/ -name LICENSE.txt -exec rm {} \;
 
-post-patches::
-	env PYTHONPATH=`pwd` epydoc --name CherryPy3 --url http://www.cherrypy.org/ -o api cherrypy
+	dh install --remaining
 
-clean::
-	-rm -rf api
+
+binary-indep: build install
+	dh binary-indep --before dh_compress
+	dh_compress -X.py -X.pdf
+	dh binary-indep --remaining
+
+
+binary-arch: build install
+
+
+binary: build binary-indep binary-arch
+
+
+.PHONY: build clean install binary-indep binary-arch binary




More information about the Python-modules-commits mailing list