Stuart Prescott pushed to branch master at Debian Med / gfapy
Commits: b58e2c56 by Stuart Prescott at 2026-11-12T10:45:41+11:00 Enable upstream test suite as autopkgtest Drop meaningless test script that did not run tests - - - - - 1110dc0e by Stuart Prescott at 2026-11-12T10:46:34+11:00 Drop unneeded clean-up of tests dir - - - - - d42aaf54 by Stuart Prescott at 2026-11-12T10:47:06+11:00 Add patch to fix module detection in setup.py - - - - - 8450e599 by Stuart Prescott at 2026-11-12T10:51:17+11:00 Build and test against all supported Python interpreters - - - - - 69661b16 by Stuart Prescott at 2026-11-12T10:51:17+11:00 Add changelog for upload - - - - - 7 changed files: - debian/changelog - debian/control - + debian/patches/0003-Fix-setup.py-to-only-include-gfapy-in-module.patch - debian/patches/series - debian/rules - − debian/tests/control - − debian/tests/test-example Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +gfapy (1.2.3+dfsg-5) unstable; urgency=medium + + * Team upload. + * Add patch to fix setup.py to not include tests as a module. + * Enable upstream test suite as autopkgtest, deleting current test script + that did not run the tests. + * Build and test against all supported Python interpreters. + + -- Stuart Prescott <[email protected]> Thu, 12 Nov 2026 10:47:58 +1100 + gfapy (1.2.3+dfsg-4) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -7,7 +7,7 @@ Section: science Build-Depends: debhelper-compat (= 14), dh-sequence-python3, - python3, + python3-all, python3-dev, python3-pytest, python3-setuptools, @@ -15,6 +15,7 @@ Build-Depends: Vcs-Browser: https://salsa.debian.org/med-team/gfapy Vcs-Git: https://salsa.debian.org/med-team/gfapy.git Homepage: https://github.com/ggonnella/gfapy +Testsuite: autopkgtest-pkg-pybuild Package: python3-gfapy Architecture: any ===================================== debian/patches/0003-Fix-setup.py-to-only-include-gfapy-in-module.patch ===================================== @@ -0,0 +1,21 @@ +From: Stuart Prescott <[email protected]> +Date: Thu, 12 Nov 2026 10:42:38 +1100 +Subject: Fix setup.py to only include gfapy in module + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 9df057e..b0ec451 100644 +--- a/setup.py ++++ b/setup.py +@@ -31,7 +31,7 @@ setup(name='gfapy', + 'Topic :: Scientific/Engineering :: Bio-Informatics', + 'Topic :: Software Development :: Libraries', + ], +- packages=find_packages(), ++ packages=find_packages(include=["gfapy*"]), + scripts=['bin/gfapy-convert', + 'bin/gfapy-mergelinear', + 'bin/gfapy-renumber', ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ switch-to-pytest.patch regex-raw-strings.patch +0003-Fix-setup.py-to-only-include-gfapy-in-module.patch ===================================== debian/rules ===================================== @@ -2,7 +2,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow export PYBUILD_NAME=gfapy -export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/tests' include /usr/share/dpkg/default.mk ===================================== debian/tests/control deleted ===================================== @@ -1,3 +0,0 @@ -Tests: test-example -Depends: @ -Restrictions: allow-stderr ===================================== debian/tests/test-example deleted ===================================== @@ -1,13 +0,0 @@ -#!/bin/sh -# autopkgtest check: Run test for gfapy. -# Author: Sascha Steinbiss <[email protected]> -set -e - -ORIGDIR=$(pwd) -DATADIR=$ORIGDIR/debian/tests/ -WORKDIR=$(mktemp -d) - -trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM -cd $WORKDIR - -# ./foo View it on GitLab: https://salsa.debian.org/med-team/gfapy/-/compare/d58b0fbe6b6090ad8a852dd8ff1ee7d00503231b...69661b1695ce9978392bb30d1f47fccf9bbc6137 -- View it on GitLab: https://salsa.debian.org/med-team/gfapy/-/compare/d58b0fbe6b6090ad8a852dd8ff1ee7d00503231b...69661b1695ce9978392bb30d1f47fccf9bbc6137 You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
