diff --git a/dev-python/motionblindsble/Manifest b/dev-python/motionblindsble/Manifest new file mode 100644 index 000000000..17e9a8c96 --- /dev/null +++ b/dev-python/motionblindsble/Manifest @@ -0,0 +1,3 @@ +DIST motionblindsble-0.0.9.tar.gz 19653 BLAKE2B e446216414af165fb3bf1be107205207c998dbe5afd9a2da0a1cd3094c1b920885dbe04acf89b264c1d3fe7b266c80b121810fe363cda8a17cedd948684f3b74 SHA512 da1d1c69dde939c5e2697c8041d15e64e9081939d187bed9692694ea9f264c1651e650540d919d82606f9740d8e5fabb08b436b1ef1bf81f3be219bc0f20d5ed +EBUILD motionblindsble-0.0.9.ebuild 821 BLAKE2B 77a25e078158d2c922d852d61fe004f028971d65bdc123ff3b2d7a361a68b255dd39be1aaaa2a0ab77309eedeac32986534e51c02e5746ffe4d753a8867913df SHA512 e2f85a0078b20ac780110fe580644b915c9c68feb849279d1fa2a270a8ae1ab94be9b28a35eb1cfee7eb89534843643aabf9ff917980fa5380b42955fb6e8c20 +MISC metadata.xml 522 BLAKE2B 164b926f5d3c0ea661f77acfab954f7140c284431aed5a13a55fb3580fe688abc6460be21e11338c2bb97470dddfd7d316f4d0328c6eea33830084be06145b4f SHA512 359dee144ddb01b9f7b722654fdc19d47a7bc61ed1ebfafc1fb88890ccedb93641b243c472016280d784ff40245aada337d75b7d44037103582955cd68d4c799 diff --git a/dev-python/motionblindsble/metadata.xml b/dev-python/motionblindsble/metadata.xml new file mode 100644 index 000000000..4fc5071bc --- /dev/null +++ b/dev-python/motionblindsble/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + motionblindsble + LennP/PyPi-Motionblinds_BLE + + lennperik@hotmail.nl + LennP + + + diff --git a/dev-python/motionblindsble/motionblindsble-0.0.9.ebuild b/dev-python/motionblindsble/motionblindsble-0.0.9.ebuild new file mode 100644 index 000000000..96a153eb2 --- /dev/null +++ b/dev-python/motionblindsble/motionblindsble-0.0.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Python library for interfacing with Motionblinds using Bluetooth Low Energy (BLE)." +HOMEPAGE="https://github.com/LennP/PyPi-Motionblinds_BLE https://pypi.org/project/motionblindsble/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/bleak[${PYTHON_USEDEP}] + dev-python/bleak-retry-connector[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}]" + +src_prepare() { + sed -i "s/packages=find_packages()/packages=find_packages(exclude=['tests*'])/g" -i setup.py || die + eapply_user +} + +distutils_enable_tests pytest