dev-python/melnor-bluetooth: add 0.0.25

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-10-22 09:52:56 +02:00 committed by Andreas Billmeier
parent 6982a9482c
commit ca37476af2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 45 additions and 0 deletions

View File

@ -1,3 +1,5 @@
DIST melnor-bluetooth-0.0.20.tar.gz 10127 BLAKE2B b250433d45680156366300e69597d68748c19844532d4e91600232799c4e58a6bead6277dee92725eb7d191271f8929562338c0d6758d0d9cf8ae3cf6b0e2457 SHA512 53ea1ca1ae6e947ae86964cb73bb2e1dc3c013d418f40dd5571ece8d89a3581a7e03d02c7b7bf2d33aab93470831c16c61ad747908b19d7a71eade548a1331b2
DIST melnor_bluetooth-0.0.25.tar.gz 11623 BLAKE2B f54bae1b8641a7c7ea1159650f711b67d8ab592c382bad7ac3e6db014a762537643a8aa34ce502d9cfcb7a39de3e8504f968bac30ca80b9be0fba406b7e68e96 SHA512 697592a64fb5080235f959f214b0d44df75268b6659b478ab6fc98f934ca7a61b970c243a3cf39a5654e8a36f9d59ae20e35910bdc1e1b5b58656b7028a612ad
EBUILD melnor-bluetooth-0.0.20.ebuild 933 BLAKE2B fb84a19321a9cfd7c3d3e1d85c6a5708b7a2d751291bb62cab3c4d7f1fb76cea7ec0be61f1c27f21b69768b34105da8193ed52f760d994eadf6e779740425836 SHA512 5f0c0fece205443106fa797f6423f1295ffe498ad426fdd01bc2ed9893357a2c272f9c3120919b2506386b875551c476a7de54936f720ff0864a657d6a4cd946
EBUILD melnor-bluetooth-0.0.25.ebuild 1208 BLAKE2B 8b8d4a1a303c066a68104eb5b2438da57e6fba149f3110ab6374f4eef7fa71a8ff6a62865c313f1c7f6dcd24ec7b98a66ccd3678788f9231e62f1425a6f72c57 SHA512 b0756d0caf9b4871b03fdc1d203fdf7c5d674fa918ad3e31c83775cfbfe3d4a142f21f9342848914c28363d6d5dfc11b92b9946bd1e318a7818879fe13c149f1
MISC metadata.xml 470 BLAKE2B b39737ad473d8491b4f7b174a077965bce87c36a1ccc28bd29e1c680206a17a7fb5c72b39cae34e1a6eca9c653f482c382a8ae36b9b847ce615f5ebf6380fdbd SHA512 0ba70c5da2fdb79efb7d7d3a84b09c54f3fe6de0b22e6ca099de0424044a8cf1a68029c96bc134cb5858bb5c8edcc48d3174ecefe9c8b41b5c13b99d67458df4

View File

@ -0,0 +1,43 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="A small python library for discovery and interacting with Melnor, Eden, etc Bluetooth water timers."
HOMEPAGE="https://github.com/vanstinator/melnor-bluetooth https://pypi.org/project/melnor-bluetooth/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/bleak-0.15.1[${PYTHON_USEDEP}]
>=dev-python/bleak-retry-connector-1.11.0[${PYTHON_USEDEP}]
>=dev-python/tzdata-2022.1[${PYTHON_USEDEP}]
>=dev-python/tzlocal-4.1[${PYTHON_USEDEP}]
>=dev-python/aioconsole-0.4.1[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest
src_prepare() {
# remove unsupported dynamic-versioning plugin
sed 's/0.0.0/${PV}/g' -i pyproject.toml || die
sed 's/, "poetry-dynamic-versioning"//g' -i pyproject.toml || die
sed 's/poetry_dynamic_versioning.backend/poetry.core.masonry.api/g' -i pyproject.toml || die
eapply_user
}