net-misc/nbcli: New package
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
e09ab1144e
commit
6549c50267
1
net-misc/nbcli/Manifest
Normal file
1
net-misc/nbcli/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST nbcli-0.6.3.dev1.tar.gz 21607 BLAKE2B 32de3bf8b9e234e319e685d1501c4cb91fa3871ee7d084aac50a3ba6fdf7853f8baa1122facd25d11abea0ab7fd9f65c2a24ded4fb066523966671d0bb6cd746 SHA512 fc70cf4c3c5b6a6946485076d76fd443e90bbfe542854d6b3b2907587f34642a1cbfa979ffc59e15abe7b785e6b0da2d704c7d18b9a433803abf118d01c06c63
|
8
net-misc/nbcli/metadata.xml
Normal file
8
net-misc/nbcli/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alarig@swordarmor.fr</email>
|
||||
<name>Alarig Le Lay</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
36
net-misc/nbcli/nbcli-0.6.3_alpha1.ebuild
Normal file
36
net-misc/nbcli/nbcli-0.6.3_alpha1.ebuild
Normal file
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue