2022-09-20 09:47:01 +02:00
|
|
|
# Copyright 2019-2022 Gentoo Authors
|
2021-12-25 18:16:10 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="8"
|
|
|
|
|
2022-11-22 22:38:12 +01:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
PYTHON_COMPAT=( python3_{10..11} )
|
2021-12-25 18:16:10 +01:00
|
|
|
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"
|
2022-09-20 09:46:59 +02:00
|
|
|
RESTRICT="!test? ( test )"
|
2021-12-25 18:16:10 +01:00
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
2022-11-22 22:38:12 +01:00
|
|
|
"
|
2021-12-25 18:16:10 +01:00
|
|
|
|
2022-11-22 22:38:12 +01:00
|
|
|
distutils_enable_tests nose
|
|
|
|
distutils_enable_tests pytest
|