From 9425c8d8d9799c0338e6810dd7317f790d41aa74 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Fri, 22 Nov 2019 21:57:34 +0100 Subject: [PATCH] add pygogogate2-0.2.1 --- CHANGELOG.txt | 1 + dev-python/pygogogate2/Manifest | 3 ++ dev-python/pygogogate2/metadata.xml | 16 ++++++++++ .../pygogogate2/pygogogate2-0.2.1.ebuild | 30 +++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 dev-python/pygogogate2/Manifest create mode 100644 dev-python/pygogogate2/metadata.xml create mode 100644 dev-python/pygogogate2/pygogogate2-0.2.1.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 633494c32..f54e706b8 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -101,6 +101,7 @@ * add python-gitlab-1.13.0 & python-gitlab-1.6.0 * add gitterpy-0.1.7 * add Pysher-1.0.4, bump autobahn-18.7.1 from main repo, add txaio-18.7.1 and txaio-18.8.1 + * add pygogogate2-0.2.1 2019-11-21 homeassistant-0.102.0 * bump homeassistant-0.102.0 diff --git a/dev-python/pygogogate2/Manifest b/dev-python/pygogogate2/Manifest new file mode 100644 index 000000000..2e330a93e --- /dev/null +++ b/dev-python/pygogogate2/Manifest @@ -0,0 +1,3 @@ +DIST pygogogate2-0.2.1.tar.gz 3947 BLAKE2B 420b1a3292c363e849943a7b1e7bd855e94cecb624ce6bb449e1250855c82a684ebc32ab58e00dbd7a3203893e65f910eba59ead860d57a33a004126f5eeeb75 SHA512 9871913ec9fde139aa0bf0372b7b66c24649ac08b1e4e1d6e1495728beff1086207d40808049c8e97ffbd72adff6a31d0d99c5f7a92dced93d49f404a9c8bceb +EBUILD pygogogate2-0.2.1.ebuild 742 BLAKE2B aa252479a0d8ab4abdd0eb6333c4899d62356fa195ef651f7a86f5e5e531630ee3369a5e8bbcab34d05614c1804f20c5b0b13315742e9392e02a3819e6b8e832 SHA512 d88a4d6af0b2dfb642262c2148a645931df2b850f0ffb8dbe336143d2b1e65c3ecd9913fdb1cd32c6fd084abc5901ed46cfabde60b79cdbaa19b620fdcf31e1d +MISC metadata.xml 466 BLAKE2B 60780d4eab710a013598cc7b042769d80e4faed11d5411549d8341043087737ee06c713771f763d7e43a989cc9e3cb5d76f7c3d4f72dff7692bb5f512d356b4b SHA512 736d4b98e0bba5cf3ef03dff0970b1d72c9cac60bf590df40c4779fb5c72991b09fd6df77fa3b4105b40a18fb7cc08e70636a59306606a115fe5004ac2f06aef diff --git a/dev-python/pygogogate2/metadata.xml b/dev-python/pygogogate2/metadata.xml new file mode 100644 index 000000000..48247fbee --- /dev/null +++ b/dev-python/pygogogate2/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + python + + pygogogate2 + + dbroadfoot@gmail.com + David Broadfoot + + + diff --git a/dev-python/pygogogate2/pygogogate2-0.2.1.ebuild b/dev-python/pygogogate2/pygogogate2-0.2.1.ebuild new file mode 100644 index 000000000..0e967005b --- /dev/null +++ b/dev-python/pygogogate2/pygogogate2-0.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 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 package for controlling Gogogate2-Enabled Garage Door" +HOMEPAGE="https://github.com/dlbroadfoot/pygogogate2 https://pypi.org/project/pygogogate2/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/pycryptodomex[${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 +}