summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2023-04-04 09:56:45 +0200
committerJakov Smolić <jsmolic@gentoo.org>2023-04-04 09:59:15 +0200
commitd452b0bdfa552aa5b70f7c272ef50f9033fdbdca (patch)
treeaeec43e20c59b53bf613c4896762829327b24750 /net-misc/sysrepo
parentnet-libs/libnetconf2: add 2.1.31 (diff)
downloadgentoo-d452b0bdfa552aa5b70f7c272ef50f9033fdbdca.tar.gz
gentoo-d452b0bdfa552aa5b70f7c272ef50f9033fdbdca.tar.bz2
gentoo-d452b0bdfa552aa5b70f7c272ef50f9033fdbdca.zip
net-misc/sysrepo: add 2.2.60
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-misc/sysrepo')
-rw-r--r--net-misc/sysrepo/Manifest1
-rw-r--r--net-misc/sysrepo/sysrepo-2.2.60.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/sysrepo/Manifest b/net-misc/sysrepo/Manifest
index bd484bf61c76..e5b1deced374 100644
--- a/net-misc/sysrepo/Manifest
+++ b/net-misc/sysrepo/Manifest
@@ -1 +1,2 @@
DIST sysrepo-2.1.64.tar.gz 722294 BLAKE2B 55f71bd2bfa987775d324763d989f57ef79c74d45c261e2f880740201ca5585107459f849d915e3bf4084c9f5ff538a7867787ce53145ad1a64e418384e3558c SHA512 363d6a0dd057326125aa11c51bb1e80a2a521708a95b95eecf2b416a2ebd938b5ac6b8ae49311376bfbae5599679e23f62503da946920bffb48379c665183b40
+DIST sysrepo-2.2.60.tar.gz 782781 BLAKE2B afaef4e0a3d21a636f84d76ee0de55b1365e0e66cb9335ca748752747af99eb58c368eafd7c087a1df050ff4d1c2800601d125915f2debaad8ccc77278d30b84 SHA512 720299b57a0615ba99e01e7d42bc85d5ba5482d82680c47961f6876400009850e8fdf5c0753c39600ef0947a318394eb6108772ac1a575584f26bdc6e2305a57
diff --git a/net-misc/sysrepo/sysrepo-2.2.60.ebuild b/net-misc/sysrepo/sysrepo-2.2.60.ebuild
new file mode 100644
index 000000000000..7bec12ea56df
--- /dev/null
+++ b/net-misc/sysrepo/sysrepo-2.2.60.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="YANG-based configuration and operational state data store"
+HOMEPAGE="https://www.sysrepo.org"
+SRC_URI="https://github.com/sysrepo/sysrepo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=net-libs/libyang-2.1.55"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen[dot] )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_TESTS=$(usex test)
+ -DENABLE_VALGRIND_TESTS=OFF
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+
+ use doc && cmake_src_compile doc
+}
+
+src_install() {
+ cmake_src_install
+
+ use doc && dodoc -r doc/.
+}