commit:     8560ddf2e93634bd8cbb891d4d431d5a7ac9faf0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  9 15:10:52 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Oct  9 15:33:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8560ddf2

dev-cpp/rapidyaml: add 0.9.0, 0.10.0

This been un-last-rited for upcoming kde-plasma/union (currently only
in kde overlay), but union is currently broken with both 0.10.0 and
old stable 0.6.0 so also adding 0.9.0 for the interim.

This is a simplified version of the original ebuild to make maintenance
easier (do not really want to spend more time than necessary on this
package anymore, feel free to take over maintenance if want to give
more care to this package).

Afaik union is likely still far from release, so could potentially be
last rited again if final version doesn't need it anymore.

Bug: https://bugs.gentoo.org/963014
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-cpp/rapidyaml/Manifest                |  2 ++
 dev-cpp/rapidyaml/rapidyaml-0.10.0.ebuild | 32 +++++++++++++++++++++++++++++++
 dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild  | 32 +++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/dev-cpp/rapidyaml/Manifest b/dev-cpp/rapidyaml/Manifest
index 0e0a6986813e..faa04dcfe84b 100644
--- a/dev-cpp/rapidyaml/Manifest
+++ b/dev-cpp/rapidyaml/Manifest
@@ -1,4 +1,6 @@
 DIST c4fs-0ee9c03d0ef3a7f12db6cb03570aa7606f12ba1b.tar.gz 25156 BLAKE2B 
864a6a75c5ebe15d73fb6ffa5a83cd6448f37a0f465bf3992fc5bc1000f06d6e945c99b9a4f8f3625499c47ea719a49dd340d11e37c11ed759d1adcb1ea585be
 SHA512 
58149c055b1f87abb12a01b042600a2927bfe7afeb878ca4523b658b0736aff6f752cd579c748cf9d4c85b4229ea50a1e70d633f85f9041fe157765286fa5233
 DIST c4log-457a2997e8ea26ea2a659b8152621f7fead1eb48.tar.gz 12056 BLAKE2B 
f0dc357c8beb28b2fa73e77f85918c3285be08a6e6c750317b7babddfc2372532d56b29a01adbc2284b7e850aeb2a45f1b24599acca0d0feccf5d60c00432627
 SHA512 
f728b34c000bbd58ad02d003697de1185feffc1a349600153a7d851f8dac28b88433e97c81dcb14769a74faa9e3d86b297536e8764d6e00b886f11bb2343518f
+DIST rapidyaml-0.10.0-src.tgz 10267123 BLAKE2B 
6f926dc72a04a89cec858ee1729f08e27f0f1c6c2ee50c975573a5b9b3fd84cf3e394d0ba88ddebb3e85f804ba9f7283a4b8df63011491eb4386b487c4eb2573
 SHA512 
c512529954b411dc37c7471ecc149687f686ccffb40ea5bec43f4f710f812958462158e5f13b21ab630bea88578c786b8744593c91659e9a414d2db48e7e14af
 DIST rapidyaml-0.6.0-src.tgz 7384217 BLAKE2B 
b81f797dcdac10368231256765bff08fa9d911550b620c286a657b41e74e589701a41d4f6e33317a7149fd1a2aabbad6bac6c66c1e494db053251e20bc5e505c
 SHA512 
6637aa970919d76339ca7d3d131032ca97720650e275f7e285c0fa46671daf8638695c4db6ccb06f93671171110c445781a7f2c8e37f6d9a4951d6e649f60cde
+DIST rapidyaml-0.9.0-src.tgz 10233562 BLAKE2B 
270fa4b2277e978e56d16e173f8ec83691016ffab8911b23528204b88109ae58ca113258681f36fee411f6fe62433fa79e4395c798e10c0b6609ca1e68651c7c
 SHA512 
77c2c27c23274789982a9aaaa54e184a635326ce509ad8c2a4eb1c4e2927cd2f1fa7ad66c71f221677d2d36d69ae0d9a7260872739662a0ee66870fd3421ab54
 DIST yaml-test-suite-6e6c296ae9c9d2d5c4134b4b64d01b29ac19ff6f.tar.gz 99765 
BLAKE2B 
d55a605623c988a4c58daa6dd155980129ffefe86570d55b1ce2514dfa77c352e0467b12e95d6e2bd38cc0454f0b30c3109c088841ddbe423b8bbb7d9e41bc9b
 SHA512 
4ab0e52369d085e696196ef1aab8ecb4f0218e48e8ce33c4ecc863942639141601cb1c83b41027eceddc20a6a4cebfc51abcb83779007e890b87d79c76394946

diff --git a/dev-cpp/rapidyaml/rapidyaml-0.10.0.ebuild 
b/dev-cpp/rapidyaml/rapidyaml-0.10.0.ebuild
new file mode 100644
index 000000000000..20e4fcd677d9
--- /dev/null
+++ b/dev-cpp/rapidyaml/rapidyaml-0.10.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library to parse and emit YAML, and do it fast"
+HOMEPAGE="https://github.com/biojppm/rapidyaml/";
+SRC_URI="
+       
https://github.com/biojppm/rapidyaml/releases/download/v${PV}/${P}-src.tgz
+"
+S=${WORKDIR}/${P}-src
+
+LICENSE="MIT Boost-1.0 BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+# tests here are a maintenance headache, and current maintainer does
+# not need this package anymore -- please take the package over if you
+# want to handle this properly (keeping this in low maintenance mode
+# incl. ignoring some features like python bindings)
+RESTRICT="test"
+
+DOCS=( README.md ROADMAP.md changelog )
+
+src_prepare() {
+       cmake_src_prepare
+
+       sed -E "/set\(_(ARCHIVE|LIBRARY)_INSTALL/s:lib/:$(get_libdir)/:" \
+               -i ext/c4core/cmake/c4Project.cmake || die
+}

diff --git a/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild 
b/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild
new file mode 100644
index 000000000000..20e4fcd677d9
--- /dev/null
+++ b/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library to parse and emit YAML, and do it fast"
+HOMEPAGE="https://github.com/biojppm/rapidyaml/";
+SRC_URI="
+       
https://github.com/biojppm/rapidyaml/releases/download/v${PV}/${P}-src.tgz
+"
+S=${WORKDIR}/${P}-src
+
+LICENSE="MIT Boost-1.0 BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+# tests here are a maintenance headache, and current maintainer does
+# not need this package anymore -- please take the package over if you
+# want to handle this properly (keeping this in low maintenance mode
+# incl. ignoring some features like python bindings)
+RESTRICT="test"
+
+DOCS=( README.md ROADMAP.md changelog )
+
+src_prepare() {
+       cmake_src_prepare
+
+       sed -E "/set\(_(ARCHIVE|LIBRARY)_INSTALL/s:lib/:$(get_libdir)/:" \
+               -i ext/c4core/cmake/c4Project.cmake || die
+}

Reply via email to