diff --git a/dev-python/pyvesync-v2/Manifest b/dev-python/pyvesync-v2/Manifest new file mode 100644 index 000000000..d4f5140c2 --- /dev/null +++ b/dev-python/pyvesync-v2/Manifest @@ -0,0 +1,3 @@ +DIST pyvesync_v2-0.9.6.tar.gz 6495 BLAKE2B f33a236eaae0f445d6c3a344657677201e205a5c6f912766b91b46a675d9ad6dc3d23db0324acb0f32d69b1cbfd8cf6f8ba35fe430a6e92fee243ea574f4eba7 SHA512 593bbae2ffd58f90eea679d2d7f3d8a8e6c0f1e72e1f3330b11939bf781c3c279e465cd39e72ae201b23ec278207808451b72d646229c94af514426ea7d1aac2 +EBUILD pyvesync-v2-0.9.6.ebuild 855 BLAKE2B aa37064d45e675787b9650fda634da3cdfa3ffe13c11f24c62c02ae4177e73575eb08717904f19503bb1c2b76ea9f1e748de00dbcaf037848f2adf0fc585a1a5 SHA512 decd53d054ce67c1bc973d70d048167642f33c6447a28abffa47f0907b12d82b02bf7de9bbc05fb547ea17515dff03a59c7fd827f7b1de007f27904148ad3cb4 +MISC metadata.xml 463 BLAKE2B ea042e055981c3368240f8157584aac5a71d3b512528c59fd0bbe5fc6c9ba58d432a630099e1ce88103fd818aff4b9e3342d97912e421e5955887ea17185f55e SHA512 be08c2035b2c367c43273207731072912875e7aa2706debfcf013791afefc2b8f8737b4107725134598ab6caf7b59936f3108aab6881ff3c784867cf042f0a59 diff --git a/dev-python/pyvesync-v2/metadata.xml b/dev-python/pyvesync-v2/metadata.xml new file mode 100644 index 000000000..d74a8609b --- /dev/null +++ b/dev-python/pyvesync-v2/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + python + + pyvesync-v2 + + webdjoe@gmail.com + Joseph Trabulsy + + + diff --git a/dev-python/pyvesync-v2/pyvesync-v2-0.9.6.ebuild b/dev-python/pyvesync-v2/pyvesync-v2-0.9.6.ebuild new file mode 100644 index 000000000..a9443d042 --- /dev/null +++ b/dev-python/pyvesync-v2/pyvesync-v2-0.9.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net +# Distributed under the terms of the GNU General Public License v3.0 + +EAPI="7" + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +MY_P=${PN/-/_}-${PV} +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Python library for vesync API for Etekcity Smart Outlets & switches" +HOMEPAGE="https://github.com/webdjoe/pyvesync_v2 https://pypi.org/project/pyvesync-v2/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~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 +}