From 389b5cbde6eeaa780b8a1a9aca1cc0c09289d2ea Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Fri, 22 Nov 2019 18:53:16 +0100 Subject: [PATCH] add pyedimax-0.2.1 --- CHANGELOG.txt | 1 + dev-python/pyedimax/Manifest | 3 +++ dev-python/pyedimax/metadata.xml | 16 ++++++++++++ dev-python/pyedimax/pyedimax-0.2.1.ebuild | 30 +++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 dev-python/pyedimax/Manifest create mode 100644 dev-python/pyedimax/metadata.xml create mode 100644 dev-python/pyedimax/pyedimax-0.2.1.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 5d37a7bc5..ec158160b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -80,6 +80,7 @@ * rename (again) unused home-assistant-frontend-20191119.1 to current home-assistant-frontend-20191119.2 * bump homeassistant-0.102.0_beta3 * add beacontools-1.3.1 + * add pyedimax-0.2.1 2019-11-18 homeassistant-0.102.0_beta2 * update pyatmo-3.0.1 diff --git a/dev-python/pyedimax/Manifest b/dev-python/pyedimax/Manifest new file mode 100644 index 000000000..4808e30c4 --- /dev/null +++ b/dev-python/pyedimax/Manifest @@ -0,0 +1,3 @@ +DIST pyedimax-0.2.1.tar.gz 3146 BLAKE2B 80bffe86d0f3289b4d1d9715f26a853ea86cacc68f09861aa731c4e7f4894fc5e0ac6a2170c258d665866e9501b0d865f522115fddcef2931789edec6bd8159e SHA512 76e9fb8940cb6f16e3daaecfcc9daa7373afcf09a73c1b84897f65afd007ed904d0423f0eb85214f087eb3bc9adef4744d777a40a6a0cd518a469a36c0f5f764 +EBUILD pyedimax-0.2.1.ebuild 712 BLAKE2B 2223a6f372f5b80b3ea44a31ef607e32eea8100cb81e5fa9913e77e65bfdc15b06b447eedff34e0fcda397741afa393e93e623b6923aa061cf21eef0e7231ca0 SHA512 1cd2aef6e27cbdd23c61b823cae969a3b4a8cd742de4f233e22c56c4deac48f232a6f99a09706b7bd6c7becca4f89d2d03ba23231ed5d81def8cc63b9c4723d1 +MISC metadata.xml 461 BLAKE2B 0ff47c6c07b76b5bb6b51b0cb0ffafec5c28ac573b2cd42908aa2e9e45edaaff3415c2d2199f4fe01fcd98778b2bebab1f8a7c3b071f78ce368634c8ea7279ec SHA512 e3895b0b1897794c0a03669f28cf143b41674adcb87db2fc8b307d1c9aa60c1cc7b4b9eb2f1ab88676a850fbbd75df077662f7ed4a5e4867dbf2ffdecf703266 diff --git a/dev-python/pyedimax/metadata.xml b/dev-python/pyedimax/metadata.xml new file mode 100644 index 000000000..39f13aa72 --- /dev/null +++ b/dev-python/pyedimax/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + python + + pyedimax + + andreipop2005@gmail.com + Andrei Pop + + + diff --git a/dev-python/pyedimax/pyedimax-0.2.1.ebuild b/dev-python/pyedimax/pyedimax-0.2.1.ebuild new file mode 100644 index 000000000..48160c023 --- /dev/null +++ b/dev-python/pyedimax/pyedimax-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="Interface with Edimax Smart Plugs" +HOMEPAGE="https://github.com/andreipop2005/pyedimax https://pypi.org/project/pyedimax/" +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/requests-2.0[${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 +}