[med-svn] [python-pysam] 01/01: Use pytest instead of nosetest

Andreas Tille tille at debian.org
Mon Sep 25 17:38:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository python-pysam.

commit 578c0e78fc766d491e630483bfcb344319d50aea
Author: Andreas Tille <tille at debian.org>
Date:   Mon Sep 25 19:37:54 2017 +0200

    Use pytest instead of nosetest
---
 debian/changelog |  1 +
 debian/control   |  4 ++--
 debian/rules     | 11 -----------
 3 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9d290ad..7384202 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ python-pysam (0.12.0.1+ds-1) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.0 (no changes needed)
   * Apply upstream patch to fix test suite
     Closes: #871083, #834856
+  * Use pytest instead of nosetest
 
   [ Afif Elghraoui ]
   * New upstream version
diff --git a/debian/control b/debian/control
index 020b1ec..deba46e 100644
--- a/debian/control
+++ b/debian/control
@@ -22,8 +22,8 @@ Build-Depends:
 	tabix,
 	samtools (>= 1.5),
 	bcftools (>= 1.5),
-	python-nose,
-	python3-nose,
+	python-pytest,
+	python3-pytest,
 Standards-Version: 4.1.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-pysam.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/python-pysam.git
diff --git a/debian/rules b/debian/rules
index d062880..39aeb3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,17 +15,6 @@ HTSLIBDIR  := /usr/lib/$(DEB_HOST_MULTIARCH)
 export HTSLIB_LIBRARY_DIR=$(HTSLIBDIR)
 export HTSLIB_INCLUDE_DIR=/usr/include
 
-export PYBUILD_TEST_NOSE=1
-# pybuild calls nosetests as `python{version} -m nose tests`
-#
-# The "tests" argument (passed by pybuild as shown above) fails,
-# so don't pass anything:
-export PYBUILD_TEST_ARGS=
-# This is how we pass parameters to nose without command-line flags
-export NOSE_WHERE=$(CURDIR)/tests
-export NOSE_VERBOSE=2
-export NOSE_NOCAPTURE=1
-
 # DEB_BUILD_OPTIONS := nocheck
 
 clean: clean-tests

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pysam.git



More information about the debian-med-commit mailing list