[med-svn] [Git][med-team/python-pymummer][master] 7 commits: routine-update: Packaging update

Lance Lin (@linqigang) gitlab at salsa.debian.org
Mon Dec 4 16:32:38 GMT 2023



Lance Lin pushed to branch master at Debian Med / python-pymummer


Commits:
8dc39600 by Lance Lin at 2023-12-04T20:59:41+07:00
routine-update: Packaging update

- - - - -
dedcaa80 by Lance Lin at 2023-12-04T21:01:30+07:00
routine-update: Standards-Version: 4.6.2

- - - - -
e983850a by Lance Lin at 2023-12-04T21:01:35+07:00
routine-update: Build-Depends: s/dh-python/dh-sequence-python3/

- - - - -
9d8d5a5e by Lance Lin at 2023-12-04T21:22:08+07:00
d/rules: Remove override_dh_auto_clean and let dh-sequence-python3 clean .egg-info/ (Closes: #1046452)

- - - - -
d5fbce18 by Lance Lin at 2023-12-04T23:21:25+07:00
d/rules: Replace override_dh_auto_test with PYBUILD variables

- - - - -
e255f6bc by Lance Lin at 2023-12-04T23:22:27+07:00
d/control: Replace autopkgtest-pkg-python with autopkgtest-pkg-pybuild

- - - - -
6b44f0e8 by Lance Lin at 2023-12-04T23:23:20+07:00
d/tests: Removed, run upstream tests with autopkgtest-pkg-pybuild

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/rules
- − debian/tests/control
- − debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+python-pymummer (0.11.0-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Packaging update
+  * Standards-Version: 4.6.2 (routine-update)
+  * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
+  * d/rules: Remove override_dh_auto_clean and let dh-sequence-python3
+    clean .egg-info/ (Closes: #1046452)
+  * d/rules: Replace override_dh_auto_test with PYBUILD variables
+  * d/control: Replace autopkgtest-pkg-python with autopkgtest-pkg-pybuild
+  * d/tests: Removed, run upstream tests with autopkgtest-pkg-pybuild
+
+ -- Lance Lin <lq27267 at gmail.com>  Mon, 04 Dec 2023 20:52:14 +0700
+
 python-pymummer (0.11.0-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -3,16 +3,16 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Steffen Moeller <moeller at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: python
-Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest-pkg-pybuild
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                python3-all,
                python3-setuptools,
-               fastaq (>=3.10.0),
+               fastaq,
                mummer,
                python3-pytest <!nocheck>
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/python-pymummer
 Vcs-Git: https://salsa.debian.org/med-team/python-pymummer.git
 Homepage: https://github.com/sanger-pathogens/pymummer
@@ -22,7 +22,7 @@ Package: python3-pymummer
 Architecture: all
 Depends: ${misc:Depends},
          ${python3:Depends},
-         fastaq (>=3.10.0),
+         fastaq,
          mummer
 Description: Python 3 interface to MUMmer
  pymummer is a Python wrapper for running the programs of the MUMmer


=====================================
debian/rules
=====================================
@@ -6,16 +6,8 @@ include /usr/share/dpkg/default.mk
 
 export PYBUILD_NAME=pymummer
 
-%:
-	LC_ALL=C.UTF-8 dh $@ --with python3 --buildsystem=pybuild
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="{interpreter} -m pytest" \
-	  dh_auto_test
-endif
+export PYBUILD_BEFORE_TEST = mkdir {build_dir}/pymummer; \
+	cp -r {dir}/pymummer/tests {build_dir}/pymummer/
 
-override_dh_auto_clean:
-	rm -f pymummer.egg-info/PKG-INFO pymummer.egg-info/SOURCES.txt pymummer.egg-info/dependency_links.txt pymummer.egg-info/requires.txt pymummer.egg-info/top_level.txt
-	rm -rf .pybuild pymummer/tests/__pycache__ pymummer/__pycache__
+%:
+	LC_ALL=C.UTF-8 dh $@ --buildsystem=pybuild


=====================================
debian/tests/control deleted
=====================================
@@ -1,3 +0,0 @@
-Tests: run-unit-test
-Depends: @, python3-all, python3-pytest
-Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test deleted
=====================================
@@ -1,8 +0,0 @@
-#!/bin/bash
-set -e
-
-for py in $(py3versions --supported)
-do
-	$py -m pytest -v
-done
-



View it on GitLab: https://salsa.debian.org/med-team/python-pymummer/-/compare/51f20ebf11da170a44cf0c05a2a4c802c4562ccf...6b44f0e82c7dae3a5dc123a8ba42d03b74b666bb

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pymummer/-/compare/51f20ebf11da170a44cf0c05a2a4c802c4562ccf...6b44f0e82c7dae3a5dc123a8ba42d03b74b666bb
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/20231204/e91528a3/attachment-0001.htm>


More information about the debian-med-commit mailing list