1.1 --- a/debian/control Tue Mar 08 00:16:04 2022 +0100
1.2 +++ b/debian/control Tue Mar 08 01:21:12 2022 +0100
1.3 @@ -9,7 +9,9 @@
1.4 python3-setuptools,
1.5 python3-setuptools-scm,
1.6 python3-blinker,
1.7 - python3-nose
1.8 + python3-nose,
1.9 + python3-docutils,
1.10 + python3-sphinx
1.11 Standards-Version: 3.9.8
1.12 X-Python3-Version: >= 3.7
1.13 Homepage: https://github.com/discorporate/flatland/
1.14 @@ -20,7 +22,9 @@
1.15 Depends:
1.16 python3-blinker,
1.17 ${misc:Depends},
1.18 - ${python3:Depends}
1.19 + ${python3:Depends},
1.20 + ${sphinxdoc:Depends}
1.21 +Suggests: python3-flatland-doc
1.22 Description: HTML form management and validation
1.23 Flatland maps between rich, structured Python application data and the
1.24 string-oriented flat namespace of web forms, key/value stores, text
3.1 --- a/debian/rules Tue Mar 08 00:16:04 2022 +0100
3.2 +++ b/debian/rules Tue Mar 08 01:21:12 2022 +0100
3.3 @@ -3,7 +3,15 @@
3.4 export PYBUILD_NAME=flatland
3.5
3.6 %:
3.7 - dh $@ --with python3 --buildsystem pybuild
3.8 + dh $@ --with python3,sphinxdoc --buildsystem pybuild
3.9 +
3.10 +override_dh_auto_build: export http_proxy=127.0.0.1:9
3.11 +override_dh_auto_build: export https_proxy=127.0.0.1:9
3.12 +override_dh_auto_build:
3.13 + dh_auto_build
3.14 + PYTHONPATH=. python3 -m sphinx -N -bhtml -d _doctrees docs/source build/html
3.15 + PYTHONPATH=. python3 -m sphinx -N -bman -d _doctrees docs/source build/man
3.16
3.17 override_dh_auto_test:
3.18 dh_auto_test -- --test-nose
3.19 +