add thermobeacon-ble-0.3.1

This commit is contained in:
2022-09-03 18:01:48 +02:00
committed by Andreas Billmeier
parent da4878a95b
commit 1d59c4c778
5 changed files with 59 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
DIST thermobeacon-ble-0.3.1.tar.gz 6105 BLAKE2B 74c23a4a573f49d8daa067c33d7531ffa521297a56a82abaf471edf745a12bffa15e6d961ea87f4e6cb43a707b8f7f7876e32a8992b9c023bf2d151b2ef687e2 SHA512 123b815360195db17b922454a6edd4a8922673674d5b31cfa236a228398bd9e2f376cf70579d37c5276451c1069e8de731aa4c810479a17d05d0579415ec514f
EBUILD thermobeacon-ble-0.3.1.ebuild 916 BLAKE2B 5c5e53fac71fbf4f12fddd4017e9de788196ff17709f6a677fb381d307c04820c9da2f4077fefdedb54969869f177ffdc9d7f9f79e2450dcf465f9cdea7e7bb6 SHA512 b319a5349c2e0ce08d79e33911e0867c1cca6fe8be53ca0b00438a0e399e785e189724626f8bf26aa1c81dadeaa1a22d03e3d95ec5d15688679c79241950860b
MISC metadata.xml 458 BLAKE2B 24c768eadc25045c306feb80d34c553a237d001821666184a3ba058a7a42d675152f062e32064a9c7f6c84465ed458620b974fb8a250cff313f2e24ac1c1acf5 SHA512 78fd51c7bb4123fee5ab4199e3c92d47b4da0fe0d10cb16f3adba06849cc4a24e1b7d655ed329d1ce8e1d7e3fef9f451377bb101ed16fe1cb56e4b1851330915

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">thermobeacon-ble</remote-id>
<maintainer status="unknown">
<email>nick@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="Parser for Thermobeacon devices"
HOMEPAGE="https://github.com/bluetooth-devices/thermobeacon-ble https://pypi.org/project/thermobeacon-ble/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
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.3.2[${PYTHON_USEDEP}]
>=dev-python/bluetooth-sensor-state-data-1.6.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest