aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/mpremote/mpremote-1.22.0.ebuild')
-rw-r--r--sci-electronics/mpremote/mpremote-1.22.0.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-electronics/mpremote/mpremote-1.22.0.ebuild b/sci-electronics/mpremote/mpremote-1.22.0.ebuild
new file mode 100644
index 000000000..741478265
--- /dev/null
+++ b/sci-electronics/mpremote/mpremote-1.22.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="MicroPython remote control"
+HOMEPAGE="https://github.com/micropython/micropython/tree/master/tools/mpremote"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/importlib-metadata[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-requirements_txt.patch"
+)
+
+# The package might not have a test suite:
+# https://github.com/orgs/micropython/discussions/11308
+#distutils_enable_tests pytest