[med-svn] [Git][med-team/q2templates][master] Build-Depends and d/rules
Liubov Chuprikova
gitlab at salsa.debian.org
Wed Jun 5 12:30:43 BST 2019
Liubov Chuprikova pushed to branch master at Debian Med / q2templates
Commits:
d55d017b by Liubov Chuprikova at 2019-06-05T11:30:18Z
Build-Depends and d/rules
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -3,7 +3,13 @@ Section: science
Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Liubov Chuprikova <chuprikovalv at gmail.com>
-Build-Depends: debhelper (>= 12~)
+Build-Depends: debhelper (>= 12~),
+ dh-python,
+ python3,
+ python3-setuptools,
+ python3-pytest,
+ python3-pandas,
+ python3-jinja2
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/q2templates
Vcs-Git: https://salsa.debian.org/med-team/q2templates.git
@@ -12,9 +18,13 @@ Homepage: https://qiime2.org/
Package: q2templates
Architecture: all
Depends: ${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ${python3:Depends},
+ python3-setuptools,
+ python3-pandas,
+ python3-jinja2
Description: Design template package for QIIME 2 Plugins
- QIIME 2 is a powerful, extensible, and decentralized microbiome analysis
+ QIIME 2 is a powerful, extensible, and decentralized microbiome analysis
package with a focus on data and analysis transparency. QIIME 2 enables
researchers to start an analysis with raw DNA sequence data and finish with
publication-quality figures and statistical results.
=====================================
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,7 @@ 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
-
-### 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
+override_dh_auto_test:
+ dh_auto_test -- -s custom --test-args="cd {build_dir}; py.test-3"
View it on GitLab: https://salsa.debian.org/med-team/q2templates/commit/d55d017bcbbe1dd6ce46546dd35bdd9f54d0e8d2
--
View it on GitLab: https://salsa.debian.org/med-team/q2templates/commit/d55d017bcbbe1dd6ce46546dd35bdd9f54d0e8d2
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/20190605/6d875006/attachment-0001.html>
More information about the debian-med-commit
mailing list