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

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit ccc571fe9b0828149159b163b62cf82bef686ca6
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Tue Nov 5 23:18:39 2013 +0100

    dh_python3: add support for debian/package.pyremove files
---
 debian/changelog | 6 ++++++
 dh_python3       | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3380f39..b70104b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-python (1.20131021-2) UNRELEASED; urgency=low
+
+  * dh_python3: add support for debian/package.pyremove files
+
+ -- Piotr Ożarowski <pi...@debian.org>  Tue, 05 Nov 2013 22:57:20 +0100
+
 dh-python (1.20131021-1) unstable; urgency=low
 
   * dh_python2: fix renaming debug extensions with multiarch tuples
diff --git a/dh_python3 b/dh_python3
index 34deef4..e201dd2 100755
--- a/dh_python3
+++ b/dh_python3
@@ -35,6 +35,7 @@ from dhpython.version import supported, default, Version, 
VersionRange
 from dhpython.pydist import validate as validate_pydist
 from dhpython.fs import fix_locations, Scan
 from dhpython.option import Option
+from dhpython.tools import pyremove
 
 # initialize script
 logging.basicConfig(format='%(levelname).1s: dh_python3 '
@@ -171,6 +172,11 @@ def main():
         interpreter.debug = package.endswith('-dbg')
 
         if not private_dir:
+            try:
+                pyremove(interpreter, package, options.vrange)
+            except Exception as err:
+                log.error("%s.pyremove: %s", package, err)
+                exit(5)
             fix_locations(package, interpreter, SUPPORTED, options)
         stats = Scanner(interpreter, package, private_dir, options).result
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/reproducible/dh-python.git

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to