[med-svn] [Git][python-team/packages/python-schema-salad][master] Build the docs.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Wed Jan 22 16:50:22 GMT 2025



Michael R. Crusoe pushed to branch master at Debian Python Team / packages / python-schema-salad


Commits:
901c7c58 by Michael R. Crusoe at 2025-01-22T17:46:15+01:00
Build the docs.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+python-schema-salad (8.8.20241206093842-2) unstable; urgency=medium
+
+  * Build the docs.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Wed, 22 Jan 2025 17:46:10 +0100
+
 python-schema-salad (8.8.20241206093842-1) unstable; urgency=medium
 
   * d/control: adjust python*-dev* build-deps to help cross-building


=====================================
debian/control
=====================================
@@ -5,6 +5,7 @@ Section: python
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
+               dh-sequence-sphinxdoc <!nodoc>,
                python3,
                python3-all,
                python3-all-dev:native,
@@ -26,7 +27,14 @@ Build-Depends: debhelper-compat (= 13),
                python3-pytest-runner <!nocheck>,
                black,
                python3-typing-extensions <!nocheck>,
-               help2man
+               help2man,
+               python3-sphinx-autoapi <!nodoc>,
+               python3-sphinx-autodoc-typehints <!nodoc>,
+               python3-sphinx-rtd-theme <!nodoc>,
+               python3-sphinxcontrib.autoprogram <!nodoc>,
+               python3-doc <!nodoc>,
+               python-rdflib-doc <!nodoc>,
+               python-requests-doc <!nodoc>
 Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/python-team/packages/python-schema-salad
 Vcs-Git: https://salsa.debian.org/python-team/packages/python-schema-salad.git


=====================================
debian/docs
=====================================
@@ -1 +1,2 @@
 schema_salad/avro/NOTICE
+docs/_build/html


=====================================
debian/rules
=====================================
@@ -14,6 +14,9 @@ export MYPYPATH=$(CURDIR)/mypy-stubs
 	dh $@ --buildsystem=pybuild
 
 execute_after_dh_auto_build:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+	PYTHONPATH=$(CURDIR) $(MAKE) docs
+endif
 	PYTHONPATH=. help2man --no-info \
 		   --version-string=${DEB_VERSION_UPSTREAM} \
 		   --no-discard-stderr \



View it on GitLab: https://salsa.debian.org/python-team/packages/python-schema-salad/-/commit/901c7c581d2c3399f7e347b4d35da75af28346af

-- 
View it on GitLab: https://salsa.debian.org/python-team/packages/python-schema-salad/-/commit/901c7c581d2c3399f7e347b4d35da75af28346af
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/debian-med-commit/attachments/20250122/c1242a51/attachment-0001.htm>


More information about the debian-med-commit mailing list