[Python-modules-commits] [pytest] 01/01: Do not replace pytest

Sebastian Ramacher sramacher at moszumanska.debian.org
Wed Dec 14 23:29:36 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 2d531dc32f80b0ba379961010cb7d91744ffc1e3
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Thu Dec 15 00:29:23 2016 +0100

    Do not replace pytest
---
 debian/rules | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0ca49ae..141668a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,8 @@ override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=$(CURDIR) $(MAKE) -C doc/en man html
 	mkdir -p debian/tmp
-	cp doc/en/_build/man/pytest.1 debian/pytest-3.1
-	cp doc/en/_build/man/pytest.1 debian/pytest-pypy.1
-	sed -i 's/PYTEST/PYTEST-3/g' debian/pytest-3.1
-	sed -i 's/PYTEST/PYTEST-PYPY/g' debian/pytest-pypy.1
-	sed -i 's/pytest/pytest-3/g' debian/pytest-3.1
-	sed -i 's/pytest/pytest-pypy/g' debian/pytest-pypy.1
+	sed 's/PYTEST/PYTEST-3/g' doc/en/_build/man/pytest.1 > debian/pytest-3.1
+	sed 's/PYTEST/PYTEST-PYPY/g' doc/en/_build/man/pytest.1 > debian/pytest-pypy.1
 
 # 2015-12-16 barry at debian.org: Because pytest does not clean up after itself,
 # use a custom temporary directory (which is easier to clean up manually,

-- 
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