[python-stetl] 08/12: Copy tests directory to build directory.

Bas Couwenberg sebastic at debian.org
Tue Nov 7 18:53:10 UTC 2017


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

sebastic pushed a commit to branch master
in repository python-stetl.

commit 8ab2a7ea01a52d99e58af8e88fd56029fdb5a42c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Nov 7 19:23:48 2017 +0100

    Copy tests directory to build directory.
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e2f62a1..caaedf4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ python-stetl (1.1+ds-1) UNRELEASED; urgency=medium
   * Update watch file to use HTTPS.
   * Update Files-Excluded to remove all .pyc files.
   * Add build dependencies for tests.
+  * Copy tests directory to build directory.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 07 Nov 2017 19:04:00 +0100
 
diff --git a/debian/rules b/debian/rules
index 6b3541a..a2b0b3b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=stetl
+export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
 
 include /usr/share/dpkg/pkg-info.mk
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-stetl.git



More information about the Pkg-grass-devel mailing list