From 94df13f3c1bd50441f9510fb8f10f669b9c31e5e Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 7 Aug 2021 09:06:23 +0200 Subject: [PATCH] add soco-0.23.2 --- dev-python/soco/Manifest | 3 +++ dev-python/soco/metadata.xml | 15 +++++++++++++ dev-python/soco/soco-0.23.2.ebuild | 35 ++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-python/soco/Manifest create mode 100644 dev-python/soco/metadata.xml create mode 100644 dev-python/soco/soco-0.23.2.ebuild diff --git a/dev-python/soco/Manifest b/dev-python/soco/Manifest new file mode 100644 index 000000000..8503ff3f0 --- /dev/null +++ b/dev-python/soco/Manifest @@ -0,0 +1,3 @@ +DIST soco-0.23.2.tar.gz 711118 BLAKE2B a79c1bf0602fc5963ba8ff111c85bde7d6de68f600757e7f835ae6ee89de9e4fd0255bbf3589b84d466438f6c43ec1bd14003a10a084fb1be11b743253a066c7 SHA512 10bf2a07427850b8a8ba0c32a0ad9a013263a16a71de8ee486d8d1aac22536a6e24fa14b9c6b6babf2f3d2dfd90602f14ae7f0b177ab1fcb0d09c8350ef3b43f +EBUILD soco-0.23.2.ebuild 864 BLAKE2B 90bf15f1753dc2163fd70fe4b403122e434c88613a51eeda169f8dbeb9c06e59a82ffbb68fd939ed7dd61aa973195680c62ee3c7a9282b890e782bf594bdfe11 SHA512 a1e432b08cf1b10d7061496088376374d4a6f9db24ca295c79fb793b387d805fd264e765e4eb43d1dcc650682efdcb222a96653bbbf8be89246414d1879415ec +MISC metadata.xml 458 BLAKE2B e4aeb06b5037c68f7d12f0de4fd2b7238147c4ef824f3e4161074139f5ee2b070641f2ea9ff9c452d44813d213c31b5ffec9dde9cd1fd9093fdb91df533702ef SHA512 2dbe8715862e2364fbfa2ba468b797817afdfdcb258034f9976b914c797c22e2ad2090c26d55b86049659c46b7a5f20245f95c480f47af0c086fb73963a30157 diff --git a/dev-python/soco/metadata.xml b/dev-python/soco/metadata.xml new file mode 100644 index 000000000..b59e9312b --- /dev/null +++ b/dev-python/soco/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + soco + + python-soco@googlegroups.com + The SoCo-Team + + + diff --git a/dev-python/soco/soco-0.23.2.ebuild b/dev-python/soco/soco-0.23.2.ebuild new file mode 100644 index 000000000..5def0469c --- /dev/null +++ b/dev-python/soco/soco-0.23.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="SoCo (Sonos Controller) is a simple library to control Sonos speakers." +HOMEPAGE="https://github.com/SoCo/SoCo https://pypi.org/project/soco/" +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.rst" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/ifaddr[${PYTHON_USEDEP}] + dev-python/aiohttp[${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 +}