From 686a5d8bc204131be008a28fa58dd6d39f11ce41 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 26 Feb 2022 12:03:56 +0100 Subject: [PATCH] add pywizlight-0.5.13 --- dev-python/pywizlight/Manifest | 3 ++ dev-python/pywizlight/metadata.xml | 15 +++++++++ .../pywizlight/pywizlight-0.5.13.ebuild | 32 +++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/pywizlight/Manifest create mode 100644 dev-python/pywizlight/metadata.xml create mode 100644 dev-python/pywizlight/pywizlight-0.5.13.ebuild diff --git a/dev-python/pywizlight/Manifest b/dev-python/pywizlight/Manifest new file mode 100644 index 000000000..fb9302b4b --- /dev/null +++ b/dev-python/pywizlight/Manifest @@ -0,0 +1,3 @@ +DIST pywizlight-0.5.13.tar.gz 40178 BLAKE2B e4005eaf350ff395770c29ca9a6be1681228dadb1eabdb39ce1d9ecc858e2c7a9b5a402d89290ea8adb65cf3cee9b2d9079ebb3b0e02416997dd6ab329b5a1ef SHA512 d575634f5268fdd4d1262963cb3643194786ca0b45f6265ea193fdf13710001fbf5af583744ed99d875947e7747aee90f3619eed8d6a29a4b1222d97cd831a19 +EBUILD pywizlight-0.5.13.ebuild 739 BLAKE2B 01d03195646fb51c9cb5969d4e1150e975989112c7fc799fe1ec2f443275bf867265d079683cbb39e4422be1fbc76f0486aaf745fa463c190bf2447becf8f0f3 SHA512 9becc919c06bf9042366f44b6ef29fdc32f6d640306b08aa2db775d5ae6ca5f8dcc3b7fcb87fdb845d68f40602732bbfdb27069c960857365980cf2808734926 +MISC metadata.xml 453 BLAKE2B 1b511a2b4f47eddf49abdc4ed7dc45e335befff46e98922884751d636f39ed5d5c1e0e5f241a6e289f554b0d8ec11510ab493f773baa1d221c8cb3430ad04f08 SHA512 955207af395707748472bf757d17beec415043f99e202c4f33939d4f515687cd40dde484474ce7c89b9c989f1495d759712a417072f12bdc55716d41658f8c28 diff --git a/dev-python/pywizlight/metadata.xml b/dev-python/pywizlight/metadata.xml new file mode 100644 index 000000000..c28e24d21 --- /dev/null +++ b/dev-python/pywizlight/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pywizlight + + sbidy@hotmail.com + Stephan Traub + + + diff --git a/dev-python/pywizlight/pywizlight-0.5.13.ebuild b/dev-python/pywizlight/pywizlight-0.5.13.ebuild new file mode 100644 index 000000000..0f5697801 --- /dev/null +++ b/dev-python/pywizlight/pywizlight-0.5.13.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A python connector for WiZ light bulbs (e.g SLV Play)" +HOMEPAGE="https://github.com/sbidy/pywizlight https://pypi.org/project/pywizlight/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DOCS="README.md" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}]" +BDEPEND=" + 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 +}