Nilesh Patra pushed to branch master at Debian Med / python-py2bit
Commits: 69b438fa by Nilesh Patra at 2020-07-09T17:15:39+05:30 Enable testing suite - - - - - f9465aed by Nilesh Patra at 2020-07-09T17:16:51+05:30 Drop un-necessary uupdate - - - - - d2cd7674 by Nilesh Patra at 2020-07-09T17:17:04+05:30 Add autopkgtest - - - - - bc23641a by Nilesh Patra at 2020-07-09T11:50:43+00:00 Update changelog - - - - - e7bc71b7 by Nilesh Patra at 2020-07-09T11:52:59+00:00 Add salsa-ci file (routine-update) - - - - - 8585cafb by Nilesh Patra at 2020-07-09T17:30:56+05:30 compat version: 13, Rules-Requires-Root: no - - - - - 18d04b4d by Nilesh Patra at 2020-07-09T17:31:32+05:30 Add myself to uploaders - - - - - bfdba185 by Nilesh Patra at 2020-07-09T17:32:04+05:30 Add hardening flags - - - - - 7d91bf4f by Nilesh Patra at 2020-07-09T17:33:36+05:30 Enable TestSuite - - - - - 9 changed files: - debian/changelog - debian/control - + debian/patches/enable-tests.patch - + debian/patches/series - debian/rules - + debian/salsa-ci.yml - + debian/tests/control - + debian/tests/run-unit-test - debian/watch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,16 @@ +python-py2bit (0.3.0-4) unstable; urgency=medium + + [ Andreas Tille ] + * At least binary package should be section python + + [ Nilesh Patra ] + * Enable testing suite + * Drop un-necessary uupdate + * Add autopkgtest + * Add salsa-ci file (routine-update) + + -- Nilesh Patra <[email protected]> Thu, 09 Jul 2020 11:51:11 +0000 + python-py2bit (0.3.0-3) unstable; urgency=medium [ Matthias Klose ] ===================================== debian/control ===================================== @@ -2,14 +2,15 @@ Source: python-py2bit Section: science Priority: optional Maintainer: Debian Med Packaging Team <[email protected]> -Uploaders: Steffen Moeller <[email protected]> -Build-Depends: debhelper-compat (= 12), dh-python, +Uploaders: Steffen Moeller <[email protected]>, Nilesh Patra <[email protected]> +Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dev, python3-setuptools Standards-Version: 4.5.0 Homepage: https://github.com/deeptools/py2bit/ Vcs-Browser: https://salsa.debian.org/med-team/python-py2bit Vcs-Git: https://salsa.debian.org/med-team/python-py2bit.git -#Testsuite: autopkgtest-pkg-python +Testsuite: autopkgtest-pkg-python +Rules-Requires-Root: no Package: python3-py2bit Section: python ===================================== debian/patches/enable-tests.patch ===================================== @@ -0,0 +1,15 @@ +Author: Nilesh Patra <[email protected]> +Description: Enable testing suite +Last Changed: Thurs, July 9 2020 +--- a/py2bitTest/test.py ++++ b/py2bitTest/test.py +@@ -1,7 +1,8 @@ + import os + import py2bit ++import unittest + +-class Test(): ++class Test(unittest.TestCase): + fname = os.path.dirname(py2bit.__file__) + "/py2bitTest/foo.2bit" + + def testOpenClose(self): ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +enable-tests.patch ===================================== debian/rules ===================================== @@ -1,6 +1,7 @@ #!/usr/bin/make -f export DH_VERBOSE = 1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME=python-py2bit %: ===================================== debian/salsa-ci.yml ===================================== @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml ===================================== debian/tests/control ===================================== @@ -0,0 +1,4 @@ +Tests: run-unit-test +Depends: @, python3-all +Restrictions: allow-stderr + ===================================== debian/tests/run-unit-test ===================================== @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + + +for py in $(py3versions -r 2> /dev/null) +do + $py -m unittest discover -v +done + ===================================== debian/watch ===================================== @@ -1,4 +1,4 @@ version=4 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%python-py2bit-$1.tar.gz%" \ https://github.com/deeptools/py2bit/tags \ - (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian View it on GitLab: https://salsa.debian.org/med-team/python-py2bit/-/compare/10796f1b80760d5a5088e55c0f866f2c7ad83d78...7d91bf4f17a244e09558b383e2f92fec31b41ff0 -- View it on GitLab: https://salsa.debian.org/med-team/python-py2bit/-/compare/10796f1b80760d5a5088e55c0f866f2c7ad83d78...7d91bf4f17a244e09558b383e2f92fec31b41ff0 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
