[med-svn] [Git][med-team/q2-cutadapt][master] Tests are not passing:

Liubov Chuprikova gitlab at salsa.debian.org
Thu Jun 20 18:25:38 BST 2019



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


Commits:
d5e650c1 by Liubov Chuprikova at 2019-06-20T17:24:40Z
Tests are not passing:
Need cutadapt v2.3

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -3,29 +3,15 @@
 # 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-cutadapt.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_cutadapt"
 
-### 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-cutadapt/commit/d5e650c1e843dc1a6f43ec24b4ba4e137168815d

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-cutadapt/commit/d5e650c1e843dc1a6f43ec24b4ba4e137168815d
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/20190620/dfdc6735/attachment-0001.html>


More information about the debian-med-commit mailing list