[Reproducible-builds] [dh-python] 137/183: fix PYDIST_DPKG_SEARCH_TPLS['cpython2'] pattern

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:30 UTC 2014


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 709ac18020270b2b8cb322b8adb0f1c9760dfee1
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Mon Oct 7 19:51:35 2013 +0200

    fix PYDIST_DPKG_SEARCH_TPLS['cpython2'] pattern
    
    thanks to Sebastian Ramacher for finding this bug
---
 debian/changelog     | 4 ++++
 dhpython/__init__.py | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0d729d0..a1df418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
 dh-python (1.20131003-2) UNRELEASED; urgency=low
 
+  [ Stefano Rivera ]
   * distutils build plugin: use default interpreter symlink in build step as
     well as the install step (if interpreter version matches the default one).
     So that shebangs in setuptools scripts.
 
+  [ Piotr Ożarowski ]
+  * dh_python2: searching for packages with egg-info fixed
+
  -- Stefano Rivera <stefanor at debian.org>  Sun, 06 Oct 2013 18:14:31 +0200
 
 dh-python (1.20131003-1) unstable; urgency=low
diff --git a/dhpython/__init__.py b/dhpython/__init__.py
index 12cc3f2..bde749f 100644
--- a/dhpython/__init__.py
+++ b/dhpython/__init__.py
@@ -75,7 +75,7 @@ PYDIST_OVERRIDES_FNAMES = {
     'pypy': 'debian/pypydist-overrides'}
 
 PYDIST_DPKG_SEARCH_TPLS = {
-    'cpython2': "*/%s-?*\.egg-info | grep '/python2\../\|/pyshared/'",
+    'cpython2': "*/{}-?*\.egg-info | grep '/python2\../\|/pyshared/'",
     'cpython3': '*python3/*/{}-?*\.egg-info',
     'pypy': '*pypy/*/{}-?\.egg-info'}
 

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



More information about the Reproducible-builds mailing list