[med-svn] [Git][med-team/q2-demux][master] d/rules and more Build-Depends

Liubov Chuprikova gitlab at salsa.debian.org
Tue Jun 4 15:38:29 BST 2019



Liubov Chuprikova pushed to branch master at Debian Med / q2-demux


Commits:
02ebb6c8 by Liubov Chuprikova at 2019-06-04T14:38:14Z
d/rules and more Build-Depends

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -7,6 +7,14 @@ Build-Depends: debhelper (>= 12~),
                dh-python,
                python3,
                python3-setuptools,
+               python3-pytest-cov,
+               python3-yaml,
+               python3-pandas,
+               python3-skbio,
+               python3-psutil,
+               python3-seaborn,
+               qiime,
+               q2-types,
                nodejs
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/q2-demux


=====================================
debian/rules
=====================================
@@ -3,7 +3,7 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
-include /usr/share/dpkg/default.mk
+# include /usr/share/dpkg/default.mk
 # this provides:
 # DEB_SOURCE: the source package name
 # DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
@@ -18,14 +18,8 @@ include /usr/share/dpkg/default.mk
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
+	dh $@ --with python3 --buildsystem=pybuild
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
+override_dh_auto_test:
+	dh_auto_test -- -s custom --test-args="cd {build_dir}; py.test-3 --cov=q2_demux"
 
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source



View it on GitLab: https://salsa.debian.org/med-team/q2-demux/commit/02ebb6c8074c7a3d20bf1040baad61edac1afb00

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-demux/commit/02ebb6c8074c7a3d20bf1040baad61edac1afb00
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/20190604/2d128853/attachment-0001.html>


More information about the debian-med-commit mailing list