[med-svn] [Git][med-team/python-hmmlearn][master] 3 commits: d/control: build-dep on setuptools-scm to fix wrong "0.0.0" version

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Thu Apr 25 19:18:27 BST 2024



Michael R. Crusoe pushed to branch master at Debian Med / python-hmmlearn


Commits:
2f5cee1b by Michael R. Crusoe at 2024-04-25T20:33:42+03:00
d/control: build-dep on setuptools-scm to fix wrong "0.0.0" version

Closes: #1064529

- - - - -
e8432d7c by Michael R. Crusoe at 2024-04-25T20:58:06+03:00
upgrade to Testsuite: autopkgtest-pkg-pybuild

- - - - -
4ad76963 by Michael R. Crusoe at 2024-04-25T21:16:53+03:00
routine-update: Ready to upload to unstable

- - - - -


5 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-hmmlearn (0.3.0-5) unstable; urgency=medium
+
+  * Team upload.
+  * d/control: build-dep on setuptools-scm to fix wrong "0.0.0" version.
+    Closes: #1064529
+  * Upgrade to using pybuild-autopkgtest instead of the hand-written ones.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Thu, 25 Apr 2024 21:14:30 +0300
+
 python-hmmlearn (0.3.0-4) unstable; urgency=medium
 
   * Add https://github.com/hmmlearn/hmmlearn/pull/545 to solve a problem


=====================================
debian/control
=====================================
@@ -6,6 +6,8 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
                pybuild-plugin-pyproject,
+               python3-setuptools,
+               python3-setuptools-scm,
                python3-all-dev,
                python3-pybind11,
                python3-pytest <!nocheck>,
@@ -16,6 +18,7 @@ Vcs-Browser: https://salsa.debian.org/med-team/python-hmmlearn
 Vcs-Git: https://salsa.debian.org/med-team/python-hmmlearn.git
 Homepage: https://github.com/hmmlearn/hmmlearn
 Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-pybuild
 
 Package: python3-hmmlearn
 Architecture: any
@@ -25,7 +28,7 @@ Depends: ${python3:Depends},
          ${misc:Depends}
 Recommends: ${python3:Recommends},
             python3-numpy,
-            python3-sklearn,
+            python3-sklearn
 Description: unsupervised learning and inference of Hidden Markov Models
  Hmmlearn is a set of algorithms for unsupervised learning and inference
  of Hidden Markov Models. For supervised learning learning of HMMs and


=====================================
debian/rules
=====================================
@@ -3,6 +3,7 @@
 # DH_VERBOSE := 1
 
 export PYBUILD_NAME=hmmlearn
+export PYBUILD_TEST_ARGS=--pyargs hmmlearn
 
 %:
 	dh $@ --buildsystem=pybuild


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


=====================================
debian/tests/run-unit-test deleted
=====================================
@@ -1,17 +0,0 @@
-#!/bin/bash
-set -e
-
-export LC_ALL=C.UTF-8
-if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
-  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
-  # shellcheck disable=SC2064
-  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
-fi
-
-cd "${AUTOPKGTEST_TMP}"
-
-# Run build-time tests
-for py in $(py3versions -s 2> /dev/null)
-do
-    ${py} -m pytest -v /usr/lib/python3/dist-packages/hmmlearn
-done



View it on GitLab: https://salsa.debian.org/med-team/python-hmmlearn/-/compare/78d42ad8b22e5d1a1cd8d2a744e16f3dcccb0e0c...4ad769638971f736119a2dfb9ae95a9aa6af2a6a

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-hmmlearn/-/compare/78d42ad8b22e5d1a1cd8d2a744e16f3dcccb0e0c...4ad769638971f736119a2dfb9ae95a9aa6af2a6a
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/20240425/de193484/attachment-0001.htm>


More information about the debian-med-commit mailing list