micropython-mpremote: Add new package
[feed/packages.git] / lang / python / micropython-mpremote / Makefile
1 #
2 # Copyright (C) 2023 Jeffery To
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=micropython-mpremote
11 PKG_VERSION:=1.20.0
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=mpremote
15 PKG_HASH:=5c342762a04791309dd49bce63c70a075aa7c548b1c0076262b96f9ccc398ca2
16
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-requirements-txt/host python-hatch-vcs/host
22
23 include ../pypi.mk
24 include $(INCLUDE_DIR)/package.mk
25 include ../python3-package.mk
26
27 define Package/micropython-mpremote
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=Interacting remotely with MicroPython devices
32 URL:=https://github.com/micropython/micropython
33 DEPENDS:=+python3-light +python3-urllib +python3-pyserial
34 endef
35
36 define Package/micropython-mpremote/description
37 This CLI tool provides an integrated set of utilities to remotely
38 interact with and automate a MicroPython device over a serial
39 connection.
40 endef
41
42 $(eval $(call Py3Package,micropython-mpremote))
43 $(eval $(call BuildPackage,micropython-mpremote))
44 $(eval $(call BuildPackage,micropython-mpremote-src))