diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e85ce4f10..448850085 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -8,6 +8,7 @@ * add nexia-0.7.3.ebuild * bump nexia-0.8.0.ebuild * bump nexia-0.9.1.ebuild + * bump pyW215-0.7.0 (now from pypi) 2020-04-05 homeassistant-0.108.0_beta3 * add tesla-powerwall-0.1.4 diff --git a/dev-python/pyW215/Manifest b/dev-python/pyW215/Manifest index b6f7721fd..263721c27 100644 --- a/dev-python/pyW215/Manifest +++ b/dev-python/pyW215/Manifest @@ -1,3 +1,5 @@ DIST pyW215-0.6.0.tar.gz 6266 BLAKE2B d56c3c5e3fbb74650d9dd1b0ca34b2879b36ce69f820bcb9495617f78cb838c9671c5aff563cbd5af9b3a7f27793d152e1b5a593e7a8e73f1588bc30f824f3ac SHA512 cf985393b07274b6c34fca48171f3105d8f0280738108d829e24d756849e1a323842892f08bbcde7845d388990d5096c37451a7d0cad678d2ce182c65611de64 +DIST pyW215-0.7.0.tar.gz 5629 BLAKE2B 78e211a4cc9082a3b8cf9a68d5e76401d27abae1e8f2b65c03b03604b77a94f9fc8470d48fe32069c171ebda5ea38729940495a92cdddc0f42fb1868ef6871a1 SHA512 21e8f1a569f58517951a035d0fc7256b8592285b6efae67cdc953d1946cb91e748eb9ce90fac122e4328c1e020411c7873530a802a4f8dd6d952c49e8686a072 EBUILD pyW215-0.6.0.ebuild 762 BLAKE2B 137d6b9cca9e87945511a98a7f352b32f7f510f10f6cfda4cc44715f1d70fa22c89e4e7f861e4968327fbcd77704bb7730faffd8b674f1a2c45ad82511b7e8d8 SHA512 89fb2ffb634e2fd7928c69fa4cde90776f0d47b88616e3daf6a57dcf836bced38419e9dfdc14789eef1da6cfb1a9fd48160b8a03455e1ba2ee938c5033d367df +EBUILD pyW215-0.7.0.ebuild 680 BLAKE2B 3c47b07f583985e4e94b66893ee7aeae925be134394740752fde5d8f48cbda66a4ffc9e657184dcc8bc9e4c4dc7800fa3918e542fdfb28ce8b7d25dc49ec17ac SHA512 4138639b8cd04959411b7255ab2df9d01341d8342b31569685fad43ea95111b39b3446603cc2aa3951ba77ccb0a6622a88b6f934447b278e9b226a35a0f7d3ec MISC metadata.xml 477 BLAKE2B 03324f2d788115fbda8291da98fa616b0e3526369af36599c749967d88a1d2f44285c45d457bce17c3b9e5a43191dcb12e61cf50de402dbc03466401ba402fa5 SHA512 a576b4946ded2333ab4186fb766570a8ae2eca12eda6b19ad3e126d6d60bb10813ce57d0d38c6077d2a6f8aff1807011f9838b9cfb20c14d8d503937c0e3a749 diff --git a/dev-python/pyW215/pyW215-0.7.0.ebuild b/dev-python/pyW215/pyW215-0.7.0.ebuild new file mode 100644 index 000000000..133e7a39e --- /dev/null +++ b/dev-python/pyW215/pyW215-0.7.0.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="Interface for d-link W215 Smart Plugs." +HOMEPAGE="https://github.com/linuxchristian/pyW215 https://pypi.org/project/pyW215/" +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 +}