[Git][debian-gis-team/python-stetl][master] Annotate build dependencies with nocheck & nodoc.

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



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


Commits:
7f6df937 by Bas Couwenberg at 2025-12-15T22:18:38+01:00
Annotate build dependencies with nocheck & nodoc.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -4,6 +4,7 @@ python-stetl (2.1-3) 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.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 28 Jul 2024 20:00:16 +0200
 


=====================================
debian/control
=====================================
@@ -10,15 +10,14 @@ Build-Depends: debhelper-compat (= 13),
                pylint,
                python3-all,
                python3-deprecated,
-               python3-flake8,
                python3-gdal,
                python3-jinja2,
                python3-lxml,
-               python3-mock,
-               python3-nose2,
+               python3-mock <!nocheck>,
+               python3-nose2 <!nocheck>,
                python3-psycopg2,
                python3-setuptools,
-               python3-sphinx,
+               python3-sphinx <!nodoc>,
                docbook2x,
                docbook-xsl,
                docbook-xml,


=====================================
debian/rules
=====================================
@@ -19,7 +19,9 @@ MANPAGES := $(wildcard debian/man/*.*.xml)
 	dh $@ --buildsystem=pybuild
 
 execute_after_dh_auto_clean:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	(cd docs && make clean)
+endif
 
 execute_before_dh_auto_build:
 	# Create man page from DocBook XML
@@ -29,7 +31,9 @@ execute_before_dh_auto_build:
 	done
 
 execute_after_dh_auto_build:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	(cd docs && make html)
+endif
 
 execute_after_dh_auto_install:
 	# Move usr/bin/stetl to stetl package
@@ -37,5 +41,7 @@ execute_after_dh_auto_install:
 	mv debian/python3-stetl/usr/bin debian/stetl/usr
 
 execute_after_dh_installexamples:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	# Remove executable bit
 	find debian/*/usr/share/doc/*/examples/ -type f -exec chmod 644 {} \;
+endif



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-stetl/-/commit/7f6df9377d43df024e5b51db50669af95dfab3d6

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-stetl/-/commit/7f6df9377d43df024e5b51db50669af95dfab3d6
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/05532dd6/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list