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

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-05 10:34:34 +01:00 committed by Andreas Billmeier
parent d13e4538f4
commit 068be8f4d2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST ld2410-ble-0.1.1.tar.gz 13937 BLAKE2B cbf98d0f0ec74224b44f16fe3399488ee81aa6b7b07c237d5cef47cce47d44cc344c93e32c21a6ab9fe6b81ae71e8fac1eeba5ad456f1ec76250c9bfcdba4142 SHA512 62fbe9c0e7b0cc25272658365e7dcfd913d903e3387d34860ad961df6271d0f4c9a2f10f232578a8adde221d73c4e51c41ac4aa92bc0715f1f9dd30625f9370c
EBUILD ld2410-ble-0.1.1.ebuild 964 BLAKE2B 2b7a9ad4218e26860ed7d1488a4bc82584db581bd619a0d2027de010cb26d960b564b6eb93849bf8c784cc0648b690a56ceb20501dbd75a2a2b12283a7e47c42 SHA512 72ec47e3c40d8bc11dbad300983416923924a8717d1fb0b87bdff4f396c91ed2f10a9f021a2a0740629e9847623afae13e012dbc1a356bfb467cb4090ec3407e
MISC metadata.xml 527 BLAKE2B 009dda0e8b44e80f698c1ea96b3d496aa77e7a6322d205c424c0c21498cf48ab4beb1d0cb035c5b179dfc60103be2daa36151b3114e1dec7f13240c338540a5d SHA512 d61a670ab2e98853dea2b738dfd8f486a419e62f420e0e01f7c74d155c2767212292719f45ef920984ad67afde8d78b812868bd9533b66e2da3c524af96eed77

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="Interface with LD2410B modules from HiLink"
HOMEPAGE="https://github.com/930913/ld2410-ble https://pypi.org/project/ld2410-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="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/bleak-retry-connector-2.3.0[${PYTHON_USEDEP}]
>=dev-python/bleak-0.19.0[${PYTHON_USEDEP}]
>=dev-python/async-timeout-4.0.1[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

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">ld2410-ble</remote-id>
<remote-id type="github">930913/ld2410-ble</remote-id>
<maintainer status="unknown">
<email>3722064+930913@users.noreply.github.com</email>
<name>930913</name>
</maintainer>
</upstream>
</pkgmetadata>