[med-svn] [Git][med-team/python-questplus][master] 4 commits: d/control: move to autopkgtest-pkg-pybuild.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Fri Aug 23 17:05:20 BST 2024
Étienne Mollier pushed to branch master at Debian Med / python-questplus
Commits:
cb26a9d2 by Étienne Mollier at 2024-08-23T18:02:31+02:00
d/control: move to autopkgtest-pkg-pybuild.
- - - - -
7508114e by Étienne Mollier at 2024-08-23T18:02:51+02:00
d/tests/: remove now unneeded manual autopkgtest.
- - - - -
d06c2972 by Étienne Mollier at 2024-08-23T18:03:21+02:00
d/rules: skip test_thurstone_scaling on i386.
- - - - -
5d69a641 by Étienne Mollier at 2024-08-23T18:04:18+02:00
Ready for 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,17 @@
+python-questplus (2023.1-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Andreas Tille ]
+ * Drop versioneer from d/copyright for next upload
+
+ [ Étienne Mollier ]
+ * d/control: move to autopkgtest-pkg-pybuild.
+ * d/tests/: remove now unneeded manual autopkgtest.
+ * d/rules: skip test_thurstone_scaling on i386.
+
+ -- Étienne Mollier <emollier at debian.org> Fri, 23 Aug 2024 18:03:50 +0200
+
python-questplus (2023.1-1) unstable; urgency=medium
* New upstream version (makes numpy patch unnecessary)
=====================================
debian/control
=====================================
@@ -19,7 +19,7 @@ Vcs-Browser: https://salsa.debian.org/med-team/python-questplus
Vcs-Git: https://salsa.debian.org/med-team/python-questplus.git
Homepage: https://github.com/hoechenberger/questplus
Rules-Requires-Root: no
-Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest-pkg-pybuild
Package: python3-questplus
Architecture: any
=====================================
debian/rules
=====================================
@@ -1,11 +1,18 @@
#!/usr/bin/make -f
-
-# DH_VERBOSE := 1
+include /usr/share/dpkg/architecture.mk
export PYBUILD_NAME=questplus
export PYBUILD_TEST_PYTEST = 1
export PYBUILD_BEFORE_TEST=cp -a {dir}/$(PYBUILD_NAME)/tests {build_dir}/$(PYBUILD_NAME)
+# The below test fails on i386 architecture specifically, as adjustments
+# done upstream for 32-bit vs 64-bit do not compensate well the i387
+# FPU, and there is no visible knob to branch to software float
+# processing, like a -ffloat-store C build would do.
+ifneq (,$(filter $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))
+export PYBUILD_TEST_ARGS=-k 'not test_thurstone_scaling'
+endif
+
%:
dh $@ --buildsystem=pybuild
=====================================
debian/tests/control deleted
=====================================
@@ -1,2 +0,0 @@
-Tests: run-unit-test
-Depends: @, python3-all, python3-pytest
=====================================
debian/tests/run-unit-test deleted
=====================================
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-set -e
-
-for py in $(py3versions -s 2> /dev/null)
-do
- pushd questplus/tests
- echo "Testing with $py in $(pwd):"
- http_proxy="" $py -m pytest -v
- popd
-done
-
View it on GitLab: https://salsa.debian.org/med-team/python-questplus/-/compare/f631dcfafdc00e8ded6aceaebf4b4d13109228e8...5d69a641db58dbfc82b7380d6955fc003ed37166
--
View it on GitLab: https://salsa.debian.org/med-team/python-questplus/-/compare/f631dcfafdc00e8ded6aceaebf4b4d13109228e8...5d69a641db58dbfc82b7380d6955fc003ed37166
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/20240823/0a97543c/attachment-0001.htm>
More information about the debian-med-commit
mailing list