mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
python-platformio: add target package
Remove host-only build and add source package. Adding missing ajsonrpc dependency to PlatformIO. Link: https://github.com/search?q=repo%3Aplatformio%2Fplatformio-core%20ajsonrpc&type=code Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
committed by
Alexandru Ardelean
parent
b12e18eb00
commit
e15bac9722
@@ -1,31 +1,35 @@
|
|||||||
# This is free software, licensed under the GNU General Public License v2.
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=python-platformio
|
PKG_NAME:=python-platformio
|
||||||
PKG_VERSION:=6.1.19
|
PKG_VERSION:=6.1.19
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PYPI_NAME:=platformio
|
PYPI_NAME:=platformio
|
||||||
PKG_HASH:=7b53eaa36fcba554411b669eab845626da7c4b90fa6aaee9fe9f1875d82f5f54
|
PKG_HASH:=7b53eaa36fcba554411b669eab845626da7c4b90fa6aaee9fe9f1875d82f5f54
|
||||||
|
|
||||||
PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>
|
PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
PKG_HOST_ONLY:=1
|
|
||||||
HOST_BUILD_DEPENDS:= \
|
HOST_BUILD_DEPENDS:= \
|
||||||
python3/host \
|
python-ajsonrpc/host \
|
||||||
|
python-bottle/host \
|
||||||
python-build/host \
|
python-build/host \
|
||||||
python-installer/host \
|
|
||||||
python-pyserial/host \
|
|
||||||
python-click/host \
|
python-click/host \
|
||||||
python-semantic-version/host \
|
python-installer/host \
|
||||||
|
python-marshmallow/host \
|
||||||
|
python-pyelftools/host \
|
||||||
|
python-pyserial/host \
|
||||||
python-requests/host \
|
python-requests/host \
|
||||||
|
python-semantic-version/host \
|
||||||
|
python-setuptools/host \
|
||||||
|
python-starlette/host \
|
||||||
python-tabulate/host \
|
python-tabulate/host \
|
||||||
python-pyelftools/host
|
python-uvicorn/host \
|
||||||
|
python-wsproto/host
|
||||||
|
PKG_BUILD_DEPENDS:=python-setuptools/host
|
||||||
|
|
||||||
include ../pypi.mk
|
include ../pypi.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
@@ -37,25 +41,40 @@ define Package/python3-platformio
|
|||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
TITLE:=PlatformIO Host Tools
|
TITLE:=PlatformIO
|
||||||
URL:=https://github.com/platformio/platformio-core
|
URL:=https://github.com/platformio/platformio-core
|
||||||
BUILDONLY:=1
|
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
+python3-light \
|
+python3-ajsonrpc \
|
||||||
+python3-pyserial \
|
+python3-asyncio \
|
||||||
+python3-click \
|
+python3-bottle \
|
||||||
+python3-semantic-version \
|
+python3-click \
|
||||||
+python3-requests \
|
+python3-colorama \
|
||||||
+python3-tabulate \
|
+python3-ctypes \
|
||||||
+python3-pyelftools
|
+python3-light \
|
||||||
|
+python3-logging \
|
||||||
|
+python3-marshmallow \
|
||||||
|
+python3-multiprocessing \
|
||||||
|
+python3-openssl \
|
||||||
|
+python3-pyelftools \
|
||||||
|
+python3-pyserial \
|
||||||
|
+python3-requests \
|
||||||
|
+python3-semantic-version \
|
||||||
|
+python3-starlette \
|
||||||
|
+python3-tabulate \
|
||||||
|
+python3-urllib \
|
||||||
|
+python3-uuid \
|
||||||
|
+python3-uvicorn \
|
||||||
|
+python3-wsproto \
|
||||||
|
+python3-xml
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python3-platformio/description
|
define Package/python3-platformio/description
|
||||||
PlatformIO is an open-source build system for embedded development,
|
PlatformIO is a cross-platform, cross-architecture, multiple framework,
|
||||||
supporting multiple platforms, frameworks, and boards
|
professional tool for embedded systems engineers and for software
|
||||||
with features like dependency management and IDE integration.
|
developers who write applications for embedded products.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call Py3Package,python3-platformio))
|
$(eval $(call Py3Package,python3-platformio))
|
||||||
$(eval $(call BuildPackage,python3-platformio))
|
$(eval $(call BuildPackage,python3-platformio))
|
||||||
|
$(eval $(call BuildPackage,python3-platformio-src))
|
||||||
$(eval $(call HostBuild))
|
$(eval $(call HostBuild))
|
||||||
|
|||||||
Reference in New Issue
Block a user