Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnetconf2/
Date: Tue, 30 Mar 2021 10:12:13
Message-Id: 1617099104.ed1f8ac02e2132d5e92581ac5e5b12d34f9fbbb8.soap@gentoo
1 commit: ed1f8ac02e2132d5e92581ac5e5b12d34f9fbbb8
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Mar 30 10:11:44 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 10:11:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1f8ac0
7
8 net-libs/libnetconf2: Bump to 1.1.43
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-libs/libnetconf2/Manifest | 1 +
14 net-libs/libnetconf2/libnetconf2-1.1.43.ebuild | 46 ++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest
18 index d3a88b227ef..99572cd54a5 100644
19 --- a/net-libs/libnetconf2/Manifest
20 +++ b/net-libs/libnetconf2/Manifest
21 @@ -1 +1,2 @@
22 DIST libnetconf2-1.1.36.tar.gz 294950 BLAKE2B 20eca2ba26353dff8636c48c06fe2dfc79603234c2def66a12dc7946050a81fb8d2a7c082aa6b6b3b1632eecba84e129739e659fd76a8c30bc500526e3ef48da SHA512 6a992a8d6e933661ba8f4de56f951e2fcdc1c8807d220528866afbdf0a5b6bafb6a99d78eb5cd8a7970519687a6121cb49517946a2beae5e496b80c2d95a34b2
23 +DIST libnetconf2-1.1.43.tar.gz 295502 BLAKE2B 49bd58d785a0b7b132c4503b0b8a823ff3578e6e1d30e0c0e4aecf6ebb6f769f465069ebbfce7fd090e64e0b798ab8977535c634f45e677cec00d7c73edaee20 SHA512 2aff10ef003d5ee1f72a3c01a0fd07f7a1ac3b1961c88a9616632255d7392d386e0acad97fc68b3f5f1a0b4804dcb0900afa625208ab0dd33cf03706f7a89f5d
24
25 diff --git a/net-libs/libnetconf2/libnetconf2-1.1.43.ebuild b/net-libs/libnetconf2/libnetconf2-1.1.43.ebuild
26 new file mode 100644
27 index 00000000000..95d4cfb62da
28 --- /dev/null
29 +++ b/net-libs/libnetconf2/libnetconf2-1.1.43.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake
37 +
38 +DESCRIPTION="C library for building NETCONF servers and clients"
39 +HOMEPAGE="https://github.com/CESNET/libnetconf2"
40 +SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="doc test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="
49 + dev-libs/openssl:0=
50 + >=net-libs/libyang-1.0.225:=
51 + net-libs/libssh:0=[server]"
52 +DEPEND="${RDEPEND}
53 + test? ( dev-util/cmocka )"
54 +BDEPEND="
55 + virtual/pkgconfig
56 + doc? ( app-doc/doxygen[dot] )"
57 +
58 +src_configure() {
59 + local mycmakeargs=(
60 + -DENABLE_BUILD_TESTS=$(usex test)
61 + )
62 +
63 + cmake_src_configure
64 +}
65 +
66 +src_compile() {
67 + cmake_src_compile
68 +
69 + use doc && cmake_src_compile doc
70 +}
71 +
72 +src_install() {
73 + cmake_src_install
74 +
75 + use doc && dodoc -r doc/.
76 +}