[Python-modules-commits] [python-cherrypy] 08/10: switch build system from cdbs to dh
Mattia Rizzolo
mattia at mapreri.org
Sat Dec 12 22:02:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository python-cherrypy.
commit 64b0b3b65cf9218ed80e43200f7b65d6bf38c10a
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Dec 12 21:58:02 2015 +0000
switch build system from cdbs to dh
---
debian/control | 2 +-
debian/rules | 16 ++++++----------
2 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/debian/control b/debian/control
index dcdf66d..810fa13 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: python-cherrypy
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.41), debhelper (>= 9), python-setuptools (>= 0.6a9), python, dh-python
+Build-Depends: debhelper (>= 9), python-setuptools (>= 0.6a9), python, dh-python
Standards-Version: 3.9.6
Homepage: http://www.cherrypy.org/
XS-Python-Version: all
diff --git a/debian/rules b/debian/rules
index 551b01e..8029186 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,10 @@
#!/usr/bin/make -f
-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
+%:
+ dh $@ --with python2
-DEB_COMPRESS_EXCLUDE=.py .pdf
-DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-lib usr/share/python-support/python-cherrypy --install-data usr/share/doc/python-cherrypy
-# hack around CDBS bug -- see #373678
-DEB_PYTHON_INSTALL_ARGS := ${DEB_PYTHON_INSTALL_ARGS_ALL}
+override_dh_auto_install:
+ dh_auto_install -- --install-data usr/share/doc/python-cherrypy
-clean::
- # hack (CDBS bug -- see #300149)
- -rm -rf build
+override_dh_compress:
+ dh_compress -X.pdf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-cherrypy.git
More information about the Python-modules-commits
mailing list