Shayan Doust pushed to branch master at Debian Med / intake


Commits:
cff133f6 by Shayan Doust at 2020-06-20T14:30:47+01:00
Get sphinxdoc to generate the manpages and documentation

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -23,7 +23,9 @@ Build-Depends: debhelper-compat (= 13),
                python3-cloudpickle,
                python3-zarr,
                python3-msgpack-numpy,
-               python3-sphinx
+               python3-sphinx,
+               python3-sphinx-rtd-theme,
+               python3-numpydoc
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/intake
 Vcs-Git: https://salsa.debian.org/med-team/intake.git


=====================================
debian/rules
=====================================
@@ -11,7 +11,15 @@ export PYBUILD_NAME=intake
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-       dh $@ --with python3 --buildsystem=pybuild
+       dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build: export http_proxy=127.0.0.1:9
+override_dh_auto_build: export https_proxy=127.0.0.1:9
+override_dh_auto_build:
+       dh_auto_build
+       PYTHONPATH=. python3 -m sphinx -N -bhtml docs/source/ build/html/ # 
HTML generator
+       PYTHONPATH=. python3 -m sphinx -N -bman docs/source/ build/man/ # 
Manpage generator
+
 
 override_dh_install:
        dh_install



View it on GitLab: 
https://salsa.debian.org/med-team/intake/-/commit/cff133f62938b3dca4083e372589bf5f92c22fa2

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/intake/-/commit/cff133f62938b3dca4083e372589bf5f92c22fa2
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to