net-misc/nbcli: New upstream version v0.7.3.dev2

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2021-04-12 12:52:16 +02:00
parent 8410d5e4e2
commit 5f017a71a2
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 37 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST nbcli-0.6.3.dev1.tar.gz 21607 BLAKE2B 32de3bf8b9e234e319e685d1501c4cb91fa3871ee7d084aac50a3ba6fdf7853f8baa1122facd25d11abea0ab7fd9f65c2a24ded4fb066523966671d0bb6cd746 SHA512 fc70cf4c3c5b6a6946485076d76fd443e90bbfe542854d6b3b2907587f34642a1cbfa979ffc59e15abe7b785e6b0da2d704c7d18b9a433803abf118d01c06c63
DIST nbcli-0.7.3.dev2.tar.gz 21802 BLAKE2B 007d13d9996e8176d028900512e1bf33be39aab45549a92a4e8a5fb331c30b97150204b970d95f57651d94d9248763790ec24fd6114bed44b4bd380e0a5e5870 SHA512 8d55283e07f0830af4dcadf2c8b65724da4267a6165b9374485062f506e6b543080ac55aa2835ee2eb6e1b7f19fabe9c1f6982f6894d3fae937e42708c993628

View file

@ -0,0 +1,36 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..8} )
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
}