diff options
Diffstat (limited to 'net-libs/libyang')
-rw-r--r-- | net-libs/libyang/Manifest | 4 | ||||
-rw-r--r-- | net-libs/libyang/libyang-1.0.184.ebuild | 4 | ||||
-rw-r--r-- | net-libs/libyang/libyang-1.0.215.ebuild | 46 |
3 files changed, 51 insertions, 3 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 11c32bab9066..1bb9f2f75253 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,3 +1,5 @@ DIST libyang-1.0.184.tar.gz 1659420 BLAKE2B 55b54e5440fb08437a91df2c218e4add37740c0416b26e9ac3b5949a4a5ba25ded8c4c7668e0bf20c8ffcfbae95f7c4699673998285ce37c17604f121429fd4f SHA512 bb1c396b6048d848ea844cc462f1ee9f14b0dad848c7618ec0f9bd239d28db8a94f94550c5439ca07e01824a910a748ec6be699c58150b34072c2f9b76acd95c -EBUILD libyang-1.0.184.ebuild 745 BLAKE2B c113c0bf038e829c09c4da4320eed0867d1ff53a645dfb4f642e3411d2fb859e3fdebe9338d8c3e11e51b5e59af599567e08fe661d816b284c70e42611a3afef SHA512 8be276b8622918fe54b91e82164dcbf5b24187f04eb374e9feb21d2c0a3ac2cecb51061730835edb3d487602772da7a90212b06419476fd55cc2287cb50f8293 +DIST libyang-1.0.215.tar.gz 1666478 BLAKE2B 66fc53458caf43e8473905ce9294efb9a49f0c73206a4c5ef96f7b79e72fff9429aa4245fdb29a7d2b4a23460d771d30a9397ca4d2ce76379675dc4a9f6427fd SHA512 042e7be3a658340eebb5aaf819169a516af5489c366c026b599d673b623811b01a5cc7b2fce0fe39c5deb5cce5b1e0e6dfc4eb85a331fb3203d415011e6d2dad +EBUILD libyang-1.0.184.ebuild 748 BLAKE2B 33a1f74218705ee63ed281a2d120b4432e696311cfa13d6e99825a69d48996d733cf67c9d932f8107a43953ca8ac3b876b7c1a8c57bc409f14e4edc828314016 SHA512 f911a66e42c932b023bb214acedd94e4b0a95b580adeab0a22819d5d21b465df112d4bd70a99d6d0ace495a841efe3e1f52f92beaeb40bd78287b7f7b7c6951b +EBUILD libyang-1.0.215.ebuild 899 BLAKE2B 0a2cfbebf99da7a3b18bfe38d3c9f337f957f7e2d1ba57aa801970d748f8cbb09c602ca51f3dfc0ddf6f21dd37ccec541d81a904b9ad972b626d8a364e909a56 SHA512 4b4a9aec82429bb62e5410bcd1462b5bea46752627c8935d5b8061781af896811034ad0671cc157825eaf3677aef936d7d492c777382915a0a0682f6405fbd40 MISC metadata.xml 326 BLAKE2B 45b056740b8b584e8b4e559a006238f1ffab67c325b7a23916bd642d3e9fee1503e165dc3477aa7b51ad1555e8e2c4e1c74b7d1b868b22c6ea96e286f4787a11 SHA512 00e03ea5ff75266886efc60fb13079cd2c0983ab0707f2002c44e7e3cbb984778f5d6341838ad7fb7ae1679fcacabfc949b9d733a4a88bc2ecb503352afe2eed diff --git a/net-libs/libyang/libyang-1.0.184.ebuild b/net-libs/libyang/libyang-1.0.184.ebuild index 5c9ff1be96a1..011024b81a68 100644 --- a/net-libs/libyang/libyang-1.0.184.ebuild +++ b/net-libs/libyang/libyang-1.0.184.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/CESNET/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc" diff --git a/net-libs/libyang/libyang-1.0.215.ebuild b/net-libs/libyang/libyang-1.0.215.ebuild new file mode 100644 index 000000000000..c98a1b7dd4b5 --- /dev/null +++ b/net-libs/libyang/libyang-1.0.215.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" + +IUSE="doc test" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex + doc? ( app-doc/doxygen[dot] ) +" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_BUILD_TESTS=$(usex test) + -DENABLE_LYD_PRIV=yes + -DGEN_LANGUAGE_BINDINGS=no + ) + 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 "${S}"/doc/* +} |