[med-svn] [Git][med-team/fastaq][master] 4 commits: actually fix watchfile

Sascha Steinbiss (@satta) gitlab at salsa.debian.org
Sat Oct 8 14:50:34 BST 2022



Sascha Steinbiss pushed to branch master at Debian Med / fastaq


Commits:
16b03e86 by Sascha Steinbiss at 2022-10-08T15:49:05+02:00
actually fix watchfile

- - - - -
1d3cd3d5 by Sascha Steinbiss at 2022-10-08T15:49:20+02:00
bump Standards-Version

- - - - -
2cac0959 by Sascha Steinbiss at 2022-10-08T15:50:00+02:00
move to pytest

- - - - -
004855f2 by Sascha Steinbiss at 2022-10-08T15:50:08+02:00
bump copyright date

- - - - -


7 changed files:

- debian/changelog
- debian/control
- debian/copyright
- + debian/patches/series
- + debian/patches/tests
- debian/rules
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+fastaq (3.17.0-5) unstable; urgency=medium
+
+  * Actually fix watchfile.
+  * Bump Standards-Version.
+  * Enable tests and move to pytest.
+    Closes: #1018351
+
+ -- Sascha Steinbiss <satta at debian.org>  Sat, 08 Oct 2022 15:29:32 +0200
+
 fastaq (3.17.0-4) unstable; urgency=medium
 
   [ Steffen Moeller ]


=====================================
debian/control
=====================================
@@ -10,10 +10,10 @@ Build-Depends: debhelper-compat (= 13),
                python3,
                python3-setuptools,
                python3-pkg-resources,
-               python3-nose,
+               python3-pytest,
                samtools,
                help2man
-Standards-Version: 4.6.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/med-team/fastaq
 Vcs-Git: https://salsa.debian.org/med-team/fastaq.git
 Homepage: https://github.com/sanger-pathogens/Fastaq


=====================================
debian/copyright
=====================================
@@ -8,7 +8,7 @@ License: GPL-3
 
 Files: debian/*
 Copyright: © 2014 Jorge Soares <j.s.soares at gmail.com>
-           © 2015-2020 Sascha Steinbiss <satta at debian.org>
+           © 2015-2022 Sascha Steinbiss <satta at debian.org>
 License: GPL-3
 
 License: GPL-3


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+tests


=====================================
debian/patches/tests
=====================================
@@ -0,0 +1,15 @@
+Description: Switch away from nose
+Author: Sascha Steinbiss <satta at debian.org>
+Last-Update: 2022-10-08
+--- a/setup.py
++++ b/setup.py
+@@ -11,8 +11,7 @@
+     author_email='path-help at sanger.ac.uk',
+     url='https://github.com/sanger-pathogens/Fastaq',
+     scripts=glob.glob('scripts/*'),
+-    test_suite='nose.collector',
+-    tests_require=['nose >= 1.3'],
++    test_suite='tests',
+     license='GPLv3',
+     classifiers=[
+         'Development Status :: 4 - Beta',


=====================================
debian/rules
=====================================
@@ -2,6 +2,7 @@
 
 export DH_VERBOSE := 1
 export PYBUILD_NAME=fastaq
+export PYBUILD_TEST_PYTEST = 1
 
 mandir := $(CURDIR)/debian/man
 debfolder := $(CURDIR)/debian
@@ -29,3 +30,7 @@ override_dh_installman:
 	sed -i 's/.SH DESCRIPTION/.SH DESCRIPTION\\n.nf/' debian/man/fastaq.1
 	scripts/fastaq 2>&1 | tail -n +13 | debian/make_man
 	dh_installman --
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="cd {dir}; {interpreter} -m pytest pyfastaq/tests/" dh_auto_test


=====================================
debian/watch
=====================================
@@ -1,2 +1,2 @@
 version=4
-https://github.com/sanger-pathogens/fastaq/releases .*/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+https://github.com/sanger-pathogens/fastaq/tags .*/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)



View it on GitLab: https://salsa.debian.org/med-team/fastaq/-/compare/0d2c56d67c3e6dcffbb4b3853e40bd45e67d8ea8...004855f2fcd676a1b8f46ffda98e1ab305174e07

-- 
View it on GitLab: https://salsa.debian.org/med-team/fastaq/-/compare/0d2c56d67c3e6dcffbb4b3853e40bd45e67d8ea8...004855f2fcd676a1b8f46ffda98e1ab305174e07
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/20221008/6442b735/attachment-0001.htm>


More information about the debian-med-commit mailing list