[Git][debian-gis-team/netcdf4-python][master] 2 commits: Use autopkgtest-pkg-pybuild testsuite.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Jul 16 17:56:23 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / netcdf4-python


Commits:
b7ee549b by Bas Couwenberg at 2023-07-16T18:55:32+02:00
Use autopkgtest-pkg-pybuild testsuite.

- - - - -
bbd7b7fd by Bas Couwenberg at 2023-07-16T18:56:08+02:00
Enable Salsa CI.

- - - - -


5 changed files:

- + debian/.gitlab-ci.yml
- debian/changelog
- debian/control
- debian/rules
- + debian/tests/autopkgtest-pkg-pybuild.conf


Changes:

=====================================
debian/.gitlab-ci.yml
=====================================
@@ -0,0 +1,3 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml


=====================================
debian/changelog
=====================================
@@ -2,6 +2,8 @@ netcdf4-python (1.6.4-2) UNRELEASED; urgency=medium
 
   * Bump debhelper compat to 13.
   * Don't override dh_auto_test for custom pybuild system.
+  * Use autopkgtest-pkg-pybuild testsuite.
+  * Enable Salsa CI.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 12 Jun 2023 16:36:21 +0200
 


=====================================
debian/control
=====================================
@@ -20,6 +20,7 @@ Vcs-Browser: https://salsa.debian.org/debian-gis-team/netcdf4-python/
 Vcs-Git: https://salsa.debian.org/debian-gis-team/netcdf4-python.git
 Homepage: http://unidata.github.io/netcdf4-python/
 Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-pybuild
 
 Package: python3-netcdf4
 Architecture: any


=====================================
debian/rules
=====================================
@@ -21,4 +21,8 @@ export PYBUILD_TEST_ARGS=cd test && NO_NET=1 NO_PLUGINS=1 {interpreter} run_all.
 	  --buildsystem=pybuild
 
 override_dh_auto_test:
+ifneq (,$(filter $(DEB_BUILD_ARCH),s390x hppa powerpc ppc64 sparc64))
 	dh_auto_test || echo "Ignoring test failures"
+else
+	dh_auto_test
+endif


=====================================
debian/tests/autopkgtest-pkg-pybuild.conf
=====================================
@@ -0,0 +1 @@
+architecture=!s390x



View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf4-python/-/compare/e1312abb8b7da244041737f96c45a0c7fe4bf98c...bbd7b7fd44acb79811dbe09bcab73597308e8abb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf4-python/-/compare/e1312abb8b7da244041737f96c45a0c7fe4bf98c...bbd7b7fd44acb79811dbe09bcab73597308e8abb
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/20230716/a6a2e59c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list