net-misc/nbcli: add 0.9.1_alpha1

This commit is contained in:
Alarig Le Lay 2023-05-02 19:48:11 +02:00
parent ddf2fa0961
commit 1d6eebaca3
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 38 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST nbcli-0.8.0.dev1.tar.gz 32508 BLAKE2B fb6e3365acad333122b0cd14a0e1a0ee8ff01c4dd1e99f2196caf876bde215101844a80ba2a853dc3231cb21f02383b237e16aa67e456daf24006d5fa1c5c15d SHA512 b21f029917dda5712e13068cd784bfe8d724fbd356a16285e07212f078f7b5f0f51fc975acb2e146ecd4184a7948c393fb4c69cdd51bd6dc99f2d30bbcda8b98
DIST nbcli-0.9.1.dev1.tar.gz 34331 BLAKE2B 8058f15fb3c64731c7a1357bbb552447abd94dd53e43924298a84897a8ca3cbc5b71903bbdb3c6727bf8f156a6533b3d002c5a52611c9876c8ef73c36f8e92ee SHA512 9116599f8ed716e243be85885cfebabbaad9ac9dc07133c1b3d2089946f1f5928c379a7da842668efc246282d53c5676043fe87f960ab1f8c71442c240dff3ba

View file

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