dev-nim/nimbus: add 1.1.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-02 20:27:35 +05:00
parent 2c645e6cca
commit fe5eada2e7
2 changed files with 67 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST nimbus-1.0.0.tar.bz2 23801 BLAKE2B b38bef877caa7781310314be00b1a3e206faafc25f0fd8bf28d52e800442d5a06b51fedb8c7b1a3c095c38c6eafe56befc9a447f8334f2f46af09cbb6c1b3535 SHA512 2675de25b788f0d9a3a41f69a761cd5d09bd78a0de538942edd5cc226000e2685ed7d5e8746e997fa69c9a89bc78b279ed9e9424b36ce13344796b1f1d3bb272
DIST nimbus-1.1.1.tar.bz2 27899 BLAKE2B 8923e15a883b5b9a80b986c47cf9f343d0c75da3ff9834fdf11a184f4192b26f4dd66933e7b72058da23ee7b4d46196a2a5acbdf035d944b40195685ab022ec1 SHA512 2f651ec06a093464bf6c2a1d0f978b7bc3bdcb13994e207ce60453d2fc4b13c7b297fad8f790411b4a2a628671aeaaba7e29302be3f4191b1e2de20133e4b2db

View File

@@ -0,0 +1,66 @@
# 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"
RDEPEND="dev-lang/nim"
BDEPEND="
${RDEPEND}
doc? (
$(python_gen_any_dep '
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/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
}