From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C354315808B for ; Mon, 21 Mar 2022 18:48:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCA2BE08F1; Mon, 21 Mar 2022 18:48:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF856E08F1 for ; Mon, 21 Mar 2022 18:48:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9915342FE6 for ; Mon, 21 Mar 2022 18:48:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A8082B0 for ; Mon, 21 Mar 2022 18:48:39 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1647888507.ac551fff1510887528c2f172ba1ea3f247c13f18.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libyang/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libyang/Manifest net-libs/libyang/libyang-2.0.164.ebuild X-VCS-Directories: net-libs/libyang/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: ac551fff1510887528c2f172ba1ea3f247c13f18 X-VCS-Branch: master Date: Mon, 21 Mar 2022 18:48:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb747a9e-d997-49b1-8045-85871f5da5e6 X-Archives-Hash: 369be3796b5c15df9ab661957c6dc50b commit: ac551fff1510887528c2f172ba1ea3f247c13f18 Author: Jakov Smolić gentoo org> AuthorDate: Mon Mar 21 14:29:18 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Mon Mar 21 18:48:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac551fff net-libs/libyang: add 2.0.164 Signed-off-by: Jakov Smolić gentoo.org> net-libs/libyang/Manifest | 1 + net-libs/libyang/libyang-2.0.164.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 930612c50d83..e9db1af2db41 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1 +1,2 @@ DIST libyang-2.0.112.tar.gz 1075308 BLAKE2B 13c5dee1817f93ec24580d24cfc5d1c066de54dec3d1de60e6f7d67caad527b13e40864301d5e5086b3d92b8769e200674168dd874bc2c786bd5101ec3aa958f SHA512 5da463b86656b9fc944925777a488b3306ef1a1e7efdaf4af677960a04b5544605126bb7e0441e55686b80f97fca70fe86605d0e7c64f634b4297dcc7bd779db +DIST libyang-2.0.164.tar.gz 1120619 BLAKE2B 7b9fc93ae4c7d42c3d818a26448bf1f7fc8df21634668f46e14256d094997ef22f74ae5e8f46807692e1bab176dd14d9d3036712013bf83716f6069664a74436 SHA512 016e450110e968665195bec692ef1eca6889636de79bd873f74cddde6a58859ac1df4d1fb2bc3024ff05d82ff4c2b0f4eb8df06ddfd4b04d3a0c5f5fed44af65 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/. +}