From ba086c621b870f624f4b0291afdc7b6d2f37049d Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sat, 25 Dec 2021 18:16:10 +0100 Subject: [PATCH] dev-python/bluepy: Import new package The original ebuild was from overlay HomeAssistantRepository. The version in this overlay supports only ~amd64 and python3.9 and 10 and has some minor modifications inside the ebuild (style, EAPI=8, proper time range in ebuild copyright header). Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nils Freydank --- dev-python/bluepy/Manifest | 1 + dev-python/bluepy/bluepy-1.3.0.ebuild | 29 +++++++++++++++++++++++++++ dev-python/bluepy/metadata.xml | 15 ++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/bluepy/Manifest create mode 100644 dev-python/bluepy/bluepy-1.3.0.ebuild create mode 100644 dev-python/bluepy/metadata.xml diff --git a/dev-python/bluepy/Manifest b/dev-python/bluepy/Manifest new file mode 100644 index 0000000..ced785e --- /dev/null +++ b/dev-python/bluepy/Manifest @@ -0,0 +1 @@ +DIST bluepy-1.3.0.tar.gz 217933 BLAKE2B 718855273ff08954369cb5f58b810f904da5e8c38a14042f214721c8f29bbb1b5ed22e3ff8fbd453ef044309f506c641c41e2a436c23df9a1b3cd34d2ef93e4f SHA512 1f06f8b1db869e9f74a965fab7d9cf6d42765012d2a88eb2b615a87a4e7721fbf0d9907619d1e80bb087188cd84b7e3f11f773480fe83c48fdfdfefb96cf5cd8 diff --git a/dev-python/bluepy/bluepy-1.3.0.ebuild b/dev-python/bluepy/bluepy-1.3.0.ebuild new file mode 100644 index 0000000..11651c8 --- /dev/null +++ b/dev-python/bluepy/bluepy-1.3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python module for interfacing with BLE devices through Bluez" +HOMEPAGE="https://github.com/IanHarvey/bluepy https://pypi.org/project/bluepy/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +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 +} diff --git a/dev-python/bluepy/metadata.xml b/dev-python/bluepy/metadata.xml new file mode 100644 index 0000000..a9b3b58 --- /dev/null +++ b/dev-python/bluepy/metadata.xml @@ -0,0 +1,15 @@ + + + + + holgersson@posteo.de + Nils Freydank + + + bluepy + + website-contact@fenditton.org + Ian Harvey + + +