[med-svn] [Git][med-team/intake][master] Semi-fix for pybuild

Shayan Doust gitlab at salsa.debian.org
Fri Jun 19 00:44:09 BST 2020



Shayan Doust pushed to branch master at Debian Med / intake


Commits:
4d09bf4a by Shayan Doust at 2020-06-19T00:43:46+01:00
Semi-fix for pybuild

- - - - -


2 changed files:

- + debian/pybuild.testfiles
- debian/rules


Changes:

=====================================
debian/pybuild.testfiles
=====================================
@@ -0,0 +1 @@
+intake.egg-info


=====================================
debian/rules
=====================================
@@ -5,8 +5,20 @@ export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
 
+export PYBUILD_NAME=intake
+
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_install:
+	dh_install
+	
+	PYBUILD_SYSTEM=custom \
+		       PYBUILD_TEST_ARGS='cd {build_dir}; PATH=$(CURDIR)/debian/{package}/usr/bin:$(CURDIR)/debian/{package}/usr/lib:$$PATH {interpreter} -m pytest' \
+		       dh_auto_test --buildsystem=pybuild
+
+override_dh_auto_test:
+



View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/4d09bf4a2582ef7c08da6e38ed7c215bfdd49aa3

-- 
View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/4d09bf4a2582ef7c08da6e38ed7c215bfdd49aa3
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/debian-med-commit/attachments/20200618/0540714c/attachment.html>


More information about the debian-med-commit mailing list