From c02d1e6650ac512e6fa700b05f8ee8eeed05582b Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Wed, 29 Jan 2020 20:12:29 +0100 Subject: [PATCH] add pyopnsense-0.2.0 --- CHANGELOG.txt | 1 + dev-python/pyopnsense/Manifest | 3 ++ dev-python/pyopnsense/metadata.xml | 15 +++++++++ dev-python/pyopnsense/pyopnsense-0.2.0.ebuild | 31 +++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 dev-python/pyopnsense/Manifest create mode 100644 dev-python/pyopnsense/metadata.xml create mode 100644 dev-python/pyopnsense/pyopnsense-0.2.0.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 96b1b29c4..88e3c5ad9 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -12,6 +12,7 @@ * bump homeassistant-pyozw-0.1.8 * bump pre-commit-2.0.0 * bump pyicloud-0.9.2 + * add pyopnsense-0.2.0 2020-01-27 * bump huawei-lte-api-1.4.7 diff --git a/dev-python/pyopnsense/Manifest b/dev-python/pyopnsense/Manifest new file mode 100644 index 000000000..adf94b454 --- /dev/null +++ b/dev-python/pyopnsense/Manifest @@ -0,0 +1,3 @@ +DIST pyopnsense-0.2.0.tar.gz 21227 BLAKE2B 0a495adbe5f29d9712da22396ae6d195c531d92364e5d8c05777a019c8829ecd10a11fb3b2ada40077f13bbedeaaa365acae3a94ede98cc865bd0c46d5ee0d50 SHA512 058e93f8adb931e3b20b9fdb4dd8ab0fd74fb735e875bf8aabe0c1c4dd89c1a4eb5526baee46f34f9e2bcc329ad60be029bed65a4cfdcf2841c45881891b2f6a +EBUILD pyopnsense-0.2.0.ebuild 704 BLAKE2B 4c2daaec707bfc6ba728ce1d927f08fd1b5f264fe97c5f52fce931cbb2df251b2798da8d4ab448ed86327ded1a825b8b45de55e4d2b7f5cf2a1f4f9e3788b0c2 SHA512 f305fb92c4d08d108d955eb8b304da4357179f9d63961d1037731a47ef862233ee3dacb643bcff337fefe23e945182e38ecfabae7a76043c37d33b9aaea48b0e +MISC metadata.xml 444 BLAKE2B 7a9755d80867a27f7b72e0d93955913d639438d33d5ffa0435a6ec0f746efe1fc9053384765907ffdde3a0fa3a10589c4e0359c09c7a36bdfefa774ccd3f9648 SHA512 7f64364d07d2047d679b88eb7e8e3696375811ab1628e223b9490eb989a8dc057c5f445bf5bf29a3b7419413034a76a3989c2fc45552de71f9324b84919aef96 diff --git a/dev-python/pyopnsense/metadata.xml b/dev-python/pyopnsense/metadata.xml new file mode 100644 index 000000000..d44a157cf --- /dev/null +++ b/dev-python/pyopnsense/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pyopnsense + + mtreinish@kortar.org + Matthew Treinish + + + diff --git a/dev-python/pyopnsense/pyopnsense-0.2.0.ebuild b/dev-python/pyopnsense/pyopnsense-0.2.0.ebuild new file mode 100644 index 000000000..48346fdeb --- /dev/null +++ b/dev-python/pyopnsense/pyopnsense-0.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-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="A python API client for OPNsense" +HOMEPAGE="https://github.com/mtreinish/pyopnsense https://pypi.org/project/pyopnsense/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${REDEPEND} + dev-python/pbr[${PYTHON_USEDEP}] + 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 +}