diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e43d3d664..9613e458a 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -39,6 +39,7 @@ * update bomradarloop-0.1.5 * bump aiocoap-0.4_beta3 * add aioshelly-0.1.2 + * add pywilight-0.0.65 2020-08-16 * update esphome-1.15.0_beta3 (experimental) diff --git a/dev-python/pywilight/Manifest b/dev-python/pywilight/Manifest new file mode 100644 index 000000000..98c93faea --- /dev/null +++ b/dev-python/pywilight/Manifest @@ -0,0 +1,3 @@ +DIST pywilight-0.0.65.tar.gz 23176 BLAKE2B eefde7c19ee92811aec91ce47b6f2abd7dd9f2ea0f61e2ccda923127b26842b570419c47f8c5460d43d9f734d0eb12a82cbfbb40af9d834346d9ecb2dd1595df SHA512 4d8bf7ce18a4eed9fb76579ac48010bfdae68dc6cdfaccd6966ebe80c5b01ada8acf134a1c0feb973b749c3a4813931ed7e89d31fd6b70c8450e9e8426f06234 +EBUILD pywilight-0.0.65.ebuild 683 BLAKE2B 354605ce8ba9c335cc4922b5ed3b198f63f71bf87c611fd198fef6cbc82082495fb3fa05b47cb481c6da01bb2bd3807f58dbaf6cd5cca673bd8b1c092447906f SHA512 6d4983a0c631fc29c3376fb2f3607852930b44a4655096dba868da2cddba6c810e5286ae8d949d012fa370a66414ddc897c5d79113297fbc0259463917f9047f +MISC metadata.xml 457 BLAKE2B 20a865d88bd3542995b0a32ccd9046fc5b80a8055d49a54153c81943cc5021be1036f287806ec99e010d9cc0540ad4041b947c445e5fd0b502a6d2c9a36093bd SHA512 34ce6d0e05d6025b774d9a843517e12fd63089fb91ed207683f7f192e9f690318ddf6affb5559fd104b9849434cf15c175b33c63836364273b70f395c6e707c9 diff --git a/dev-python/pywilight/metadata.xml b/dev-python/pywilight/metadata.xml new file mode 100644 index 000000000..b4f20c5d0 --- /dev/null +++ b/dev-python/pywilight/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pywilight + + leoagfig@gmail.com + Leonardo Figueiro + + + diff --git a/dev-python/pywilight/pywilight-0.0.65.ebuild b/dev-python/pywilight/pywilight-0.0.65.ebuild new file mode 100644 index 000000000..859b43ac0 --- /dev/null +++ b/dev-python/pywilight/pywilight-0.0.65.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python API for WiLight in Home Assistant" +HOMEPAGE="https://github.com/leofig-rj/pywilight https://pypi.org/project/pywilight/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +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 +}