diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-05-02 15:34:50 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-05-02 15:43:24 +0200 |
commit | b34dc4e847514694d45c07f52a7aa641bd0c7003 (patch) | |
tree | 3f423df076a66c2c0c2a84cf0e4e1493b916bc2a /net-analyzer/ospd-openvas | |
parent | www-client/links: fix second occurrence of jpeg dep (diff) | |
download | gentoo-b34dc4e847514694d45c07f52a7aa641bd0c7003.tar.gz gentoo-b34dc4e847514694d45c07f52a7aa641bd0c7003.tar.bz2 gentoo-b34dc4e847514694d45c07f52a7aa641bd0c7003.zip |
net-analyzer/ospd-openvas: add 'doc' use flag and missing deps
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Suggested-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
Diffstat (limited to 'net-analyzer/ospd-openvas')
-rw-r--r-- | net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild (renamed from net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild) | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild index 37b9865771b0..7b1a313ff2e8 100644 --- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild +++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild @@ -14,13 +14,19 @@ SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P} LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="doc" DEPEND=" acct-group/gvm acct-user/gvm + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] >=dev-python/redis-py-3.5.3[${PYTHON_USEDEP}] + !net-analyzer/ospd[${PYTHON_USEDEP}] " RDEPEND=" ${DEPEND} @@ -29,6 +35,14 @@ RDEPEND=" distutils_enable_tests unittest +python_compile() { + if use doc; then + bash "${S}"/docs/generate || die + HTML_DOCS=( "${S}"/docs/. ) + fi + distutils-r1_python_compile +} + python_install() { distutils-r1_python_install |