[Python-modules-commits] [python-patch] 01/01: only apply setup.py trick if file is absent

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed May 24 08:41:21 UTC 2017


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

paolog-guest pushed a commit to branch master
in repository python-patch.

commit 6cdd2e3e01bcde6146e5e5597bbcf5de112c9471
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed May 24 10:40:52 2017 +0200

    only apply setup.py trick if file is absent
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index bacb07a..e48c03c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,10 @@ override_dh_auto_test:
 	mv tests/__init__.py tests/run_tests.py
 
 override_dh_auto_clean:
+ifeq ($(wildcard setup.py),)
 	touch setup.py
 	dh_auto_clean
 	rm setup.py
+else
+	dh_auto_clean
+endif

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



More information about the Python-modules-commits mailing list