commit:     04e5014d1c939e1f9bccb6503cdc6ad1aee9cc3c
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Apr 21 07:21:28 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Apr 21 07:21:28 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=04e5014d

sci-electronics/mpremote: new package, add 0.4.0

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-electronics/mpremote/metadata.xml          | 20 ++++++++++++++++++
 sci-electronics/mpremote/mpremote-0.4.0.ebuild | 28 ++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/sci-electronics/mpremote/metadata.xml 
b/sci-electronics/mpremote/metadata.xml
new file mode 100644
index 000000000..820065154
--- /dev/null
+++ b/sci-electronics/mpremote/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>sci-electron...@gentoo.org</email>
+               <name>Gentoo Electronics Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>gen...@chymera.eu</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <longdescription lang="en">
+               This CLI tool provides an integrated set of utilities to 
remotely interact with
+               and automate a MicroPython device over a serial connection.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">micropython/micropython</remote-id>
+               <remote-id type="pypi">mpremote</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/sci-electronics/mpremote/mpremote-0.4.0.ebuild 
b/sci-electronics/mpremote/mpremote-0.4.0.ebuild
new file mode 100644
index 000000000..80056b01e
--- /dev/null
+++ b/sci-electronics/mpremote/mpremote-0.4.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+# Next release will move to hatchling:
+# https://github.com/micropython/micropython/pull/10645
+#DISTUTILS_USE_PEP517=hatchling
+DISTUTILS_USE_PEP517=setuptools
+
+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}]
+"
+
+# The package might not have a test suite:
+# https://github.com/orgs/micropython/discussions/11308
+#distutils_enable_tests pytest

Reply via email to