[med-svn] [Git][med-team/gneiss][master] Generate sphinx HTML and manpages

Shayan Doust gitlab at salsa.debian.org
Thu Jul 9 19:30:17 BST 2020



Shayan Doust pushed to branch master at Debian Med / gneiss


Commits:
e9cdedc5 by Shayan Doust at 2020-07-09T19:29:58+01:00
Generate sphinx HTML and manpages

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -17,13 +17,14 @@ Build-Depends: debhelper-compat (= 13),
                python3-seaborn,
                python3-scipy,
                python3-statsmodels,
-               python3-h5py
+               python3-h5py,
+               python3-sphinx
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/gneiss
 Vcs-Git: https://salsa.debian.org/med-team/gneiss.git
 Homepage: https://github.com/biocore/gneiss
 
-Package: gneiss
+Package: python3-gneiss
 Architecture: any
 Depends: ${python3:Depends},
          ${misc:Depends},
@@ -41,3 +42,16 @@ Description: data analysis and visualisation toolbox for high dimensional propor
  Canonically pronounced as 'nice', gneiss is a compositional data
  analysis and visualisation toolbox designed for analysing high
  dimensional proportions.
+
+Package: python3-gneiss-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends},
+         ${misc:Depends}
+Recommends: python3-gneiss
+Description: documentation for the python3-gneiss package
+ Canonically pronounced as 'nice', gneiss is a compositional data
+ analysis and visualisation toolbox designed for analysing high
+ dimensional proportions.
+ .
+ This package contains documentation for python3-gneiss.


=====================================
debian/rules
=====================================
@@ -9,8 +9,17 @@ include /usr/share/dpkg/default.mk
 # 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
+	# Move test data into build directory so nosetest can use it
 	cp -rf gneiss/regression/tests/data/ .pybuild/*/build/gneiss/regression/tests/
+	# Generate sphinx documentation and manpages
+	PYTHONPATH=. python3 -m sphinx -N -bhtml doc/source/ build/html/
+	PYTHONPATH=. python3 -m sphinx -N -bman doc/source/ build/man/
+
+override_dh_missing:
+



View it on GitLab: https://salsa.debian.org/med-team/gneiss/-/commit/e9cdedc5d6e9841a7602bf0e198dfa62d551f939

-- 
View it on GitLab: https://salsa.debian.org/med-team/gneiss/-/commit/e9cdedc5d6e9841a7602bf0e198dfa62d551f939
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/20200709/6d1ed0a0/attachment-0001.html>


More information about the debian-med-commit mailing list