commit:     24bb74399813d6294cccdfe7c373e6e257c225b0
Author:     Lich <author <AT> lch361 <DOT> net>
AuthorDate: Mon Jan 12 00:00:41 2026 +0000
Commit:     Lich <author <AT> lch361 <DOT> net>
CommitDate: Mon Jan 12 00:00:41 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24bb7439

sys-libs/spiral: new package, add 0.1.0, 0.2.0, 0.3.0

Signed-off-by: Lich <author <AT> lch361.net>

 sys-libs/spiral/Manifest            |  5 ++++
 sys-libs/spiral/metadata.xml        | 30 ++++++++++++++++++++
 sys-libs/spiral/spiral-0.1.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++
 sys-libs/spiral/spiral-0.2.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++
 sys-libs/spiral/spiral-0.3.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++
 5 files changed, 200 insertions(+)

diff --git a/sys-libs/spiral/Manifest b/sys-libs/spiral/Manifest
new file mode 100644
index 0000000000..6f9fbe7db1
--- /dev/null
+++ b/sys-libs/spiral/Manifest
@@ -0,0 +1,5 @@
+DIST spiral-0.1.0.tar.gz 47998 BLAKE2B 
c1c65dc661ca9d86f747e237a8f9687fa81803c91a5a93b16fb019b38f0594193b6a42526af6d4d72d74d25e98aed2b51104ebfe33a2f73e01c4fda26f67d807
 SHA512 
a17c48e5a7e36b9bf4273218d04244f0a5feecac41a8a561444b56b375f1c7117c1bcde18409fe09bf74ef122494fdeeaa6c91fdad0e5a774c4840a8ff48d727
+DIST spiral-0.2.0.tar.gz 597420 BLAKE2B 
543918b2b24ace04be31e2a9b2f7312a2c3b6a73b7e2c37aafd14ed8394f88093055b42bd7efd34ee1dab9fde2b07f65e9c801e8ba1da9786534d1d0772fe768
 SHA512 
f1d76527bd0b2f01106f4ac349eb001064ee279c2cd6be5f8292aeb4903b16ebdbaf288ae44499400b4345cbd36b7e32981b1649993fb68168fcf45b80c4a9d6
+DIST spiral-0.3.0.tar.gz 599235 BLAKE2B 
7f538ad7feffa17116080c65ed1093944903a878f6a44144c5c1196a654c4fcebc3d1497fbda35699c7c5057a39807546140934503d8d53ad8f9a31ee0c22d02
 SHA512 
92c59a1a9290563418ecc03235f7a38d70174e281ff1c4fd0e0d3c5ec4cc3426faad935a074bc4111b3ee4449061f3653e6a1d07c68ed65d0473b4b8a0200e66
+DIST zg-0.14.0-oGqU3Ej8sgLsIvtaW99a1R-vvl-dNfHwE5k5CG1-c2El.tar.gz 12043181 
BLAKE2B 
6fd21ccbce75783d98e47d6c890c797ddba6098bc9b4c4f7d010e96075cc6aad1c3f71e4d541b1b3f25cda339d846e7576649e0d23d10fa7a135c6d5ff684039
 SHA512 
299a88af1c440c9185cd511a55715fb936ab1f0c464bf3cfe66dcf7eb6259038dbc9c3fdf22e6ab9fe9786845f1a18443327b9768afcafade880383c10517808
+DIST zg-0.14.1-oGqU3IAHtAJCxWhVUNS_qBzp2TacF4nUJ-v2-gDt66OQ.tar.gz 10568294 
BLAKE2B 
60a75ed6a303fba55f0285f04486911da75bdfa22bcbed204d988acf4dc2994204edb21dbf76cd7dd4e4f67ebc22893c65e70f40d5bba8c11da2ae62b40613b0
 SHA512 
67b9fdb5321a8458a6e358208358fec4a9bc6a6cf0c7a78407cefea9cbbff6130dc5fdb5a05b1cf627356465257ef3102c147ecc2c228d19d3c1bcbcd7bcb7e6

diff --git a/sys-libs/spiral/metadata.xml b/sys-libs/spiral/metadata.xml
new file mode 100644
index 0000000000..d4764fccae
--- /dev/null
+++ b/sys-libs/spiral/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Lich</name>
+               <description>Primary maintainer</description>
+       </maintainer>
+       <longdescription>
+               A minimalistic, composable, no-system-dependency command line 
editing
+               library. Provides support for keybindings, selection of text, 
modal editing,
+               history, syntax highlighting and more. Has an API composed of 
reading input,
+               editing line and rendering the user interface. Available as a 
Zig module and
+               C header file.
+       </longdescription>
+       <use>
+               <flag name="term">Compile spiral_term* functions</flag>
+               <flag name="editor">Compile spiral_editor* functions</flag>
+               <flag name="screen">Compile spiral_screen* functions</flag>
+       </use>
+       <upstream>
+               <remote-id type="codeberg">lch361/spiral</remote-id>
+               <maintainer type="person">
+                       <email>[email protected]</email>
+                       <name>Lich</name>
+                       <description>Primary developer</description>
+               </maintainer>
+               <bugs-to>https://codeberg.org/lch361/spiral/issues</bugs-to>
+       </upstream>
+</pkgmetadata>

