[Python-modules-commits] [python-patch] 01/01: avoid make -f debian/rules clean failure due to missing setup.py
Paolo Greppi
paolog-guest at moszumanska.debian.org
Wed May 24 08:11:42 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 9ce88c1dd37d6fb8b98e14e03485169e9adf4999
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Wed May 24 10:09:48 2017 +0200
avoid make -f debian/rules clean failure due to missing setup.py
---
debian/rules | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 6b0ff47..1b5f481 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#! /usr/bin/make -f
-export DH_VERBOSE = 1
-export PYBUILD_NAME = patch
+export DH_VERBOSE=1
+export PYBUILD_NAME=patch
PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/{package}
@@ -13,3 +13,8 @@ override_dh_auto_test:
mv tests/run_tests.py tests/__init__.py
dh_auto_test
mv tests/__init__.py tests/run_tests.py
+
+override_dh_auto_clean:
+ touch setup.py
+ dh_auto_clean
+ rm setup.py
--
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