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 <holgersson@posteo.de>
This commit is contained in:
parent
e5871cb259
commit
ba086c621b
1
dev-python/bluepy/Manifest
Normal file
1
dev-python/bluepy/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST bluepy-1.3.0.tar.gz 217933 BLAKE2B 718855273ff08954369cb5f58b810f904da5e8c38a14042f214721c8f29bbb1b5ed22e3ff8fbd453ef044309f506c641c41e2a436c23df9a1b3cd34d2ef93e4f SHA512 1f06f8b1db869e9f74a965fab7d9cf6d42765012d2a88eb2b615a87a4e7721fbf0d9907619d1e80bb087188cd84b7e3f11f773480fe83c48fdfdfefb96cf5cd8
|
29
dev-python/bluepy/bluepy-1.3.0.ebuild
Normal file
29
dev-python/bluepy/bluepy-1.3.0.ebuild
Normal file
@ -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
|
||||
}
|
15
dev-python/bluepy/metadata.xml
Normal file
15
dev-python/bluepy/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="person">
|
||||
<email>holgersson@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">bluepy</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>website-contact@fenditton.org</email>
|
||||
<name>Ian Harvey</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user