holgersson-overlay/dev-python/adafruit-ampy/adafruit-ampy-1.1.0.ebuild
Nils Freydank dc6702b1f0
dev-python/adafruit-ampy: Add new package version 1.1.0
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2023-02-19 18:53:07 +01:00

36 lines
866 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_{10..11} )
inherit distutils-r1
DESCRIPTION="Adafruit MicroPython tool"
HOMEPAGE="
https://github.com/scientifichackers/ampy
https://pypi.org/project/adafruit-ampy/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
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