dev-python/oralb-ble: new package, add 0.9.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2022-10-30 17:07:15 +01:00
committed by Andreas Billmeier
parent 0f10308579
commit 6bb1836e08
5 changed files with 57 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
DIST oralb-ble-0.9.0.tar.gz 6585 BLAKE2B 45e858abf4b6de794278b0e4f18d4a0a123c05bc52fab3a7a5363ed99ca836e02e1bb1acb1aae31546434fd8eaea336629e53f27db018a89f1c35b1d776bff6b SHA512 5f862095b03af491e4dd10056c9ef8a643a0118f6565bf79e86efa4e619353cad55cae084e0d7d8fd84fbfb412348fa1c43a2f20e247247c5ffdab05420e72a5
EBUILD oralb-ble-0.9.0.ebuild 922 BLAKE2B 8b6cbcd2961458d26b06e7b7b1995c8e269dfc85ff1605838847388585866f5c1a62d887a7099cdbb312e6a6fe83c622673370e8feda339bfd03bb4a4f111906 SHA512 cef8fc30f6ba01899777e125a3ad31633e6cee42b272a1fd07e2c0c80e2cd6af8b0c75cb0957480fe450dce751d780dfb5aade4f8ae607cf7c3cecd2bf4e4c43
MISC metadata.xml 456 BLAKE2B b6751a38a209157163b61d538ec15e39bc923ab2009a50164ff7485ff5d4d17870c9b84d38a6094b3195bf3de9ca9b2b9e41ab67f5b7922caeed8467b5980e66 SHA512 06b43694fd29d9cf18cafa5bf5feca7f63e5d99f66b177f088ac8b21f6e7e3f8b69e6657f1be07b48f85a07b526f2c2b642a24efbf24e11f77f18e9b37a47da3

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">oralb-ble</remote-id>
<maintainer status="unknown">
<email>bluetooth@koston.org</email>
<name>J. Nick Koston</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -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="Bluetooth library for Oral B devices"
HOMEPAGE="https://github.com/Bluetooth-Devices/oralb-ble https://pypi.org/project/oralb-ble/"
MY_PN=${PN/-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/bluetooth-sensor-state-data-1.6.0[${PYTHON_USEDEP}]
>=dev-python/bluetooth-data-tools-0.1.2[${PYTHON_USEDEP}]
>=dev-python/home-assistant-bluetooth-1.6.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest