@ -8,15 +8,16 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := micropython-lib
PKG_NAME := micropython-lib
PKG_VERSION := 1.9.3
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/micropython/micropython-lib/tar.gz/v$( PKG_VERSION) ?
PKG_HASH := 66e15380eb109613263beb6825b8eecb9191088270c1a59e8c7d922dd57183c7
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://github.com/micropython/micropython-lib.git
PKG_SOURCE_VERSION := cdd260f0792d04a1ded99171b4c7a2582b7856b4
PKG_SOURCE_DATE := 20211112
PKG_MIRROR_HASH := fea11185756e746e78cfe66dc4fa33830721cd94d726ac7cf4dde2e0a16d5041
PKG_MAINTAINER := Roger D <rogerdammit@gmail.com>
PKG_LICENSE := MIT, PSFL
PKG_MAINTAINER := Jeffery To <jeffery.to @gmail.com>
PKG_LICENSE := MIT PSF-2.0
PKG_LICENSE_FILES := LICENSE
PKG_LICENSE_FILES := LICENSE
PKG_BUILD_PARALLEL := 1
PKG_BUILD_PARALLEL := 1
@ -24,28 +25,29 @@ PKG_BUILD_PARALLEL:=1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / m i c r o p y t h o n - l i b
d e f i n e P a c k a g e / m i c r o p y t h o n - l i b
SUBMENU:= Python
SECTION:= lang
CATEGORY:= Languages
TITLE:= micropython-lib
URL:= https://github.com/micropython/micropython-lib
DEPENDS:= +micropython
SUBMENU:= Python
SECTION:= lang
CATEGORY:= Languages
TITLE:= micropython-lib
URL:= https://github.com/micropython/micropython-lib
DEPENDS:= +micropython
e n d e f
e n d e f
d e f i n e P a c k a g e / m i c r o p y t h o n - l i b / d e s c r i p t i o n
d e f i n e P a c k a g e / m i c r o p y t h o n - l i b / d e s c r i p t i o n
This package contains micropython-lib, a project to develop a non-monolothic
standard library for Micro Python. Note that this is a work in progress and
several libraries may be missing, incomplete or buggy.
This is a repository of libraries designed to be useful for writing
MicroPython applications.
e n d e f
e n d e f
MAKE_FLAGS := \
PREFIX = $( PKG_BUILD_DIR) /_install_tmp/dist \
install
Build/Compile : =:
d e f i n e P a c k a g e / m i c r o p y t h o n - l i b / i n s t a l l
d e f i n e P a c k a g e / m i c r o p y t h o n - l i b / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/micropython
$( CP) $( PKG_BUILD_DIR) /_install_tmp/dist/* $( 1) /usr/lib/micropython
for dir in micropython python-ecosys python-stdlib unix-ffi; do \
$( INSTALL_DIR) $( 1) /usr/lib/micropython/$$ $$ dir ; \
$( CP) $( PKG_BUILD_DIR) /$$ $$ dir/* $( 1) /usr/lib/micropython/$$ $$ dir/ ; \
done
$( FIND) $( 1) /usr/lib/micropython \
-not -type d \( -not -name '*.py' -o -name 'test_*' -o -name 'setup.py' \) -delete
$( FIND) $( 1) /usr/lib/micropython -mindepth 1 -empty -type d -delete
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,micropython -lib ) )
$( eval $ ( call BuildPackage ,micropython -lib ) )