[Git][debian-gis-team/pytroll-schedule][master] 2 commits: Switch to autopkgtest-pkg-pybuild
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Sun Dec 3 17:24:42 GMT 2023
Antonio Valentino pushed to branch master at Debian GIS Project / pytroll-schedule
Commits:
d80e71c6 by Antonio Valentino at 2023-12-03T17:22:22+00:00
Switch to autopkgtest-pkg-pybuild
- - - - -
1cf3e460 by Antonio Valentino at 2023-12-03T17:23:56+00:00
Use the <!nocheck> tag
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/rules
- − debian/tests/control
- − debian/tests/python3
Changes:
=====================================
debian/changelog
=====================================
@@ -8,6 +8,9 @@ pytroll-schedule (0.7.0-3) UNRELEASED; urgency=medium
[ Antonio Valentino ]
* debian/control:
- Move the common package description to source.
+ * Switch to autopkgtest-pkg-pybuild.
+ * debian/rules:
+ - Use <!nocheck> tag.
-- Bas Couwenberg <sebastic at debian.org> Sun, 13 Aug 2023 11:54:36 +0200
=====================================
debian/control
=====================================
@@ -2,7 +2,7 @@ Source: pytroll-schedule
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Antonio Valentino <antonio.valentino at tiscali.it>
Section: python
-Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest-pkg-pybuild
Priority: optional
Build-Depends: debhelper-compat (= 13),
dh-python,
@@ -14,7 +14,7 @@ Build-Depends: debhelper-compat (= 13),
python3-numpy,
python3-pyorbital,
python3-pyresample (>= 1.23),
- python3-pytest,
+ python3-pytest <!nocheck>,
python3-yaml,
python3-setuptools
Standards-Version: 4.6.2
=====================================
debian/rules
=====================================
@@ -3,8 +3,7 @@
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
-
-export PYBUILD_TEST_ARGS=$(CURDIR)/trollsched/tests
+export PYBUILD_TEST_ARGS=-k "not test_bool" $(CURDIR)/trollsched/tests
%:
dh $@ --buildsystem=pybuild
=====================================
debian/tests/control deleted
=====================================
@@ -1,2 +0,0 @@
-Tests: python3
-Depends: @, python3-all, python3-pytest
=====================================
debian/tests/python3 deleted
=====================================
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -efu
-
-PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
-TESTDIR=${PWD}/trollsched/tests
-cd "$AUTOPKGTEST_TMP"
-
-for py in $PYS; do
- echo "=== $py ==="
- $py -m pytest -k "not test_bool" ${TESTDIR} 2>&1
-done
View it on GitLab: https://salsa.debian.org/debian-gis-team/pytroll-schedule/-/compare/40008f065437c6dcf5ede6187c216a7e753ce6a0...1cf3e460a27de5fe96c56caeb647974eb936285d
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pytroll-schedule/-/compare/40008f065437c6dcf5ede6187c216a7e753ce6a0...1cf3e460a27de5fe96c56caeb647974eb936285d
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/pkg-grass-devel/attachments/20231203/56206969/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list