Liubov Chuprikova pushed to branch master at Debian Med / q2-feature-classifier
Commits: e04383d4 by Liubov Chuprikova at 2019-07-04T10:36:10Z Add dependencies - - - - - 99802719 by Liubov Chuprikova at 2019-07-04T10:36:36Z 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 <[email protected]> Uploaders: Liubov Chuprikova <[email protected]> -Build-Depends: debhelper (>= 12~) +Build-Depends: debhelper (>= 12~), + dh-python, + python3, + python3-setuptools, + python3-pytest-cov, + python3-skbio, + ncbi-blast+, + vsearch, + qiime, + q2-types Standards-Version: 4.3.0 Vcs-Browser: https://salsa.debian.org/med-team/q2-feature-classifier Vcs-Git: https://salsa.debian.org/med-team/q2-feature-classifier.git @@ -12,7 +21,15 @@ Homepage: https://qiime2.org/ Package: q2-feature-classifier Architecture: all Depends: ${shlibs:Depends}, - ${misc:Depends} + ${misc:Depends}, + ${python3:Depends}, + python3-sklearn, + python3-skbio, + python3-biom-format, + ncbi-blast+, + vsearch, + qiime, + q2-types Description: QIIME 2 plugin supporting taxonomic classification 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,18 @@ # 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 +# 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_BEFORE_INSTALL=rm -rvf {build_dir}/q2-feature-classifier.egg-* \ + {build_dir}/site.py {build_dir}/.coverage* {build_dir}/easy-install.pth %: - 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_feature_classifier" -### 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_fixperms: + dh_fixperms + chmod 644 $(CURDIR)/debian/q2-feature-classifier/usr/lib/python3/dist-packages/q2_feature_classifier/tests/data/* View it on GitLab: https://salsa.debian.org/med-team/q2-feature-classifier/compare/9406b379425e8043e9370016c322af5c8b80e08b...99802719ea844239ae92f191905126ab0d31d6dd -- View it on GitLab: https://salsa.debian.org/med-team/q2-feature-classifier/compare/9406b379425e8043e9370016c322af5c8b80e08b...99802719ea844239ae92f191905126ab0d31d6dd You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
