diff --git a/dev-python/bluetooth-sensor-state-data/Manifest b/dev-python/bluetooth-sensor-state-data/Manifest index 794cc5db3..d5c75d590 100644 --- a/dev-python/bluetooth-sensor-state-data/Manifest +++ b/dev-python/bluetooth-sensor-state-data/Manifest @@ -1,3 +1,5 @@ DIST bluetooth-sensor-state-data-1.5.0.tar.gz 8591 BLAKE2B 74c37f416e23dcf0406b6cc5e99ce0598340123492f3627687623efeea6c75a7a5e320e70248c949538e5fc24349f557ce8f91129a2dae6d3d7ae445920b117b SHA512 425334bb9a2cda7904b4e6f58273aa956f9398348eb648e40b0656e39c92fcf7c03422f48cd6a060972b0fd4681e72d67a9a3344fab6f7154a08b142924dea2c +DIST bluetooth-sensor-state-data-1.6.0.tar.gz 8981 BLAKE2B 0e555cf0a9773b5adda82ad19d643027c6beb040cefa3f3fb84923211d406b3e8a84715f37d290a71c60a50a0cf6b001606e0f756603f70bd055251aa547fc4d SHA512 e243d75884e7de1d350be3c149263203a691609a1d444a5e8fb0942898133832257213f0865a605996f950eec04b191ff25197949ada626b1f8ee163c1d51942 EBUILD bluetooth-sensor-state-data-1.5.0.ebuild 953 BLAKE2B e6b23681ec4c2a1f79935864293345306aa29fa7514dda051f26db5e88bc8fc98926ae6139c7ddf1fdf1a5ecd0c97fe2f1aa08d5e90b341900d397826098ddb8 SHA512 f26be011535854012987ff3aad7015af72c5dff5e474895532ecfd41692efcf401a1d3751121a9c25b6db002bb1a11539aa535b77f278237eb46dd0d8bc900db +EBUILD bluetooth-sensor-state-data-1.6.0.ebuild 953 BLAKE2B e6b23681ec4c2a1f79935864293345306aa29fa7514dda051f26db5e88bc8fc98926ae6139c7ddf1fdf1a5ecd0c97fe2f1aa08d5e90b341900d397826098ddb8 SHA512 f26be011535854012987ff3aad7015af72c5dff5e474895532ecfd41692efcf401a1d3751121a9c25b6db002bb1a11539aa535b77f278237eb46dd0d8bc900db MISC metadata.xml 469 BLAKE2B 9042d796c5883892ffb624815a1566ec9d4b69913b97670002965c05eb74c16e2b39ca49e05d69bae7964be48e65d9462883b0a7050c95dcef521fae962bcf17 SHA512 a8ff7b59d00747504c44d8934b9d5f21e20c9453f5a134fc0c1950d8164786ef8aa0913982673d86643116f903f102dfc9d53c72617c05a9f4eb0ffc478099f0 diff --git a/dev-python/bluetooth-sensor-state-data/bluetooth-sensor-state-data-1.6.0.ebuild b/dev-python/bluetooth-sensor-state-data/bluetooth-sensor-state-data-1.6.0.ebuild new file mode 100644 index 000000000..08d434e5a --- /dev/null +++ b/dev-python/bluetooth-sensor-state-data/bluetooth-sensor-state-data-1.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Models for storing and converting Bluetooth Sensor State Data" +HOMEPAGE="https://github.com/bluetooth-devices/bluetooth-sensor-state-data https://pypi.org/project/bluetooth-sensor-state-data/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/home-assistant-bluetooth-1.3.0[${PYTHON_USEDEP}] + >=dev-python/sensor-state-data-2.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest