[Pkg-privacy-commits] [onionshare] 54/55: Update rules in order to be able to find the paths to the tests. Thanks Piotr Ozarowski.

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Sep 8 10:27:52 UTC 2016


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

u-guest pushed a commit to branch debian
in repository onionshare.

commit fcd6ad72309e4ca10930acf8d46366b87814d11a
Author: Ulrike Uhlig <u at 451f.org>
Date:   Thu Sep 8 12:24:35 2016 +0200

    Update rules in order to be able to find the paths to the tests. Thanks Piotr Ozarowski.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index e629d61..303e613 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+export PYBUILD_BEFORE_TEST=cp -r $(CURDIR)/resources {build_dir}
+export PYBUILD_AFTER_TEST=rm -r {build_dir}/resources
+
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list