commit: 517413d5b3baeed1e6559c704455e4210090eeb4
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Apr 18 15:58:07 2025 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Apr 19 11:06:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=517413d5
dev-nim/nimbus: add 1.1.5 and live, drop 1.1.3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-nim/nimbus/Manifest | 2 +-
.../{nimbus-1.1.3.ebuild => nimbus-1.1.5.ebuild} | 23 +++++++++++-----------
.../{nimbus-1.1.3.ebuild => nimbus-9999.ebuild} | 23 +++++++++++-----------
3 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/dev-nim/nimbus/Manifest b/dev-nim/nimbus/Manifest
index 49f8e8288..6f2b03084 100644
--- a/dev-nim/nimbus/Manifest
+++ b/dev-nim/nimbus/Manifest
@@ -1,2 +1,2 @@
-DIST nimbus-1.1.3.srht.tar.gz 32459 BLAKE2B
e7de2627699631a9c991ee7a43219b2f1e09c3c6ea7ca76ace8eccf80b193f13a61498bd459c7a0168b1d48d23c8fa9e4a522abd848529919ac6b1b60f6c51ba
SHA512
c84bde0538d65106542a351a6c19429dd6cf5c226edddfdb5423e018877a375257ef5897d1766a9c65a9e80984499af084e3aa42b71edc95ec296ee4412814ae
DIST nimbus-1.1.4.tar.gz 40012 BLAKE2B
545a01a504ab0a49f28cbf1e3faf047651299ef5a646c2a953c2281553ed2f3310ca9e17c32a1c04d0def80e01fb29552a167bffe8f84bd21af40611dc5a9ab8
SHA512
e432dd4340128d7531b6a8fcf54fc09aed48ff313adb8461c3b2997e248957d19a8aedb1615ec7b9db818395ac15971cb5467322e0ee66fc0ca6a4f06090a9c1
+DIST nimbus-1.1.5.tar.gz 41234 BLAKE2B
d544d360d89b7efd3bdedd2513f83936037ccca3bb0d5bca57415aefc2b7714e8cb6161ededcfd3d02d534421686415d5e01cf727753320cb46569338cca099d
SHA512
87d63ac049da560b349076600f1560716016c0956dc2a951b688376b412607ee200dda5d8f9b0af0841e19b27645ebcc8551b84d6e09b8f480666566ce0f3e11
diff --git a/dev-nim/nimbus/nimbus-1.1.3.ebuild
b/dev-nim/nimbus/nimbus-1.1.5.ebuild
similarity index 65%
copy from dev-nim/nimbus/nimbus-1.1.3.ebuild
copy to dev-nim/nimbus/nimbus-1.1.5.ebuild
index c397337d5..34f3efc04 100644
--- a/dev-nim/nimbus/nimbus-1.1.3.ebuild
+++ b/dev-nim/nimbus/nimbus-1.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,19 +6,24 @@ EAPI=8
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=0
DOCS_DIR="docs"
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit python-any-r1 docs nim-utils
-DESCRIPTION="A Nim build system"
+DESCRIPTION="Packaging-friendly Nim build system"
HOMEPAGE="
https://nimbus.sysrq.in/
https://git.sysrq.in/nimbus/about/
"
-SRC_URI="https://git.sr.ht/~cyber/${PN}/archive/${PV}.tar.gz ->
${P}.srht.tar.gz"
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sysrq.in/nimbus.git"
+else
+ SRC_URI="https://git.sr.ht/~cyber/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
LICENSE="Apache-2.0 BSD"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="debug"
RDEPEND="dev-lang/nim"
@@ -27,9 +32,7 @@ BDEPEND="
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}]
')
)
"
@@ -38,9 +41,7 @@ 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}]"
+ python_has_version "dev-python/sphinx-prompt[${PYTHON_USEDEP}]"
}
src_configure() {
@@ -55,7 +56,7 @@ src_compile() {
}
src_test() {
- etestament all
+ etestament pattern 'tests/**/**/test*.nim'
}
src_install() {
diff --git a/dev-nim/nimbus/nimbus-1.1.3.ebuild
b/dev-nim/nimbus/nimbus-9999.ebuild
similarity index 65%
rename from dev-nim/nimbus/nimbus-1.1.3.ebuild
rename to dev-nim/nimbus/nimbus-9999.ebuild
index c397337d5..34f3efc04 100644
--- a/dev-nim/nimbus/nimbus-1.1.3.ebuild
+++ b/dev-nim/nimbus/nimbus-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,19 +6,24 @@ EAPI=8
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=0
DOCS_DIR="docs"
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit python-any-r1 docs nim-utils
-DESCRIPTION="A Nim build system"
+DESCRIPTION="Packaging-friendly Nim build system"
HOMEPAGE="
https://nimbus.sysrq.in/
https://git.sysrq.in/nimbus/about/
"
-SRC_URI="https://git.sr.ht/~cyber/${PN}/archive/${PV}.tar.gz ->
${P}.srht.tar.gz"
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sysrq.in/nimbus.git"
+else
+ SRC_URI="https://git.sr.ht/~cyber/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
LICENSE="Apache-2.0 BSD"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="debug"
RDEPEND="dev-lang/nim"
@@ -27,9 +32,7 @@ BDEPEND="
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}]
')
)
"
@@ -38,9 +41,7 @@ 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}]"
+ python_has_version "dev-python/sphinx-prompt[${PYTHON_USEDEP}]"
}
src_configure() {
@@ -55,7 +56,7 @@ src_compile() {
}
src_test() {
- etestament all
+ etestament pattern 'tests/**/**/test*.nim'
}
src_install() {