diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-05-02 20:27:35 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-05-02 20:27:35 +0500 |
commit | fe5eada2e7746cbb301c6958124c18fd9aedd479 (patch) | |
tree | ff51bb28d8144482bfc3d45b55349f8f08f6ab0e /dev-nim | |
parent | gui-wm/hyprland-contrib: new package, add 0.1 (diff) | |
download | guru-fe5eada2e7746cbb301c6958124c18fd9aedd479.tar.gz guru-fe5eada2e7746cbb301c6958124c18fd9aedd479.tar.bz2 guru-fe5eada2e7746cbb301c6958124c18fd9aedd479.zip |
dev-nim/nimbus: add 1.1.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-nim')
-rw-r--r-- | dev-nim/nimbus/Manifest | 1 | ||||
-rw-r--r-- | dev-nim/nimbus/nimbus-1.1.1.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-nim/nimbus/Manifest b/dev-nim/nimbus/Manifest index 6f5b3d80d..d652ca0a6 100644 --- a/dev-nim/nimbus/Manifest +++ b/dev-nim/nimbus/Manifest @@ -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 diff --git a/dev-nim/nimbus/nimbus-1.1.1.ebuild b/dev-nim/nimbus/nimbus-1.1.1.ebuild new file mode 100644 index 000000000..fdbefe65e --- /dev/null +++ b/dev-nim/nimbus/nimbus-1.1.1.ebuild @@ -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 +} |