add PKGBUILD, upd DEB builder

This commit is contained in:
ge
2024-01-16 22:26:59 +03:00
parent f091b34854
commit 10ff2ca297
15 changed files with 91 additions and 33 deletions

20
packaging/debian/files/rules Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_DESTDIR_python3=debian/compute
%:
dh $@ --with python3,sphinxdoc,bash-completion --buildsystem=pybuild
override_dh_auto_test:
@echo No tests there
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
http_proxy=127.0.0.1:9 https_proxy=127.0.0.1:9 \
HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 \
PYTHONPATH=. PYTHON=python3 python3 -m sphinx $(SPHINXOPTS) -b html \
../docs/source \
$(CURDIR)/debian/compute-doc/usr/share/doc/compute-doc/html
dh_sphinxdoc
endif