[Git][debian-gis-team/python-rtree][master] 2 commits: Annotate build dependencies with nocheck & nodoc.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Dec 15 21:04:52 GMT 2025



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


Commits:
dca797b8 by Bas Couwenberg at 2025-12-15T21:59:34+01:00
Annotate build dependencies with nocheck & nodoc.

- - - - -
f493cf3e by Bas Couwenberg at 2025-12-15T22:01:38+01:00
Make pytest output extra verbose.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,8 @@ python-rtree (1.4.1-2) UNRELEASED; urgency=medium
   * Update lintian overrides.
   * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
   * Use test-build-validate-cleanup instead of test-build-twice.
+  * Annotate build dependencies with nocheck & nodoc.
+  * Make pytest output extra verbose.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 12 Sep 2025 17:48:02 +0200
 


=====================================
debian/control
=====================================
@@ -10,11 +10,11 @@ Build-Depends: debhelper-compat (= 13),
                libspatialindex-dev (>= 1.8.5),
                pybuild-plugin-pyproject,
                python3-all,
-               python3-numpy,
-               python3-pytest,
+               python3-numpy <!nocheck>,
+               python3-pytest <!nocheck>,
                python3-setuptools,
-               python3-sphinx,
-               python3-sphinx-issues,
+               python3-sphinx <!nodoc>,
+               python3-sphinx-issues <!nodoc>,
                python3-wheel
 Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-rtree


=====================================
debian/rules
=====================================
@@ -5,15 +5,20 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=rtree
+export PYBUILD_TEST_ARGS=-vv
 
 %:
 	dh $@ --buildsystem=pybuild
 
 execute_after_dh_auto_clean:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	(cd docs && make clean)
+endif
 
 execute_after_dh_auto_build:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	(cd docs && PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) make html)
+endif
 
 override_dh_installchangelogs:
 	dh_installchangelogs docs/source/changes.rst



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/compare/cf3a5b43e61e8108847deb734f11d77b92ff84aa...f493cf3eb5516e996a6de19d6a9ad3e7a54d3cd4

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/compare/cf3a5b43e61e8108847deb734f11d77b92ff84aa...f493cf3eb5516e996a6de19d6a9ad3e7a54d3cd4
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/20251215/c23a4d15/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list