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 3C1FF158087 for ; Fri, 12 Nov 2021 10:03:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EB162BC1C9; Fri, 12 Nov 2021 10:03:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 932942BC1C9 for ; Fri, 12 Nov 2021 10:03: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 862033432E7 for ; Fri, 12 Nov 2021 10:03:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBA7883 for ; Fri, 12 Nov 2021 10:03:38 +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: <1636711018.fbc97e692912265a98f91eef486f89a3e80962f0.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.112.ebuild X-VCS-Directories: net-libs/libyang/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: fbc97e692912265a98f91eef486f89a3e80962f0 X-VCS-Branch: master Date: Fri, 12 Nov 2021 10:03:38 +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: c2f3d11f-4697-4109-a989-c5d3d21ce014 X-Archives-Hash: 23c5d0ea61e607807d4fa818b5024f72 commit: fbc97e692912265a98f91eef486f89a3e80962f0 Author: Jakov Smolić gentoo org> AuthorDate: Fri Nov 12 09:56:58 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Fri Nov 12 09:56:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbc97e69 net-libs/libyang: add 2.0.112 Signed-off-by: Jakov Smolić gentoo.org> net-libs/libyang/Manifest | 1 + net-libs/libyang/libyang-2.0.112.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index d04ca62f55a..c269392d3dd 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.97.tar.gz 1066042 BLAKE2B 24ad593b4d4db2c54bf083d3f3469b17de8734aded878d167e383a5e7edb964706a48707e2f0847c7cd4f613b6c1e298325710c4b074f4a3fa1102e22265d632 SHA512 f97f29703f49ef22d04ecf3071d4437417ca95fd0cc2a696269ff646076cca15236874c40ef6a891f1ed4a1173600ba4c6cdd5e0879356b53414c4f0c415c389 diff --git a/net-libs/libyang/libyang-2.0.112.ebuild b/net-libs/libyang/libyang-2.0.112.ebuild new file mode 100644 index 00000000000..f34f5a45518 --- /dev/null +++ b/net-libs/libyang/libyang-2.0.112.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021 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/. +}