[med-svn] [Git][med-team/cnvkit][master] 2 commits: Run test via pytest

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Nov 27 16:16:44 GMT 2023



Andreas Tille pushed to branch master at Debian Med / cnvkit


Commits:
19efac07 by Andreas Tille at 2023-11-27T17:01:56+01:00
Run test via pytest

- - - - -
ffb4457f by Andreas Tille at 2023-11-27T17:15:45+01:00
Upload to unstable

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,10 @@
-cnvkit (0.9.10-1) UNRELEASED; urgency=medium
+cnvkit (0.9.10-1) unstable; urgency=medium
 
   * Team upload.
   * New upstream version
   * Standards-Version: 4.6.2 (routine-update)
 
- -- Andreas Tille <tille at debian.org>  Tue, 04 Jul 2023 12:04:48 +0200
+ -- Andreas Tille <tille at debian.org>  Mon, 27 Nov 2023 17:11:05 +0100
 
 cnvkit (0.9.9-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -9,16 +9,17 @@ Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-all,
                python3-setuptools,
-               python3-pyfaidx,
-               python3-biopython,
-               python3-pandas,
-               python3-numpy,
-               python3-pysam,
-               python3-scipy,
-               python3-matplotlib,
-               python3-future,
-               python3-pomegranate,
-               r-bioc-dnacopy,
+               python3-pytest <!nocheck>,
+               python3-pyfaidx <!nocheck>,
+               python3-biopython <!nocheck>,
+               python3-pandas <!nocheck>,
+               python3-numpy <!nocheck>,
+               python3-pysam <!nocheck>,
+               python3-scipy <!nocheck>,
+               python3-matplotlib <!nocheck>,
+               python3-future <!nocheck>,
+               python3-pomegranate <!nocheck>,
+               r-bioc-dnacopy <!nocheck>,
 # testing
 # poppler-utils provides pdfunite, needed for the tests
                poppler-utils <!nocheck>


=====================================
debian/rules
=====================================
@@ -3,6 +3,8 @@
 export LC_ALL=C.UTF-8
 export PYBUILD_NAME=cnvkit
 
+export PYBUILD_BEFORE_TEST=ln -s $(CURDIR)/data {build_dir}/data;
+
 include /usr/share/dpkg/pkg-info.mk
 
 %:
@@ -14,13 +16,6 @@ override_dh_auto_install:
 	done
 	dh_auto_install
 
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	cd test && ${MAKE}
-	cd test && ${MAKE} clean || /bin/true
-	rm -Rf test/build test/*.tsv
-endif
-
 override_dh_auto_clean:
 	cd test && ${MAKE} clean || /bin/true
 #	if [ -f cnvkit ]; then mv cnvkit cnvkit.py; fi



View it on GitLab: https://salsa.debian.org/med-team/cnvkit/-/compare/f0b6cd065a00e4584e2ad9da26919ad0e4df5357...ffb4457f5caebb28329fb2f1f81ac6bf7bac5a40

-- 
View it on GitLab: https://salsa.debian.org/med-team/cnvkit/-/compare/f0b6cd065a00e4584e2ad9da26919ad0e4df5357...ffb4457f5caebb28329fb2f1f81ac6bf7bac5a40
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/20231127/e83b6d69/attachment-0001.htm>


More information about the debian-med-commit mailing list