[Git][debian-gis-team/aggdraw][master] Don't override dh_auto_test for custom pybuild system.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Jul 16 11:57:52 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / aggdraw
Commits:
f1fcbf7c by Bas Couwenberg at 2023-07-16T12:53:32+02:00
Don't override dh_auto_test for custom pybuild system.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,10 @@
aggdraw (1.3.16-2) UNRELEASED; urgency=medium
- * Bump debhelper-copmpat version to 13.
+ [ Antonio Valentino ]
+ * Bump debhelper-compat version to 13.
+
+ [ Bas Couwenberg ]
+ * Don't override dh_auto_test for custom pybuild system.
-- Antonio Valentino <antonio.valentino at tiscali.it> Sun, 11 Jun 2023 14:19:09 +0000
=====================================
debian/rules
=====================================
@@ -6,14 +6,13 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=aggdraw
+export PYBUILD_TEST_CUSTOM=1
+export PYBUILD_TEST_ARGS=env PYTHONPATH={build_dir} python{version} selftest.py -v
+export PYBUILD_BEFORE_TEST=cp selftest.py {build_dir}
+export PYBUILD_AFTER_TEST=rm -f {build_dir}/selftest.py
%:
dh $@ --with python3,numpy3 --buildsystem=pybuild
-override_dh_auto_test:
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="env PYTHONPATH={build_dir} python{version} selftest.py -v" \
- dh_auto_test
-
override_dh_installchangelogs:
dh_installchangelogs -k CHANGELOG.md
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/f1fcbf7c1837282e9ebd605d27cea845262f0c0a
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/f1fcbf7c1837282e9ebd605d27cea845262f0c0a
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/20230716/56ec4387/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list