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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Dec 15 20:08:55 GMT 2025



Bas Couwenberg pushed to branch master at Debian GIS Project / pycsw


Commits:
6a87dd47 by Bas Couwenberg at 2025-12-15T21:03:16+01:00
Annotate build dependencies with nocheck & nodoc.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ pycsw (2.6.2+dfsg-4) UNRELEASED; urgency=medium
 
   * Team upload.
   * Add python3-legacy-cgi to (build) dependencies.
+  * Annotate build dependencies with nocheck & nodoc.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 29 Nov 2025 10:21:59 +0100
 


=====================================
debian/control
=====================================
@@ -17,21 +17,21 @@ Build-Depends: apache2-dev,
                python3-geolinks,
                python3-legacy-cgi,
                python3-lxml,
-               python3-mock,
+               python3-mock <!nocheck>,
                python3-owslib,
                python3-pkg-resources,
                python3-psycopg2 <!nocheck>,
                python3-pyproj,
-               python3-pytest,
-               python3-pytest-cov,
-               python3-pytest-timeout,
+               python3-pytest <!nocheck>,
+               python3-pytest-cov <!nocheck>,
+               python3-pytest-timeout <!nocheck>,
                python3-pytz,
                python3-setuptools,
                python3-shapely,
-               python3-sphinx,
+               python3-sphinx <!nodoc>,
                python3-sqlalchemy,
                python3-xmltodict,
-               ronn (>= 0.9.0)
+               ronn (>= 0.9.0) <!nodoc>
 Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/pycsw
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pycsw.git
@@ -61,14 +61,8 @@ Description: OGC compliant metadata (Catalogue Service for the Web) server
 
 Package: python3-pycsw
 Architecture: all
-Depends: python3-geolinks,
-         python3-lxml,
-         python3-owslib,
-         python3-pkg-resources,
-         python3-pyproj,
+Depends: python3-pkg-resources,
          python3-pytz,
-         python3-shapely,
-         python3-xmltodict,
          ${python3:Depends},
          ${misc:Depends}
 Description: OGC compliant metadata (Catalogue Service for the Web) server - Python 3


=====================================
debian/rules
=====================================
@@ -14,9 +14,11 @@ BUILD_DATE := $(shell LC_ALL=C date -u "+%Y-%m-%d" -d "@$(SOURCE_DATE_EPOCH)")
 	dh  $@ --buildsystem pybuild
 
 execute_after_dh_auto_build:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
 	ronn -r --date="$(BUILD_DATE)" --manual=pycsw debian/man/*.md
 	rm -f debian/man/*.html
+endif
 
 override_dh_auto_test:
 	dh_auto_test || echo "Ignoring test failures"



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/6a87dd47ab814564d533ee1efec142d16ec5b46f

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/6a87dd47ab814564d533ee1efec142d16ec5b46f
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/94940844/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list