From 283914f38055b703766940238078d083f949f72a Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 3 Sep 2022 08:56:56 +0200 Subject: [PATCH] add bluetooth-auto-recovery-0.3.0 --- dev-python/bluetooth-auto-recovery/Manifest | 3 ++ .../bluetooth-auto-recovery-0.3.0.ebuild | 37 +++++++++++++++++++ .../bluetooth-auto-recovery/metadata.xml | 15 ++++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-python/bluetooth-auto-recovery/Manifest create mode 100644 dev-python/bluetooth-auto-recovery/bluetooth-auto-recovery-0.3.0.ebuild create mode 100644 dev-python/bluetooth-auto-recovery/metadata.xml diff --git a/dev-python/bluetooth-auto-recovery/Manifest b/dev-python/bluetooth-auto-recovery/Manifest new file mode 100644 index 000000000..0581632b6 --- /dev/null +++ b/dev-python/bluetooth-auto-recovery/Manifest @@ -0,0 +1,3 @@ +DIST bluetooth-auto-recovery-0.3.0.tar.gz 7047 BLAKE2B ef2e778521e5ea3a8c0320ebd7443fc110c8151c7e07275e714af6925edc6489ce7ece178988d15331fdcd257fb2f59018e61d06f41b3377e9777e13bb9b5519 SHA512 2bf8d6feeb109b3cb75338d3c152f3a1f8624ea09c34487179e1a444be15a9fa9ecc86e608a6bdf15ee31f602a8ebd1b05c4f92ea6dc592d7a488c38bfa6bb13 +EBUILD bluetooth-auto-recovery-0.3.0.ebuild 916 BLAKE2B f997065fcbd0b864dd3d941aaaf7f881af266e3d5d45b91540120964b9eff406665f8f105050c97b30b44d66e13c5533d1d1eaf9da011b346f02ef0756cbbad1 SHA512 41f61ef7961da8336effe1db408bb57987187ef4394fe69d9f5c90fecbfa8237cf81e2cf771c3cd92c97d092c833fbc66d1c22a3134370b2fcf494967eab5e15 +MISC metadata.xml 465 BLAKE2B bc4cded6b70e06e677dcae0012e0806aae4eb531c63442a207aaca5aeeabaeaf377cff601aca0b6637f12cb0763500ac1f7561f33742b9f9aefc8c8b7be279a9 SHA512 a3ae6d9609b09e4b5b328836399e0e9a6448b2462daa2d0541c5a4e8319a88222800b9f6dde9500b446fda8a7074a63239de2065dc420b6262c3c2a8234a224c diff --git a/dev-python/bluetooth-auto-recovery/bluetooth-auto-recovery-0.3.0.ebuild b/dev-python/bluetooth-auto-recovery/bluetooth-auto-recovery-0.3.0.ebuild new file mode 100644 index 000000000..a090b26fd --- /dev/null +++ b/dev-python/bluetooth-auto-recovery/bluetooth-auto-recovery-0.3.0.ebuild @@ -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="Recover bluetooth adapters that are in an stuck state" +HOMEPAGE="https://github.com/bluetooth-devices/bluetooth-auto-recovery https://pypi.org/project/bluetooth-auto-recovery/" +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/PyRIC-0.1.6.3[${PYTHON_USEDEP}] + >=dev-python/btsocket-0.2.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0.1[${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 diff --git a/dev-python/bluetooth-auto-recovery/metadata.xml b/dev-python/bluetooth-auto-recovery/metadata.xml new file mode 100644 index 000000000..2d696c439 --- /dev/null +++ b/dev-python/bluetooth-auto-recovery/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + bluetooth-auto-recovery + + nick@koston.org + J. Nick Koston + + +