[med-svn] [Git][med-team/q2-types][master] 2 commits: Make build time tests to pass

Liubov Chuprikova gitlab at salsa.debian.org
Thu Mar 28 18:59:49 GMT 2019



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


Commits:
8a867119 by Liubov Chuprikova at 2019-03-28T18:41:27Z
Make build time tests to pass

- - - - -
31a459a9 by Liubov Chuprikova at 2019-03-28T18:41:59Z
Add ITP bug number

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
 q2-types (2019.1.0-1) UNRELEASED; urgency=medium
 
-  * Initial release (Closes: #<bug>)
+  * Initial release (Closes: #925931)
 
  -- Liubov Chuprikova <chuprikovalv at gmail.com>  Mon, 25 Mar 2019 19:56:36 +0100


=====================================
debian/control
=====================================
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 12~),
                dh-python,
                python3,
                python3-setuptools,
-               python3-pytest,
+               python3-pytest-cov,
                python3-biom-format,
                python3-skbio,
                python3-ijson,
@@ -33,4 +33,24 @@ Depends: ${shlibs:Depends},
          libopenblas-base,
          qiime
 Description: QIIME 2 plugin defining types for microbiome analysis
- <long_description>
+ 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.
+ Key features:
+  * Integrated and automatic tracking of data provenance
+  * Semantic type system
+  * Plugin system for extending microbiome analysis functionality
+  * Support for multiple types of user interfaces (e.g. API, command line,
+ graphical)
+ .
+ QIIME 2 is a complete redesign and rewrite of the QIIME 1 microbiome analysis
+ pipeline. QIIME 2 will address many of the limitations of QIIME 1, while
+ retaining the features that makes QIIME 1 a powerful and widely-used analysis
+ pipeline.
+ .
+ QIIME 2 currently supports an initial end-to-end microbiome analysis pipeline.
+ New functionality will regularly become available through QIIME 2 plugins. You
+ can view a list of plugins that are currently available on the QIIME 2 plugin
+ availability page. The future plugins page lists plugins that are being
+ developed.


=====================================
debian/rules
=====================================
@@ -17,15 +17,15 @@ include /usr/share/dpkg/default.mk
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# For testing, we need .egg-info so the entry points are available.
+export PYBUILD_BEFORE_TEST=python{version} setup.py develop --install-dir {build_dir}
+# Delete .egg-info and other files that were generated along with .egg-info
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/q2-types.egg-* {build_dir}/site.py \
+	{build_dir}/.coverage* {build_dir}/easy-install.pth
+
 %:
 	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_types"
 
-### 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-types/compare/22b9e03ad66724b5f8aca88700d348eaeda4cce7...31a459a93673271174a3c06701d6dee73b87049e

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-types/compare/22b9e03ad66724b5f8aca88700d348eaeda4cce7...31a459a93673271174a3c06701d6dee73b87049e
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/20190328/5bf1f34b/attachment-0001.html>


More information about the debian-med-commit mailing list