diff options
| author | Mohammed Bilal <mdbilal@disroot.org> | 2022-12-04 13:36:57 +0000 |
|---|---|---|
| committer | git-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com> | 2022-12-04 22:39:29 +0000 |
| commit | 50842e911ad24c7f97c5280a81e63a5f0a218c57 (patch) | |
| tree | 36f572abe9600c9586a4deaf0e7ac1b64645fb51 | |
| parent | 7d334644846df19e9512ae17aae046d86c533360 (diff) | |
1.3.4+ds-2 (patches unapplied)import/1.3.4+ds-2ubuntu/oracular-develubuntu/oracularubuntu/noble-develubuntu/nobleubuntu/mantic-develubuntu/manticubuntu/lunar-proposedubuntu/lunar-develubuntu/lunardebian/bookworm
Imported using git-ubuntu import.
Notes
Notes:
* Team upload.
[ Debian Janitor ]
* Update standards version to 4.6.1, no changes needed.
[ Mohammed Bilal ]
* d/{control,rules,t/control} : add b-d on pytest and force
test to run via pytest other than deprecated
"python3 setup.py test".
* d/t/python3: autopkgtests against all supported pyversions
using pytest
| -rw-r--r-- | debian/changelog | 16 | ||||
| -rw-r--r-- | debian/control | 3 | ||||
| -rwxr-xr-x | debian/rules | 2 | ||||
| -rw-r--r-- | debian/tests/control | 4 | ||||
| -rw-r--r-- | debian/tests/python3 | 9 |
5 files changed, 29 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 5a70807..08643aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,19 @@ +python-peakutils (1.3.4+ds-2) unstable; urgency=medium + + * Team upload. + + [ Debian Janitor ] + * Update standards version to 4.6.1, no changes needed. + + [ Mohammed Bilal ] + * d/{control,rules,t/control} : add b-d on pytest and force + test to run via pytest other than deprecated + "python3 setup.py test". + * d/t/python3: autopkgtests against all supported pyversions + using pytest + + -- Mohammed Bilal <mdbilal@disroot.org> Sun, 04 Dec 2022 13:36:57 +0000 + python-peakutils (1.3.4+ds-1) unstable; urgency=medium * New upstream version 1.3.4+ds diff --git a/debian/control b/debian/control index 57efde7..0078844 100644 --- a/debian/control +++ b/debian/control @@ -10,9 +10,10 @@ Build-Depends: python3-all, python3-matplotlib <!nocheck>, python3-pandas <!nocheck>, + python3-pytest <!nocheck>, python3-scipy <!nocheck>, python3-setuptools, -Standards-Version: 4.5.1 +Standards-Version: 4.6.1 Homepage: https://bitbucket.org/lucashnegri/peakutils Vcs-Browser: https://salsa.debian.org/python-team/packages/python-peakutils Vcs-Git: https://salsa.debian.org/python-team/packages/python-peakutils.git diff --git a/debian/rules b/debian/rules index e2a9b25..d1a6e70 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,8 @@ #!/usr/bin/make -f export PYBUILD_NAME=peakutils +export PYBUILD_TEST_ARGS=-v tests/peakutils_test.py + %: dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/tests/control b/debian/tests/control index 1940b87..3070554 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,5 +1,3 @@ Tests: python3 -Depends: - python3-pandas, - @, +Depends: python3-all, python3-pandas, python3-pytest, @ Restrictions: allow-stderr diff --git a/debian/tests/python3 b/debian/tests/python3 index 70de18d..2d8abb2 100644 --- a/debian/tests/python3 +++ b/debian/tests/python3 @@ -1,3 +1,10 @@ #!/bin/bash -python3 tests/peakutils_test.py +set -e -u + +cp -a tests "$AUTOPKGTEST_TMP" +cd "$AUTOPKGTEST_TMP" + +for py in $(py3versions -s); do + $py -m pytest -v tests/peakutils_test.py +done |
