[Git][debian-gis-team/totalopenstation][master] Use --pyargs for built library.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Oct 13 07:41:21 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / totalopenstation


Commits:
75799b99 by Bas Couwenberg at 2023-10-13T08:41:10+02:00
Use --pyargs for built library.

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -2,13 +2,10 @@
 
 export DH_OPTIONS
 
-ifeq ($(PYBUILD_AUTOPKGTEST),1)
-export PYBUILD_BEFORE_TEST=cp -rv {dir}/sample_data {dir}/totalopenstation {build_dir}
-export PYBUILD_TEST_ARGS=-vv totalopenstation/tests
-export PYBUILD_AFTER_TEST=rm -rf {build_dir}/sample_data {build_dir}/totalopenstation
-else
 export PYBUILD_BEFORE_TEST=cp -r {dir}/sample_data {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/sample_data
+ifeq ($(PYBUILD_AUTOPKGTEST),1)
+export PYBUILD_TEST_ARGS=-vv --pyargs totalopenstation
 endif
 
 INSTDIR=debian/tmp



View it on GitLab: https://salsa.debian.org/debian-gis-team/totalopenstation/-/commit/75799b99cbfff0f279302364448fb9cdaa32f5a9

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/totalopenstation/-/commit/75799b99cbfff0f279302364448fb9cdaa32f5a9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20231013/9b2317f8/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list