diff options
Diffstat (limited to 'net-libs/libyang')
-rw-r--r-- | net-libs/libyang/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libyang/files/libyang-2.0.0-cmake.patch | 12 | ||||
-rw-r--r-- | net-libs/libyang/libyang-2.0.0.ebuild | 46 |
3 files changed, 0 insertions, 59 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index a04b00159ecf..83506472965e 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,3 +1,2 @@ DIST libyang-1.0.236.tar.gz 1669013 BLAKE2B c977c4abd2466e88519e91483d876bf0b9397b32bcca017eaa948d638a70d3275cdec36070bad8925c87e3a6756df924ed043a14ecb6d23de8b63992f8607e58 SHA512 7e8be96bc87ea5c906d90e09f4fbae0ed96718894d3fbc784172cdc68e9e2c034fc8a114bc1389fb74ef32dfb65e447acff24b82967af1530ffba94cd204e6e9 -DIST libyang-2.0.0.tar.gz 1016366 BLAKE2B 5a69083937d5b6102e48bbb742d1ba5562a78d434d0646758160f70c5fe3b42fb651c3e4421758a41f21bde6f00ba112f5b2cd49561e36afb5160641edf2ff0f SHA512 6226ae2b51eae07d866097248c1583006acc2f3b8f120ab7302a9bd2854ece6a067eff54553102ebafd759e1f2984076e2e6553fa01fc830d69496504353be5d DIST libyang-2.0.7.tar.gz 1031818 BLAKE2B a3ad7dc0bcff14ea5fec0221f11efb2ef61efa8b4b3c8ebd6d58f3184cc1f1979c026985c1782d2f2177227a8aae815c6c4fa7063fb19156af78f65740623318 SHA512 edb1d8d372b25ed820fa312e0dc96d4af7c8cd5ddeb785964de73f64774062ea7a5586bb27e2039ad24189d4a2ba04268921ca86e82423fc48647d1d10a2a0a7 diff --git a/net-libs/libyang/files/libyang-2.0.0-cmake.patch b/net-libs/libyang/files/libyang-2.0.0-cmake.patch deleted file mode 100644 index 09b83b3639fa..000000000000 --- a/net-libs/libyang/files/libyang-2.0.0-cmake.patch +++ /dev/null @@ -1,12 +0,0 @@ -# https://github.com/CESNET/libyang/pull/1581 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -35,8 +35,6 @@ elseif ("${BUILD_TYPE_UPPER}" STREQUAL "ABICHECK") - set(CMAKE_BUILD_TYPE "ABICheck" CACHE STRING "Build Type" FORCE) - elseif ("${BUILD_TYPE_UPPER}" STREQUAL "DOCONLY") - set(CMAKE_BUILD_TYPE "DocOnly" CACHE STRING "Build Type" FORCE) --else () -- message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE \"${CMAKE_BUILD_TYPE}\".") - endif () - - # check the supported platform diff --git a/net-libs/libyang/libyang-2.0.0.ebuild b/net-libs/libyang/libyang-2.0.0.ebuild deleted file mode 100644 index d832209254e5..000000000000 --- a/net-libs/libyang/libyang-2.0.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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 ~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] ) -" - -PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) - -multilib_src_configure() { - local mycmakeargs=( - -DENABLE_BUILD_TESTS=$(usex test) - ) - 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/. -} |