25 lines
625 B
Bash
25 lines
625 B
Bash
# Copyright 2019-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="8"
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{10..11} )
|
|
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"
|
|
# Some(sic!) tests need nose which is getting cleaned from main tree.
|
|
RESTRICT="test"
|
|
|
|
BDEPEND="
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_tests pytest
|