[med-svn] [Git][med-team/q2-metadata][master] 2 commits: Add dependencies

Liubov Chuprikova gitlab at salsa.debian.org
Wed Jun 19 18:37:53 BST 2019



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


Commits:
eb0a6cef by Liubov Chuprikova at 2019-06-19T17:35:48Z
Add dependencies

- - - - -
ea8d140a by Liubov Chuprikova at 2019-06-19T17:37:33Z
Modify d/rules

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -3,7 +3,16 @@ 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-cov,
+               python3-pandas,
+               python3-skbio,
+               qiime,
+               q2templates,
+               q2-types
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/q2-metadata
 Vcs-Git: https://salsa.debian.org/med-team/q2-metadata.git
@@ -11,7 +20,16 @@ Homepage: https://qiime2.org/
 
 Package: q2-metadata
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends},
+         python3-numpy,
+         python3-scipy,
+         python3-pandas,
+         python3-skbio,
+         qiime,
+         q2templates,
+         q2-types
 Description: QIIME 2 plugin for working with and visualizing Metadata
  QIIME 2 is a powerful, extensible, and decentralized microbiome analysis
  package with a focus on data and analysis transparency. QIIME 2 enables


=====================================
debian/rules
=====================================
@@ -3,29 +3,11 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
-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)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export PYBUILD_BEFORE_INSTALL=rm -vf {build_dir}/.coverage*
 
 %:
-	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_metadata"
 
-### 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-metadata/compare/ae7667fd77a1f26562cf0bb96eaa3174dae3be27...ea8d140ac9ebe6c6fc61c1610295f2fb657ec517

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-metadata/compare/ae7667fd77a1f26562cf0bb96eaa3174dae3be27...ea8d140ac9ebe6c6fc61c1610295f2fb657ec517
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/20190619/7a32f0ca/attachment-0001.html>


More information about the debian-med-commit mailing list