From d34e3b953049539985d63f1599081036e1966e8d Mon Sep 17 00:00:00 2001 From: m3tav3rse Date: Wed, 11 Oct 2023 12:12:18 +0200 Subject: [PATCH] micropython: update to 1.21.0. Closes #44643 --- srcpkgs/micropython/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/micropython/template b/srcpkgs/micropython/template index b3501120e4584..97e4411ad8010 100644 --- a/srcpkgs/micropython/template +++ b/srcpkgs/micropython/template @@ -1,16 +1,16 @@ # Template file for 'micropython' pkgname=micropython -version=1.14 +version=1.21.0 revision=1 build_wrksrc=ports/unix hostmakedepends="pkg-config python3" makedepends="libffi-devel" -short_desc="Implementation of Python 3.x for microcontrollers" +short_desc="Python implementation for microcontrollers and constrained systems" maintainer="Orphaned " license="MIT" homepage="https://micropython.org/" distfiles="https://github.com/micropython/micropython/releases/download/v${version}/micropython-${version}.tar.xz" -checksum=97306156fdeab120a1244626c75a929bb820722afdfc1317dbd5dadef388d94c +checksum=abd2152613559d3f44728668346e78be9d93458133a03b700baf222c322fd4d5 case "$XBPS_TARGET_MACHINE" in arm*-musl) nopie=yes ;; # building with PIE creates text relocations in the binary @@ -26,13 +26,13 @@ pre_configure() { } do_build() { - unset CPP - make -C ../../mpy-cross V=1 STRIP=echo ${makejobs} - make V=1 CC=${CC} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}" \ - LDFLAGS_EXTRA="${LDFLAGS}" STRIP=echo ${makejobs} axtls all + make -C ../../mpy-cross V=1 CC=${CC} CFLAGS_EXTRA="${CFLAGS}" \ + LDFLAGS_EXTRA="${LDFLAGS}" STRIP= ${makejobs} + make V=1 CC=${CC} CFLAGS_EXTRA="${CFLAGS}" \ + LDFLAGS_EXTRA="${LDFLAGS}" STRIP= ${makejobs} all } do_install() { - vbin micropython + vbin build-standard/micropython vlicense ../../LICENSE }