[Python-modules-commits] [pytest] 09/09: Clean up temporary directory
Sebastian Ramacher
sramacher at moszumanska.debian.org
Mon Mar 21 12:59:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
sramacher pushed a commit to branch master
in repository pytest.
commit 7809967e63d85f0c05c520ac1d463038826f431a
Author: Sebastian Ramacher <sebastian at ramacher.at>
Date: Mon Mar 21 13:55:39 2016 +0100
Clean up temporary directory
---
debian/rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 057fe71..2584f00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export PYBUILD_NAME=pytest
override_dh_auto_build:
dh_auto_build
- PYTHONPATH=`pwd` $(MAKE) -C doc/en man html
+ PYTHONPATH=$(CURDIR) $(MAKE) -C doc/en man html
cp doc/en/_build/man/pytest.1 debian/py.test.1
cp debian/py.test.1 debian/py.test-3.1
sed -i 's/PYTEST/PY.TEST/g' debian/py.test.1
@@ -19,9 +19,9 @@ override_dh_auto_build:
# use a custom temporary directory (which is easier to clean up manually,
# e.g. in an sbuild).
override_dh_auto_test:
- TMPDIR=`mktemp -t -d pytest.XXXXXXXXXX` \
+ mkdir -p debian/tmp/test-working-directory
PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="cd $$TMPDIR && {interpreter} -m pytest --lsof -rfsxX --ignore={dir}/testing/cx_freeze {dir}/testing" dh_auto_test
+ PYBUILD_TEST_ARGS="cd debian/tmp/test-working-directory && {interpreter} -m pytest --lsof -rfsxX --ignore={dir}/testing/cx_freeze {dir}/testing" dh_auto_test
override_dh_auto_install:
dh_auto_install
--
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