aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2026-01-18 13:14:54 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2026-01-18 13:57:10 +0000
commit45f504ac7f6045dbce572ec6b09dd4fc12fac12a (patch)
treece1d45c72407850b8ab3d28593a2824aa405faa8
parent38d1a48702313a2c61374a5103870ccc3e484c4d (diff)
devel/py-mpremote: Add new port
mpremote is the MicroPython remote control who provides an integrated set of utilities to remotely interact with and automate a MicroPython device over a serial connection.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-mpremote/Makefile23
-rw-r--r--devel/py-mpremote/distinfo3
-rw-r--r--devel/py-mpremote/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0aac73eb41d8..768ac09a537f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5311,6 +5311,7 @@
SUBDIR += py-moreorless
SUBDIR += py-moto
SUBDIR += py-mox
+ SUBDIR += py-mpremote
SUBDIR += py-mrkd
SUBDIR += py-msal
SUBDIR += py-msal-extensions
diff --git a/devel/py-mpremote/Makefile b/devel/py-mpremote/Makefile
new file mode 100644
index 000000000000..c8e50aec40f2
--- /dev/null
+++ b/devel/py-mpremote/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= mpremote
+DISTVERSION= 1.27.0
+CATEGORIES= devel
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rodrigo@FreeBSD.org
+COMMENT= Tool for interacting remotely with MicroPython devices
+WWW= https://github.com/micropython/micropython
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-requirements-txt>0:devel/py-hatch-requirements-txt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyserial>=3.0:comms/py-pyserial@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/devel/py-mpremote/distinfo b/devel/py-mpremote/distinfo
new file mode 100644
index 000000000000..70c51b784c5b
--- /dev/null
+++ b/devel/py-mpremote/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1768741926
+SHA256 (mpremote-1.27.0.tar.gz) = 6bb75774648091dad6833af4f86c5bf6505f8d7aec211380f9e6996c01d23cb5
+SIZE (mpremote-1.27.0.tar.gz) = 31420
diff --git a/devel/py-mpremote/pkg-descr b/devel/py-mpremote/pkg-descr
new file mode 100644
index 000000000000..892893419ed9
--- /dev/null
+++ b/devel/py-mpremote/pkg-descr
@@ -0,0 +1,3 @@
+mpremote is a tool for interacting remotely with MicroPython devices
+This CLI tool provides an integrated set of utilities to remotely
+interact with and automate a MicroPython device over a serial connection.