summaryrefslogtreecommitdiff
path: root/net-libs/libyang
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-04 11:22:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-04 11:22:15 +0100
commit7f6382ebb44b75c53021d4c4ab77d6b34aed21ac (patch)
tree4d92ef3af5a26ff8a8a5a1ec4f21d18c65f56fe2 /net-libs/libyang
parent41e5b5c1f11820df590e0a245bbddf224bc07823 (diff)
gentoo auto-resync : 04:04:2023 - 11:22:14
Diffstat (limited to 'net-libs/libyang')
-rw-r--r--net-libs/libyang/Manifest2
-rw-r--r--net-libs/libyang/libyang-2.1.55.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest
index de642c94842c..6b8e126972d4 100644
--- a/net-libs/libyang/Manifest
+++ b/net-libs/libyang/Manifest
@@ -1,3 +1,5 @@
DIST libyang-2.0.194.tar.gz 1150705 BLAKE2B aa323b39752ac426f35e1ef17ca4a61d726c48916b740511ed03b06b8132747207dd4620842f9730ff1d05f216086310bc1634f393163067c119f5eec0aa91b1 SHA512 33d043ff696fc59c1cf5265a463b85a17459086162a03c56b1894cc524b7325ded2e14a71fce55ee70d02ea1119eef523190708c5f7b22438ab8ffd014fccefb
+DIST libyang-2.1.55.tar.gz 1201664 BLAKE2B b23d886163b1082c8895d1450113f364288eb6f77c4c73f7da1576877c35312b5558dbaf90e43268e18dd9348b024547c8cc4ee3a7ddabfb3762ffe67c47dc17 SHA512 dd0b58aec7e2d84f62636c62c9e7f67f0b4819e8d5ce9236874a3531607aa6fb58ccdcf537534eae8bfa700c37b8e3524be659929f4e7e03f8f67968bc352cb4
EBUILD libyang-2.0.194-r1.ebuild 803 BLAKE2B de09c48bf684fb9f7af8c46a84e7ac896e4dc91d386f69051209026ea02d745b9c8a44202eccce6f44f16d5dec7b9831ac73d067cc615a8ec0ac90cbb4623205 SHA512 ccbfa21e011b26c04b12f80765a2b6bc561c04d89c9f7987086a0aaad0ca242c2eabcbcf5a1aab889db1fb281e93b4ae34be610e58284ef48c6674e1ffd20f8b
+EBUILD libyang-2.1.55.ebuild 805 BLAKE2B cd15f8c1d942beca2d24cd95e2d7408185cf18db7837ffe3c57cd75ec5c063fcf2fba852d539acb2b66b643e85ca2e48e9f5c8773e7b92e20a724234ad2cff37 SHA512 5a7ba4b3979c81f9a17fd96e392e673d2fea5e43b0b78b4ff94943a36fdb5174369fa7657a131afdd64daec4d4abbdcc3a2d16c3804910d3a45c8c9f77502b72
MISC metadata.xml 327 BLAKE2B ea8b33be859f8dd94b8aeff9bec39e90b9b0c2984c7df56de4ff7b0c39006723b721119b6fde6fe120f9d423559e8450ecbee3dbe1a65705f9c3e55c34eba1e3 SHA512 14c3ef2d8d242a8bcf7786419afe8b723455603bf187dad10f619b67c9c30bc0e0ab681974b294a4c73f0a32ca68366a1b7b2a730f6d3362af348765c0da1e31
diff --git a/net-libs/libyang/libyang-2.1.55.ebuild b/net-libs/libyang/libyang-2.1.55.ebuild
new file mode 100644
index 000000000000..76927273f0fa
--- /dev/null
+++ b/net-libs/libyang/libyang-2.1.55.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="YANG data modeling language library"
+HOMEPAGE="https://github.com/CESNET/libyang"
+SRC_URI="https://github.com/CESNET/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/libpcre2"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+BDEPEND="
+ virtual/pkgconfig
+ 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/.
+}