diff --git a/sys-libs/spiral/spiral-0.1.0.ebuild 
b/sys-libs/spiral/spiral-0.1.0.ebuild
new file mode 100644
index 0000000000..36cf156127
--- /dev/null
+++ b/sys-libs/spiral/spiral-0.1.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Generated by zig-ebuilder 0.3.0
+
+EAPI=8
+
+DESCRIPTION="A Helix and Readline inspired line editor"
+HOMEPAGE="https://codeberg.org/lch361/spiral";
+
+declare -g -r -A ZBS_DEPENDENCIES=(
+       
[zg-0.14.0-oGqU3Ej8sgLsIvtaW99a1R-vvl-dNfHwE5k5CG1-c2El.tar.gz]='https://codeberg.org/lch361/zg/archive/65b5caf2a7562d0f6de93622a4595c2b0177953e.tar.gz'
+)
+
+ZIG_SLOT="0.14"
+inherit zig
+
+SRC_URI="
+       https://codeberg.org/lch361/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+       ${ZBS_DEPENDENCIES_SRC_URI}
+"
+S="${WORKDIR}/${PN}"
+IUSE="+term +editor +screen static-libs"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+DOCS=("README.md" "LICENSE.txt")
+
+src_configure() {
+       local my_zbs_args=(
+               -Dinstall-h
+       )
+       for feature in term editor screen; do
+               if use $feature; then
+                       my_zbs_args+=(-Dfeatures=$feature)
+               fi
+       done
+
+       zig_src_configure
+}
+
+src_compile() {
+       zig_src_compile
+       if use static-libs; then
+               zig_src_compile -Dlinkage=static
+       fi
+}
+
+src_install() {
+       zig_src_install
+       if use static-libs; then
+               zig_src_install -Dlinkage=static
+       fi
+}

diff --git a/sys-libs/spiral/spiral-0.2.0.ebuild 
b/sys-libs/spiral/spiral-0.2.0.ebuild
new file mode 100644
index 0000000000..0a7a0c3068
--- /dev/null
+++ b/sys-libs/spiral/spiral-0.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Generated by zig-ebuilder 0.3.0
+
+EAPI=8
+
+DESCRIPTION="A Helix and Readline inspired line editor"
+HOMEPAGE="https://codeberg.org/lch361/spiral";
+
+declare -g -r -A ZBS_DEPENDENCIES=(
+       
[zg-0.14.1-oGqU3IAHtAJCxWhVUNS_qBzp2TacF4nUJ-v2-gDt66OQ.tar.gz]='https://codeberg.org/lch361/zg/archive/d49c679a66fbac3516798ac7db6050d42ad4280e.tar.gz'
+)
+
+ZIG_SLOT="0.14"
+inherit zig
+
+SRC_URI="
+       https://codeberg.org/lch361/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+       ${ZBS_DEPENDENCIES_SRC_URI}
+"
+S="${WORKDIR}/${PN}"
+IUSE="+term +editor +screen static-libs"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+DOCS=("README.md" "LICENSE.txt")
+
+src_configure() {
+       local my_zbs_args=(
+               -Dinstall-h
+       )
+       for feature in term editor screen; do
+               if use $feature; then
+                       my_zbs_args+=(-Dfeatures=$feature)
+               fi
+       done
+
+       zig_src_configure
+}
+
+src_compile() {
+       zig_src_compile
+       if use static-libs; then
+               zig_src_compile -Dlinkage=static
+       fi
+}
+
+src_install() {
+       zig_src_install
+       if use static-libs; then
+               zig_src_install -Dlinkage=static
+       fi
+}

diff --git a/sys-libs/spiral/spiral-0.3.0.ebuild 
b/sys-libs/spiral/spiral-0.3.0.ebuild
new file mode 100644
index 0000000000..0a7a0c3068
--- /dev/null
+++ b/sys-libs/spiral/spiral-0.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Generated by zig-ebuilder 0.3.0
+
+EAPI=8
+
+DESCRIPTION="A Helix and Readline inspired line editor"
+HOMEPAGE="https://codeberg.org/lch361/spiral";
+
+declare -g -r -A ZBS_DEPENDENCIES=(
+       
[zg-0.14.1-oGqU3IAHtAJCxWhVUNS_qBzp2TacF4nUJ-v2-gDt66OQ.tar.gz]='https://codeberg.org/lch361/zg/archive/d49c679a66fbac3516798ac7db6050d42ad4280e.tar.gz'
+)
+
+ZIG_SLOT="0.14"
+inherit zig
+
+SRC_URI="
+       https://codeberg.org/lch361/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+       ${ZBS_DEPENDENCIES_SRC_URI}
+"
+S="${WORKDIR}/${PN}"
+IUSE="+term +editor +screen static-libs"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+DOCS=("README.md" "LICENSE.txt")
+
+src_configure() {
+       local my_zbs_args=(
+               -Dinstall-h
+       )
+       for feature in term editor screen; do
+               if use $feature; then
+                       my_zbs_args+=(-Dfeatures=$feature)
+               fi
+       done
+
+       zig_src_configure
+}
+
+src_compile() {
+       zig_src_compile
+       if use static-libs; then
+               zig_src_compile -Dlinkage=static
+       fi
+}
+
+src_install() {
+       zig_src_install
+       if use static-libs; then
+               zig_src_install -Dlinkage=static
+       fi
+}

Reply via email to