diff --git a/net-misc/nbcli/Manifest b/net-misc/nbcli/Manifest new file mode 100644 index 0000000..1be76f7 --- /dev/null +++ b/net-misc/nbcli/Manifest @@ -0,0 +1 @@ +DIST nbcli-0.6.3.dev1.tar.gz 21607 BLAKE2B 32de3bf8b9e234e319e685d1501c4cb91fa3871ee7d084aac50a3ba6fdf7853f8baa1122facd25d11abea0ab7fd9f65c2a24ded4fb066523966671d0bb6cd746 SHA512 fc70cf4c3c5b6a6946485076d76fd443e90bbfe542854d6b3b2907587f34642a1cbfa979ffc59e15abe7b785e6b0da2d704c7d18b9a433803abf118d01c06c63 diff --git a/net-misc/nbcli/metadata.xml b/net-misc/nbcli/metadata.xml new file mode 100644 index 0000000..17361c3 --- /dev/null +++ b/net-misc/nbcli/metadata.xml @@ -0,0 +1,8 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + + diff --git a/net-misc/nbcli/nbcli-0.6.3_alpha1.ebuild b/net-misc/nbcli/nbcli-0.6.3_alpha1.ebuild new file mode 100644 index 0000000..f8cc2b0 --- /dev/null +++ b/net-misc/nbcli/nbcli-0.6.3_alpha1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit distutils-r1 + +MY_P="${P/_alpha/.dev}" + +DESCRIPTION="Extensible command-line interface for Netbox" +HOMEPAGE="https://github.com/ericgeldmacher/nbcli" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" +>=dev-python/pynetbox-5.0.3 +dev-python/pyyaml +" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + if ! use test; then + rm -r "${S}/tests" + fi + + distutils-r1_python_prepare_all +}