dev-python/pynetbox: New package
Dependency for nbcli 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
677957b704
commit
e09ab1144e
1
dev-python/pynetbox/Manifest
Normal file
1
dev-python/pynetbox/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST pynetbox-5.1.0.tar.gz 50431 BLAKE2B 4227b1c6e5365cf58584d52879fa51c0406f9eb948301ec2e26fd703695e202943c7b97be627ab78c9e6970caf741f4c8de51d22cfcb95b23dd99ca25f669171 SHA512 9e2c2a74ceac096d2a6805cd8c617cc554aff9a5b48e4fef8f0418d2a13b2b4b5ad5449d7ea2efe1f583d7630621fb58cb5c0a6b62d271af849665e2f3b732c7
|
8
dev-python/pynetbox/metadata.xml
Normal file
8
dev-python/pynetbox/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>
|
35
dev-python/pynetbox/pynetbox-5.1.0.ebuild
Normal file
35
dev-python/pynetbox/pynetbox-5.1.0.ebuild
Normal file
|
@ -0,0 +1,35 @@
|
|||
# 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
|
||||
|
||||
DESCRIPTION="Python API client library for NetBox"
|
||||
HOMEPAGE="https://github.com/digitalocean/pynetbox"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/requests-2.20.0
|
||||
<dev-python/requests-3.0
|
||||
dev-python/six
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
if ! use test; then
|
||||
rm -r "${S}/tests"
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
Loading…
Reference in a new issue