dev-nim/nimbus: add 1.1.2

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-28 17:09:48 +05:00
parent ce7eac71bd
commit b1be0caa9c
2 changed files with 70 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST nimbus-1.1.1.tar.bz2 27899 BLAKE2B 8923e15a883b5b9a80b986c47cf9f343d0c75da3ff9834fdf11a184f4192b26f4dd66933e7b72058da23ee7b4d46196a2a5acbdf035d944b40195685ab022ec1 SHA512 2f651ec06a093464bf6c2a1d0f978b7bc3bdcb13994e207ce60453d2fc4b13c7b297fad8f790411b4a2a628671aeaaba7e29302be3f4191b1e2de20133e4b2db
DIST nimbus-1.1.2.tar.bz2 28432 BLAKE2B b8680872ccd748ad575e5d9698ad0fde121a974ec6de7717347e58dec0add545d52d750f65d1a4e996de216c276d5acd37c66bb092ed72ff96415f4439793aa7 SHA512 df082ef06d0ee51feb0cba6dbc9cd255b353ad72f28d9a366d436119813f20e35f5e5fddfec3f8304c85e840397b05b4e8d59ce2f00c72c4d713adf554cc7668

View File

@@ -0,0 +1,69 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=0
DOCS_DIR="docs"
DOCS_DEPEND=(
)
PYTHON_COMPAT=( python3_{10..11} )
inherit python-any-r1 docs nim-utils
DESCRIPTION="A Nim build system"
HOMEPAGE="
https://nimbus.sysrq.in/
https://git.sysrq.in/nimbus/about/
"
SRC_URI="https://git.sysrq.in/${PN}/snapshot/${P}.tar.bz2"
LICENSE="Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"
RDEPEND="dev-lang/nim"
BDEPEND="
${RDEPEND}
doc? (
$(python_gen_any_dep '
dev-python/insipid-sphinx-theme[${PYTHON_USEDEP}]
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
dev-python/sphinx-prompt[${PYTHON_USEDEP}]
dev-python/sphinx-sitemap[${PYTHON_USEDEP}]
')
)
"
python_check_deps() {
use doc || return 0
python_has_version "dev-python/insipid-sphinx-theme[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/sphinx-prompt[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/sphinx-sitemap[${PYTHON_USEDEP}]"
}
src_configure() {
nim_gen_config
}
src_compile() {
enim c src/nimbus
enim c src/txt2deps
docs_compile
}
src_test() {
etestament all
}
src_install() {
dobin src/nimbus
dobin src/txt2deps
doman man/*.1
einstalldocs
}