dev-python/mopeka-iot-ble: new package, add 0.4.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-07 10:04:21 +01:00 committed by Andreas Billmeier
parent 607e3b16b9
commit da076fe6ce
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST mopeka-iot-ble-0.4.0.tar.gz 6433 BLAKE2B 5f2ca031872cb6e08385a477b0929fbba1456df09bead193b4a1a1c35c3f0580f2983a6c9696afd7d9346db53a3a5c9862cd84eaaad3695ec47dce587696c272 SHA512 3273a8307215fb50a18b6b6e7ff7293a70f09a33c4a1168d568ca3ff68cf31337bfb94f4ca13e9e2e2a81dc9092ff5fbc5474fca4c204e1b9255f1f4f2be2f8b
EBUILD mopeka-iot-ble-0.4.0.ebuild 1001 BLAKE2B 3bdc444da87299faade4f1cbea6aa01cfebcad339652576145561e27fd6423523eceae21ad8785ff74d1064840f0cc539ef7faa236efc252e2efcf11f080bf61 SHA512 8b921f1f3fa9d1c49e61923894e62a7608edf70febb821b37177cf0db9948a6655e294a4b504e4413aea5cd432d1cbe7ec081fe675303d30dfff27a569867d59
MISC metadata.xml 535 BLAKE2B 62d00f4088044dd8106db46c8025b94aa3eaa1a847d99a6f240a99c72d301aa77e034e0a903c5a063fcf93c4378bc985924534bda27d7a17026952de349dd7c9 SHA512 aacd5d9c01dfd9bc31b3f896a28b8f6959e2fc37c161424ca7a613424057a76de2ae914fe119ffdc6e279832c2cd0eccf9ace58fe21cdbc3ee250eb9f3a567a5

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">mopeka-iot-ble</remote-id>
<remote-id type="github">bluetooth-devices/mopeka-iot-ble</remote-id>
<maintainer status="unknown">
<email>bluetooth@koston.org</email>
<name>J. Nick Koston</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
DESCRIPTION="Mopeka IOT BLE Parser"
HOMEPAGE="https://github.com/bluetooth-devices/mopeka-iot-ble https://pypi.org/project/mopeka-iot-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/home-assistant-bluetooth-1.6.0[${PYTHON_USEDEP}]
>=dev-python/sensor-state-data-2.2.0[${PYTHON_USEDEP}]
>=dev-python/bluetooth-sensor-state-data-1.5.0[${PYTHON_USEDEP}]
>=dev-python/bluetooth-data-tools-0.1.2[${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