From 401101f9c8077911929d3f2b60a37098460a5d89 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Mar 2022 23:59:54 +0000 Subject: gentoo resync : 25.03.2022 --- net-libs/libyang/Manifest | 2 ++ net-libs/libyang/libyang-2.0.164.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 net-libs/libyang/libyang-2.0.164.ebuild (limited to 'net-libs/libyang') diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 42c12c25b780..4ed3d7ef7ce7 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,3 +1,5 @@ DIST libyang-2.0.112.tar.gz 1075308 BLAKE2B 13c5dee1817f93ec24580d24cfc5d1c066de54dec3d1de60e6f7d67caad527b13e40864301d5e5086b3d92b8769e200674168dd874bc2c786bd5101ec3aa958f SHA512 5da463b86656b9fc944925777a488b3306ef1a1e7efdaf4af677960a04b5544605126bb7e0441e55686b80f97fca70fe86605d0e7c64f634b4297dcc7bd779db +DIST libyang-2.0.164.tar.gz 1120619 BLAKE2B 7b9fc93ae4c7d42c3d818a26448bf1f7fc8df21634668f46e14256d094997ef22f74ae5e8f46807692e1bab176dd14d9d3036712013bf83716f6069664a74436 SHA512 016e450110e968665195bec692ef1eca6889636de79bd873f74cddde6a58859ac1df4d1fb2bc3024ff05d82ff4c2b0f4eb8df06ddfd4b04d3a0c5f5fed44af65 EBUILD libyang-2.0.112.ebuild 883 BLAKE2B f26028913b1bb89fda2ca0567aea4e66cd89d4a0b77c4e17e9869fa0a11507ea97fa3834cacf5e8c8fac481e1d920ce91937488d3897f59d5252f53803d58db3 SHA512 286e32444fcc60b86871662b3adf6ce1a2a8fdbdeff899740badf190ccb11d7a0ff26339837b463dd7c9a27c86b7a4a35cd6632ba227e5f874d1ca91bbd57855 +EBUILD libyang-2.0.164.ebuild 890 BLAKE2B f265e91ad35d249e917dc5e307556ab12cd9c3eb87ad04671f354fed8923ca4a6fbd768644eafcc56c12eaa2e10921da7e9c0c4eb61664682c57e60005e01a0c SHA512 9e586ebc7e1bc84f4d64c5b9e6e01def7782536675223a951265d81767dcc490c0ef6541edae87accd7adf735900123f704715aa109bebde6ce20164ffa8c8c9 MISC metadata.xml 435 BLAKE2B 23ee5c217c07799c169828436f3abe2100418ce870a9a2a523b6571d4f789ba5c56b4b74c48d3ce3e9db035efbc7692d5a3eae2dcb6732f6677c81e11122334e SHA512 63ff1dedf5aed1463b90733271f0d623233bd371d19126944b92cea27795f3753a93c2ad328a817bb6f7b9360f20cb838b2518cd156b95151a1a73d6b3478042 diff --git a/net-libs/libyang/libyang-2.0.164.ebuild b/net-libs/libyang/libyang-2.0.164.ebuild new file mode 100644 index 000000000000..4f71c69760dd --- /dev/null +++ b/net-libs/libyang/libyang-2.0.164.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +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[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) +" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + -DENABLE_VALGRIND_TESTS=OFF + ) + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile + + multilib_is_native_abi && use doc && cmake_src_compile doc +} + +multilib_src_install_all() { + use doc && dodoc -r doc/. +} -- cgit v1.2.3