add components.fortigate

pyfgt==0.5.1
This commit is contained in:
Andreas Billmeier 2019-07-16 20:34:30 +02:00
parent 3bd7a25787
commit 507f34e240
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST pyfgt-0.5.1.tar.gz 10783 BLAKE2B 2aa8054db12dd2638e152abadca5d1c8cb01bd78eabb488104249a20b0117a59dbdd5658198df4664867cb5187213e2d5ffdb088aa4091cd8d7807f294a37670 SHA512 f32111951eeaaa7fc6acc0b9b6990dc1609c67296f8aba636e45335262b9b1f5c2a78bfa56cadbc97e9a061f6684646d27dc9ec82f7b371227c3a7a788562d23
EBUILD pyfgt-0.5.1.ebuild 800 BLAKE2B 19b5ea4bc5e20758c12f1b6b3116100eed84d843889ea2354eaaa47736e8bce37bddc1f6aa4939c66dbac801cb5c5ef5d5be395bcd7ae0304658092df27dcb97 SHA512 f255150d21166646ec8f4f5106574864980e35625a9a12005ce19dac501df23444de2ced514dd6d692646b7cdc98b44f76e2d38b2628954ee1a99f363c26a097
MISC metadata.xml 454 BLAKE2B 833c26519d6df44272a7b794a320837a09c7a0297fc5b16fcf2b2042dcc11c21194b967b463a908b92e3d30c3630b532b13c2ee390f841906d416f9dd2090f47 SHA512 f97e0a249426df5edb90eefcb8e16bd13d5cbbc718b8feb403172f915093ab1312a805f71d0f434f9dc78bd155c01218b3145c8612b24c0ebb7d01d03bc74ed3

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<herd>python</herd>
<upstream>
<remote-id type="pypi">pyfgt</remote-id>
<maintainer status="unknown">
<email>jhuber@fortinet.com</email>
<name>p4r4n0y1ng</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
# Distributed under the terms of the GNU General Public License v3.0
EAPI="7"
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Represents the base components of the Fortinet FortiGate REST interface with abstractions"
HOMEPAGE="https://github.com/p4r4n0y1ng/pyfgt https://pypi.org/project/pyfgt/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache 2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}