[Python-modules-commits] [pytest] 01/01: Fix the dh_auto_clean rule.
Barry Warsaw
barry at moszumanska.debian.org
Thu Dec 17 23:49:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository pytest.
commit 637f2ac13db471d70f340887e1b5c165ba1fcfc8
Author: Barry Warsaw <barry at python.org>
Date: Thu Dec 17 18:48:48 2015 -0500
Fix the dh_auto_clean rule.
---
debian/changelog | 1 +
debian/rules | 22 +++++-----------------
2 files changed, 6 insertions(+), 17 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6092c4a..10c3ea8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
pytest (2.8.5-1) UNRELEASED; urgency=medium
+ * Team upload.
* New upstream release.
* d/control: Update the Vcs-* fields for git.
* d/patches:
diff --git a/debian/rules b/debian/rules
index 9548b8f..527fbcb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,20 +37,8 @@ override_dh_auto_install:
debian/python3-pytest/usr/bin/py.test-3.5
rm -rf debian/python3-pytest/usr/lib/python3.5
-# override_dh_auto_clean:
-# rm -rf doc/en/_build build pytest.egg-info
-# find . \( -name '*.py[oc]' -o -name __pycache__ \) -delete
-# dh_auto_clean
-
-# override_dh_clean:
-# rm debian/py.test.1 debian/py.test-3.1 -f
-# dh_clean
-
-# override_dh_auto_test:
-# ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-# set -ex; \
-# export TMPDIR=`mktemp -d pytest.tmp.XXXXXXXXXX --tmpdir=$$TMPDIR`; \
-# for py in $(PYVERS) $(PY3VERS); do \
-# PYTHONPATH=$(CURDIR) python$$py -m pytest testing ; \
-# done
-# endif
+override_dh_auto_clean:
+ rm -rf doc/en/_build
+ rm -f debian/py.test.1 debian/py.test-3.1
+ rm -rf pytest.egg-info .cache
+ dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest.git
More information about the Python-modules-commits
mailing list