holgersson-overlay/dev-python/adafruit-ampy/adafruit-ampy-1.1.0.ebuild
Nils Freydank e6ac70f36b
dev-python/adafruit-ampy: Drop py 3.10, add py 3.12
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2023-06-11 15:09:38 +02:00

36 lines
839 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Adafruit MicroPython tool"
HOMEPAGE="
https://github.com/scientifichackers/ampy
https://pypi.org/project/adafruit-ampy/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
#RESTRICT="!test? ( test )"
# following test do fail currently (2023-02-19)
# tests/test_files.py::TestFiles::test_get_with_data
# tests/test_files.py::TestFiles::test_run_with_output#
# tests/test_files.py::TestFiles::test_run_without_output
#RESTRICT="test"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest