diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-03-26 11:53:07 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-03-26 11:53:07 +0100 |
commit | b65172ebea4ecf0d4739522ca286994a2883cd97 (patch) | |
tree | 4ce2b7d4c50c8a3d8c5333a0d6780ed592e81422 /net-misc/sysrepo | |
parent | net-libs/libnetconf2: C library for building NETCONF servers and clients (diff) | |
download | gentoo-b65172ebea4ecf0d4739522ca286994a2883cd97.tar.gz gentoo-b65172ebea4ecf0d4739522ca286994a2883cd97.tar.bz2 gentoo-b65172ebea4ecf0d4739522ca286994a2883cd97.zip |
net-misc/sysrepo: YANG-based configuration and operational state data store
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc/sysrepo')
-rw-r--r-- | net-misc/sysrepo/Manifest | 1 | ||||
-rw-r--r-- | net-misc/sysrepo/metadata.xml | 15 | ||||
-rw-r--r-- | net-misc/sysrepo/sysrepo-1.4.104.ebuild | 39 |
3 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/sysrepo/Manifest b/net-misc/sysrepo/Manifest new file mode 100644 index 000000000000..f8738c9cbf0b --- /dev/null +++ b/net-misc/sysrepo/Manifest @@ -0,0 +1 @@ +DIST sysrepo-1.4.104.tar.gz 673855 BLAKE2B 4b3a032538d469bb87d7975e559b329a2d0e1b7d805fda393de47d2be759ab0c37b6d8a7ada6058ec11ba636fb71f358c3e8af4c7a9064859eef9c319566d0de SHA512 a3d518cc2d9c808333906ea3123b09abacb4f83f430e621167577112b95280b389bf19fa0aa47a4e74fca469420d12d585d2ab9c0d63a06e6db087f49817bfb6 diff --git a/net-misc/sysrepo/metadata.xml b/net-misc/sysrepo/metadata.xml new file mode 100644 index 000000000000..a5c3a6e9d3c2 --- /dev/null +++ b/net-misc/sysrepo/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jakov.smolic@sartura.hr</email> + <name>Jakov Smolic</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">sysrepo/sysrepo</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/sysrepo/sysrepo-1.4.104.ebuild b/net-misc/sysrepo/sysrepo-1.4.104.ebuild new file mode 100644 index 000000000000..b962fe8648e3 --- /dev/null +++ b/net-misc/sysrepo/sysrepo-1.4.104.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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:=" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen[dot] )" + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + use doc && dodoc -r doc/. +} |