[Python-modules-commits] [python-djvulibre] 01/02: deb/rules: added exports for PYBUILD_DESTDIR

Daniel Stender danstender-guest at moszumanska.debian.org
Fri May 1 13:08:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

danstender-guest pushed a commit to branch master
in repository python-djvulibre.

commit 1057aa010133c3d9a3f833a243c309426475e435
Author: Daniel Stender <debian at danielstender.com>
Date:   Fri May 1 12:49:56 2015 +0200

    deb/rules: added exports for PYBUILD_DESTDIR
---
 debian/changelog | 4 ++--
 debian/rules     | 7 ++-----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a71d8fe..fa5dc24 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,7 @@ python-djvulibre (0.3.10-1) unstable; urgency=medium
   * deb/copyright: expanded copyright spans.
   * deb/rules:
     + hardened test calls by unset of LANGUAGE (Closes: #695049).
-    + added override for dh_strip (Closes: #775657).
+    + added exports for PYBUILD_DESTDIR (Closes: #775657).
     + dropped Vim setup line.
   * deb/watch: watch pypi.debian.net.
   * Docs package:
@@ -20,7 +20,7 @@ python-djvulibre (0.3.10-1) unstable; urgency=medium
   * Added DEP-8 test suite.
   * Added deb/gbp.conf.
 
- -- Daniel Stender <debian at danielstender.com>  Thu, 26 Feb 2015 01:25:29 +0100
+ -- Daniel Stender <debian at danielstender.com>  Fri, 01 May 2015 12:48:18 +0200
 
 python-djvulibre (0.3.9-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index e12f3d5..06f6ee4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 #export DH_VERBOSE=1
 #export DEB_BUILD_OPTIONS=nocheck
 export PYBUILD_NAME=djvu
+export PYBUILD_DESTDIR_python2=debian/python-djvu/
+export PYBUILD_DESTDIR_python3=debian/python3-djvu/
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
@@ -18,8 +20,3 @@ override_dh_installdocs:
 	http_proxy='127.0.0.1:9' python setup.py build_sphinx
 	dh_installdocs -Xobjects.inv -A doc/credits.txt
 
-override_dh_strip:
-ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
-	dh_strip -ppython-djvu --dbg-package=python-djvu-dbg
-	dh_strip -ppython3-djvu --dbg-package=python3-djvu-dbg
-endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-djvulibre.git



More information about the Python-modules-commits mailing list