42 lines
914 B
Bash
42 lines
914 B
Bash
# Copyright 1999-2022 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit meson
|
|
|
|
DESCRIPTION="Backend-agnostic network configuration in YAML"
|
|
HOMEPAGE="https://netplan.io/"
|
|
SRC_URI="https://github.com/CanonicalLtd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE="doc systemd bash-completion"
|
|
REQUIRED_USE="systemd bash-completion"
|
|
|
|
DEPEND=">=dev-libs/glib-2.64.3
|
|
>=dev-libs/libyaml-0.2.5
|
|
sys-apps/systemd
|
|
sys-apps/util-linux
|
|
app-shells/bash-completion
|
|
doc? ( >=app-text/pandoc-1.19.2.1-r1 )
|
|
"
|
|
|
|
BDEPEND="${DEPEND}
|
|
dev-python/nose
|
|
dev-python/pycodestyle
|
|
dev-python/pyflakes
|
|
"
|
|
|
|
RDEPEND=">=dev-python/netifaces-0.10.9
|
|
>=dev-libs/libyaml-0.2.5
|
|
>=dev-python/pyyaml-5.3.1[libyaml(+)]
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/netplan-deps.patch"
|
|
)
|