[Python-modules-commits] [pycairo] 06/13: Switch to dh sequences and bump debhelper compatibility to 10
Laurent Bigonville
bigon at moszumanska.debian.org
Sun Nov 19 12:37:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
bigon pushed a commit to tag debian/1.15.4-1
in repository pycairo.
commit 6163b503c2b52cad967b0131d5bcd2a0f1a2c209
Author: Laurent Bigonville <bigon at bigon.be>
Date: Sun Nov 19 11:55:53 2017 +0100
Switch to dh sequences and bump debhelper compatibility to 10
---
debian/changelog | 3 ++-
debian/compat | 2 +-
debian/control | 2 +-
debian/python-cairo-dev.docs | 2 +-
debian/rules | 32 ++++++++------------------------
5 files changed, 13 insertions(+), 28 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 98993d1..42a9d20 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,9 @@ pycairo (1.15.4-1) UNRELEASED; urgency=medium
python 2.5 anymore
* debian/watch: Update watch file, the project has been moved to github
* Bump Standards-Version to 4.1.1 (no further changes)
+ * Switch to dh sequences and bump debhelper compatibility to 10
- -- Laurent Bigonville <bigon at debian.org> Sun, 19 Nov 2017 11:48:53 +0100
+ -- Laurent Bigonville <bigon at debian.org> Sun, 19 Nov 2017 11:55:29 +0100
pycairo (1.8.8-2.2) unstable; urgency=medium
diff --git a/debian/compat b/debian/compat
index 7f8f011..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+10
diff --git a/debian/control b/debian/control
index 45cba0c..0c07fb9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Dave Beckett <dajobe at debian.org>, Torsten Marek <shlomme at debian.org>
-Build-Depends: debhelper (>= 7), cdbs (>= 0.4.49), python-all-dev (>= 2.5.4-1~), python-all-dbg (>= 2.5.4-1~), dh-python, libcairo2-dev (>= 1.13.1), python-sphinx
+Build-Depends: debhelper (>= 10), python-all-dev (>= 2.5.4-1~), python-all-dbg (>= 2.5.4-1~), dh-python, libcairo2-dev (>= 1.13.1), python-sphinx, python-sphinx-rtd-theme
Standards-Version: 4.1.1
Homepage: http://cairographics.org/pycairo/
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pycairo.git
diff --git a/debian/python-cairo-dev.docs b/debian/python-cairo-dev.docs
index 344fcaa..df64f38 100644
--- a/debian/python-cairo-dev.docs
+++ b/debian/python-cairo-dev.docs
@@ -1 +1 @@
-build/html/
+debian/tmp-doc/html
diff --git a/debian/rules b/debian/rules
index 145375f..88d33b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,29 +1,13 @@
#!/usr/bin/make -f
DEB_COMPRESS_EXCLUDE= .js .inv
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+ dh $@ --buildsystem=pybuild --with python2
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-layout=deb
+override_dh_auto_build:
+ dh_auto_build --buildsystem=pybuild
+ sphinx-build -bhtml docs debian/tmp-doc/html
-install/python-cairo-dev::
- python setup.py install_data --install-dir=$(CURDIR)/debian/tmp/usr
- sphinx-build -bhtml doc build/html
-
-build/python-cairo-dbg::
- set -e; \
- for i in $(cdbs_python_flavors); do \
- $$i-dbg ./setup.py build; \
- done
-
-install/python-cairo-dbg::
- for i in $(cdbs_python_flavors); do \
- $$i-dbg ./setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp; \
- done
-
-clean::
- -for i in $(cdbs_python_flavors); do \
- $$i-dbg ./setup.py clean -a; \
- done
- rm -f $(CURDIR)/pycairo.pc $(CURDIR)/src/config.h
- rm -rf $(CURDIR)/build
+override_dh_auto_clean:
+ dh_auto_clean --buildsystem=pybuild
+ rm -rf debian/tmp-doc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycairo.git
More information about the Python-modules-commits
mailing list