dev-python/ruuvitag-ble: new package, add 0.1.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2022-12-08 10:55:52 +01:00
committed by Andreas Billmeier
parent 3e13dad72d
commit 6c15e726aa
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST ruuvitag-ble-0.1.1.tar.gz 8184 BLAKE2B 5fea448dd37ea3656d54d4745f68c2c8a6396be232e0c611a8583c3f0acf01d8abe75eec81e305375fd5572e33b7a5beb5b2ca7c307fcf1cfb043f4c484badf2 SHA512 a13923a8e1e9455f966ca5ec3839fd9b64833a2ff9b092554318d094fed4ec163ae218facd88f3f6ef9b7a2dec88a60facbf5384326d76e7e8270442177db23f
EBUILD ruuvitag-ble-0.1.1.ebuild 965 BLAKE2B 3b4cccb8f070687df9c84736c1be29a7124a7b4032bc883f7d4710f46f76ae08e33449025936300ce79658522cebcba039ec3a681bb28b8f784ea8ab2eb27dd8 SHA512 0f43f61023bde37f33ce09e82447d4ac1ffed3cef3fef6d7e9d4dd3b638afa26855c5806d105230da2a4ba2afb8fcaa9eba812bed4124e428d5ac896cf55ac8b
MISC metadata.xml 520 BLAKE2B badfd9c513e222e75b016b2637d5d46b9a97be03ad587f3a5a229413377177fceccf77e0f871cd29375e7792cf3a6b40b4f0f835d586e4f2d0cf5245a4e97431 SHA512 90d4cbfdf40e1b0eb506e40ed5d55710005f353964c1923042f6711b86182bdd1d41af04bff820409c3aa9ac3a96797c1a9ce34fb2bb64c5739d97de7c71f823

View File

@@ -0,0 +1,16 @@
<?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">ruuvitag-ble</remote-id>
<remote-id type="github">Bluetooth-Devices/ruuvitag-ble</remote-id>
<maintainer status="unknown">
<email>akx@iki.fi</email>
<name>Aarni Koskela</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1
DESCRIPTION="Manage Ruuvitag BLE devices"
HOMEPAGE="https://github.com/Bluetooth-Devices/ruuvitag-ble https://pypi.org/project/ruuvitag-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-data-tools-0.1.2[${PYTHON_USEDEP}]
>=dev-python/sensor-state-data-2.9.0[${PYTHON_USEDEP}]
>=dev-python/bluetooth-sensor-state-data-1.6.0[${PYTHON_USEDEP}]
>=dev-python/home-assistant-bluetooth-1.6.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest