dev-python/btlewrap: 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
ba086c621b
commit
c1cdd0df2b
1
dev-python/btlewrap/Manifest
Normal file
1
dev-python/btlewrap/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST btlewrap-0.1.0.tar.gz 14854 BLAKE2B d3a150b6477ff097ac02b8f2ac1f1eb74e693cdb14d69943b83ae0d2136c746f53c222c237d825ac0b5dd24e83de33b198183554135f84d2fc93ee5576ead136 SHA512 cff3d7f6c9481caa8f2a20c494bc79fdfc41fb6d370a883cb817ca6c4461270fd50afcb9eca20902acf6e23aa32b8dbcd043d2d2e86f6f45323611b94ed5f922
|
40
dev-python/btlewrap/btlewrap-0.1.0.ebuild
Normal file
40
dev-python/btlewrap/btlewrap-0.1.0.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# 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="wrapper around different bluetooth low energy backends"
|
||||
HOMEPAGE="https://github.com/ChristianKuehnel/btlewrap https://pypi.org/project/btlewrap/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/bluepy[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s/packages=find_packages()/packages=find_packages(exclude=['test','test.*'])/g" setup.py || die
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
15
dev-python/btlewrap/metadata.xml
Normal file
15
dev-python/btlewrap/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">btlewrap</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>christian.kuehnel@gmail.com</email>
|
||||
<name>Christian Kuehnel</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user