summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-03-21 15:32:43 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-03-21 19:48:29 +0100
commit98acc89c7f897565ee530bd4d69fbe7ccadfcb99 (patch)
treea8cdbeaa47d0a9618d496e1048a7b52e92f5ade0 /net-misc/sysrepo
parentnet-libs/libnetconf2: add 2.1.7 (diff)
downloadgentoo-98acc89c7f897565ee530bd4d69fbe7ccadfcb99.tar.gz
gentoo-98acc89c7f897565ee530bd4d69fbe7ccadfcb99.tar.bz2
gentoo-98acc89c7f897565ee530bd4d69fbe7ccadfcb99.zip
net-misc/sysrepo: add 2.1.42
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.1.42.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/sysrepo/Manifest b/net-misc/sysrepo/Manifest
index b1f89cda56ef..27dd136c25cb 100644
--- a/net-misc/sysrepo/Manifest
+++ b/net-misc/sysrepo/Manifest
@@ -1 +1,2 @@
DIST sysrepo-2.0.53.tar.gz 669484 BLAKE2B f612080b316d6cf86ea70d88834f75b647dc16b29ad824829338d2144784bd7f425d3811055b9b956ef4e6820d467ecbe9a33a3d54a51a4024999b79e62b8255 SHA512 47949514df988a7a8a3b2a506f69baf6ea31bb32d5e80b85af968c827382cadf96e1ab237519308564a59ae67514d6ca3f5e300855259b9baf6ab49252a2eb12
+DIST sysrepo-2.1.42.tar.gz 712516 BLAKE2B 6ae56ada0156f49483ca9c3b2494a4bc8093ffa910a2f043e12f4cc5af2285580dfd0f950d5fccb2c00b5a299c9345045194b480ef857448479de5e838b49bbc SHA512 186eee0f1ddef28a1aa2d9a9038e9fcbfc829579f1a47eeefb4f2aa31d18f97ec2723bd04fe0684f80dacfba3d1a8da8748b564e310ffbdde5f18251c81d7405
diff --git a/net-misc/sysrepo/sysrepo-2.1.42.ebuild b/net-misc/sysrepo/sysrepo-2.1.42.ebuild
new file mode 100644
index 000000000000..eec10cb96a87
--- /dev/null
+++ b/net-misc/sysrepo/sysrepo-2.1.42.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2022 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.0.164"
+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/.
+}