add xiaomi-ble-0.6.4
This commit is contained in:
parent
1e9eb8079b
commit
e82048e224
3
dev-python/xiaomi-ble/Manifest
Normal file
3
dev-python/xiaomi-ble/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST xiaomi-ble-0.6.4.tar.gz 19735 BLAKE2B 3297de42a9078be1e85e66565abdae9c91f3a341dddb20d36ee5e58700e61d9a751f83443c3fa6c0e12f9aca51fc5a41d2944837f971b78439d90625f616eb3c SHA512 5bf981cd1170d4986c432e4928f6add1c52e5766a7db591eb74b7ee5bdb6a8799aa375ea658c896f343743991420bd9e2462d91ec3485302da19521f23146c77
|
||||
EBUILD xiaomi-ble-0.6.4.ebuild 1050 BLAKE2B 852d6cd4bfdd2be1381c70858da9f315c6dfecd4ca911692067c3a546ca3b0ac804e0580ac3819ca820955fbda549090e05ee6e73358beef2ca534c27e011fba SHA512 7abd313acf028a891e2994a1bcf167819ce9af23f7a772b1526275cd26d94be57e08febd0d7e643733b575127ac8f54e79f4bfe6abf4e1198a586029d550234c
|
||||
MISC metadata.xml 456 BLAKE2B 396f5235c138aa794e16f4a2ff42d3505e2d3b38b055b135b9224ad94add070b586cc3a6d8847cf53135c49d62e4bb88edffc11bcc99721b1fb5a3ebb46e9dba SHA512 c27ec3846e1fadd63b0a4b77a9fa63483e9ef2dbb1fc3d98ce2a2410a6e63211395f01706ca762749b82c8c2587b350dad5543bef81df68c3dcde1495efd63f0
|
||||
15
dev-python/xiaomi-ble/metadata.xml
Normal file
15
dev-python/xiaomi-ble/metadata.xml
Normal 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">xiaomi-ble</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>john.carr@unrouted.co.uk</email>
|
||||
<name>John Carr</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
40
dev-python/xiaomi-ble/xiaomi-ble-0.6.4.ebuild
Normal file
40
dev-python/xiaomi-ble/xiaomi-ble-0.6.4.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# 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=poetry
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage Xiaomi BLE devices"
|
||||
HOMEPAGE="https://github.com/bluetooth-devices/xiaomi-ble https://pypi.org/project/xiaomi-ble/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/home-assistant-bluetooth-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sensor-state-data-2.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/bluetooth-sensor-state-data-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodomex-3.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bleak-retry-connector-1.4.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
|
||||
Loading…
x
Reference in New Issue
Block a user