net-misc/sysrepo - 3.3.10 (gentoo)

Search

Package Information

Description:
YANG-based configuration and operational state data store
Homepage:
https://www.sysrepo.org
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.3.10 8 amd64 ~x86 0
View Raw Ebuild
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="YANG-based configuration and operational state data store"
HOMEPAGE="https://www.sysrepo.org"
SRC_URI="
	https://github.com/sysrepo/sysrepo/archive/v${PV}.tar.gz
		-> ${P}.tar.gz
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"

RDEPEND=">=net-libs/libyang-3.7.5:="
DEPEND="
	${RDEPEND}
	test? ( dev-util/cmocka )
"
BDEPEND="doc? ( app-text/doxygen[dot] )"

PATCHES=(
	"${FILESDIR}/${P}-respect-cflags.patch"
	"${FILESDIR}/${P}-disable-automagic-plugins.patch"
)

src_configure() {
	local mycmakeargs=(
		-DENABLE_TESTS=$(usex test)
		-DENABLE_VALGRIND_TESTS=OFF
	)
	cmake_src_configure
}

src_compile() {
	cmake_src_compile

	use doc && cmake_src_compile doc
}

src_install() {
	cmake_src_install

	use doc && dodoc -r doc/.
}

USE Flags

doc

Dependencies

DEPEND

	>=net-libs/libyang-3.7.5:=
	test? ( dev-util/cmocka )

RDEPEND

>=net-libs/libyang-3.7.5:=

BDEPEND

doc? ( app-text/doxygen[dot] )

Manifest for 3.3.10

Type File Size Source URLs
DIST sysrepo-3.3.10.tar.gz 957832 bytes https://github.com/sysrepo/sysrepo/archive/v3.3.10.tar.gz