micropython: update to 1.14.

Additionally, use nopie on arm*-musl, otherwise the resulting binary
contains text relocations, which aren't supported by musl.

Closes: #28708 [via git-merge-pr]
This commit is contained in:
Laurence de Bruxelles 2021-02-09 20:43:54 +00:00 committed by Érico Rolim
parent 062ac23009
commit 8483b59a97

View file

@ -1,6 +1,6 @@
# Template file for 'micropython'
pkgname=micropython
version=1.13
version=1.14
revision=1
build_wrksrc=ports/unix
hostmakedepends="pkg-config python3"
@ -9,10 +9,11 @@ short_desc="Implementation of Python 3.x for microcontrollers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://micropython.org/"
distfiles="https://github.com/micropython/micropython/releases/download/v${version}/micropython-${version}.tar.gz"
checksum=9ab32eb2c19a682f6de7e9b4226de849c42cb92e1ecb4cf56438a75d763bd451
distfiles="https://github.com/micropython/micropython/releases/download/v${version}/micropython-${version}.tar.xz"
checksum=97306156fdeab120a1244626c75a929bb820722afdfc1317dbd5dadef388d94c
case "$XBPS_TARGET_MACHINE" in
arm*-musl) nopie=yes ;; # building with PIE creates text relocations in the binary
ppc*) broken="missing nlr_push" ;;
esac