Files
HomeAssistantRepository/dev-python/pyserial-asyncio/pyserial-asyncio-0.6.ebuild
2025-08-24 12:29:50 +02:00

31 lines
681 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Python Serial Port Extension - Asynchronous I/O support"
HOMEPAGE="https://github.com/pyserial/pyserial-asyncio https://pypi.org/project/pyserial-asyncio/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest