[Reproducible-builds] [dh-python] 58/183: dh_pypy: fix prerm script to remove .pyc files
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:20 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 7b3d141f4e5a7791b5081cc945cb8e656b3b933d
Author: Piotr Ożarowski <piotr at debian.org>
Date: Wed Aug 7 16:43:47 2013 +0200
dh_pypy: fix prerm script to remove .pyc files
---
autoscripts/prerm-pypyclean | 2 +-
debian/changelog | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/autoscripts/prerm-pypyclean b/autoscripts/prerm-pypyclean
index e6d7d3e..331a061 100644
--- a/autoscripts/prerm-pypyclean
+++ b/autoscripts/prerm-pypyclean
@@ -1,6 +1,6 @@
if which pypyclean >/dev/null 2>&1; then
pypyclean -p #PACKAGE# #ARGS#
else
- dpkg -L #PACKAGE# | grep '\.py$' | sed -r 's,/([^/]*).py$,/__pycache__/\1\.*,' | xargs rm
+ dpkg -L #PACKAGE# | grep '\.py$' | sed -r 's,/([^/]*).py$,/__pycache__/\1\.pyc,' | xargs rm
find /usr/lib/pypy/dist-packages/ -type d -name __pycache__ -empty | xargs rmdir
fi
diff --git a/debian/changelog b/debian/changelog
index 6ab25ef..04e379d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
-dh-python (1.20130803-1) UNRELEASED; urgency=low
+dh-python (1.20130807-1) unstable; urgency=low
* dh_python3: do not add multiarch triplets in python3.2's extensions -
mutliarch support was disabled in this interpreter
+ * dh_pypy: fix prerm script to remove .pyc files
-- Piotr Ożarowski <piotr at debian.org> Sat, 03 Aug 2013 12:41:15 +0200
--
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