diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 873064c35..99433a852 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -7,6 +7,7 @@ * bump aioesphomeapi-2.6.5 * bump python-telnet-vlc-2.0.1 * bump python-ecobee-api-0.2.10 + * add python-smarttub-0.0.6 2021-02-16 * update convertdate-2.3.0 diff --git a/dev-python/python-smarttub/Manifest b/dev-python/python-smarttub/Manifest new file mode 100644 index 000000000..fb6be0be6 --- /dev/null +++ b/dev-python/python-smarttub/Manifest @@ -0,0 +1,3 @@ +DIST python-smarttub-0.0.6.tar.gz 4768 BLAKE2B e9bb914fa1cea2435393a92e458364b8324ddccebdc5eef47f593dd2db263e48a1b9387e8a73aba3c1d3879e67b193ba0099da780c76fc74c3a6251736db5659 SHA512 abac05ed71240ba00493dd802ce00469a88ea7bf11e3afe10bd41661612a49f4f1c0114345e2c2b9113a8a8c05b50a3e32f122724439a018b202557e63b79bb9 +EBUILD python-smarttub-0.0.6.ebuild 926 BLAKE2B c1de5cb60ff5eb243fc0a7bce6a126060d0808361c154fffe9988688dc3a0894def94a69577ba68b310e58984e85a2c44650a34d830b8cfaf8536c5bcfcc9e8c SHA512 b1cf1a739815279d92c5c135fdb9529b97f6e495bea8f49f2bcf8f1bfdcdd9b5c8813dfcb75f788ed3290841f13870cdaa34e51adb444b1751bb9dfcc0ff3395 +MISC metadata.xml 455 BLAKE2B 792de6abb175bcc2456dc8fc4bba75efeb8765a7ec85d8590c043e393149e9fff8c963b3b8782d62df9d7aaa0d7749ad24a1d0a7e9a046ba77efc43d7acb35de SHA512 a31807a58fd16441ce2153a11fbec5cc05de042a59dc1368c3a11df0c7b2942e1a99ab01b910c7f3ca61e77c26799d5ab6e3468876c15c6024d1c48f24921cbf diff --git a/dev-python/python-smarttub/metadata.xml b/dev-python/python-smarttub/metadata.xml new file mode 100644 index 000000000..722579ba2 --- /dev/null +++ b/dev-python/python-smarttub/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + python-smarttub + + mdz@alcor.net + Matt Zimmerman + + + diff --git a/dev-python/python-smarttub/python-smarttub-0.0.6.ebuild b/dev-python/python-smarttub/python-smarttub-0.0.6.ebuild new file mode 100644 index 000000000..a377d4121 --- /dev/null +++ b/dev-python/python-smarttub/python-smarttub-0.0.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="API to query and control hot tubs using the SmartTub system" +HOMEPAGE="https://github.com/mdz/python-smarttub https://pypi.org/project/python-smarttub/" +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.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/aresponses[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}