[med-svn] [Git][med-team/qiime][master] Make .egg-info available for build time tests
Liubov Chuprikova
gitlab at salsa.debian.org
Sun Oct 28 13:53:24 GMT 2018
Liubov Chuprikova pushed to branch master at Debian Med / qiime
Commits:
b5e6ad53 by Liubov Chuprikova at 2018-10-28T13:52:41Z
Make .egg-info available for build time tests
- - - - -
7 changed files:
- debian/changelog
- debian/control
- − debian/qiime-data.install
- − debian/qiime-doc.install
- − debian/qiime.install
- − debian/qiime.manpages
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,13 @@
qiime (2018.8.0-1) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* Switch to Qiime2
- Adapt watch file
- Point Homepage to Qiime2
+ [ Liubov Chuprikova ]
+ * Make .egg-info available for build time tests
+
-- Andreas Tille <tille at debian.org> Fri, 19 Oct 2018 15:20:48 +0200
qiime (1.9.1+dfsg-3) unstable; urgency=medium
=====================================
debian/control
=====================================
@@ -13,7 +13,6 @@ Build-Depends: debhelper (>= 11~),
python3-bibtexparser,
python3-decorator,
python3-pandas,
- python3-pkg-resources,
python3-tzlocal,
python3-yaml
Standards-Version: 4.1.5
@@ -32,7 +31,7 @@ Depends: ${shlibs:Depends},
python3-numpy,
python3-pandas,
python3-tzlocal,
- python3-yaml
+ python3-yaml,
python-burrito,
python-burrito-fillings (>= 0.1.1),
python-biom-format,
=====================================
debian/qiime-data.install deleted
=====================================
@@ -1,2 +0,0 @@
-qiime_test_data/align_seqs/core_set_aligned.fasta.imputed /usr/share/qiime/data
-#qiime_test_data/filter_alignment/lanemask_in_1s_and_0s /usr/share/qiime/data
=====================================
debian/qiime-doc.install deleted
=====================================
@@ -1,3 +0,0 @@
-examples/ usr/share/doc/qiime
-doc/_build/* usr/share/doc/qiime
-qiime/support_files/denoiser/TestData usr/lib/qiime/support_files/denoiser
=====================================
debian/qiime.install deleted
=====================================
@@ -1,22 +0,0 @@
-debian/qiime_config etc/qiime
-debian/scripts/qiime usr/bin
-debian/scripts/shell/* usr/lib/qiime/shell
-debian/scripts/shell/.[bz]* usr/lib/qiime/shell
-debian/scripts/uclust usr/lib/qiime/bin
-debian/scripts/usearch* usr/lib/qiime/bin
-debian/scripts/print* usr/lib/qiime/bin
-debian/scripts/ParsInsert usr/lib/qiime/bin
-debian/scripts/FastTree usr/lib/qiime/bin
-debian/scripts/*.py usr/lib/qiime/bin
-debian/tmp/usr/bin/*.py usr/lib/qiime/bin
-qiime/support_files/denoiser/FlowgramAlignment/FlowgramAli_4frame usr/lib/qiime/support_files/denoiser/bin
-qiime/*.py usr/share/pyshared/qiime
-qiime/denoiser usr/share/pyshared/qiime
-qiime/parallel usr/share/pyshared/qiime
-qiime/workflow usr/share/pyshared/qiime
-qiime/pycogent_backports usr/share/pyshared/qiime
-qiime/support_files/denoiser/Data usr/share/qiime/support_files/denoiser
-qiime/support_files/css/* usr/share/qiime/support_files/css
-qiime/support_files/images/* usr/share/qiime/support_files/images
-qiime/support_files/R/* usr/share/qiime/support_files/R
-qiime/support_files/js/* usr/share/qiime/support_files/js
=====================================
debian/qiime.manpages deleted
=====================================
@@ -1 +0,0 @@
-debian/*.1
=====================================
debian/rules
=====================================
@@ -5,14 +5,15 @@
include /usr/share/dpkg/default.mk
-export QIIMETEST=1
-
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}/qiime2.egg-* {build_dir}/site.py
+
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- QIIMETEST=1 dh_auto_test
-endif
+ dh_auto_test -- -s custom --test-args="cd {build_dir}; QIIMETEST= nosetests3"
View it on GitLab: https://salsa.debian.org/med-team/qiime/commit/b5e6ad5397315c362d3e0dbc1a1362efa2b718be
--
View it on GitLab: https://salsa.debian.org/med-team/qiime/commit/b5e6ad5397315c362d3e0dbc1a1362efa2b718be
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/20181028/04db98f3/attachment-0001.html>
More information about the debian-med-commit
mailing list