micropython: update to 1.5.2

This commit is contained in:
Alessio Sergi 2016-01-03 02:05:05 +01:00
parent 9a4b84dffc
commit 6dc9371a5d
1 changed files with 4 additions and 5 deletions

View File

@ -1,23 +1,22 @@
# Template file for 'micropython'
pkgname=micropython
version=1.5.1
version=1.5.2
revision=1
build_wrksrc=unix
hostmakedepends="pkg-config python python3.4"
hostmakedepends="pkg-config python"
makedepends="libffi-devel readline-devel"
short_desc="Implementation of Python 3.x for microcontrollers"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://micropython.org/"
distfiles="http://github.com/micropython/micropython/archive/v${version}.tar.gz"
checksum=95cc34089a1e40a992065ff9c9b67c121674c3bd6136a50882054fcac27485c2
checksum=3c594ee701622f01c4e9c7abd1c322a0bc6c8af17bea0b0126812cb8e61bb5d9
pre_configure() {
sed -i 's|-Werror||;/^COPT =/d' Makefile
}
do_build() {
make V=1 PYTHON=python3.4 \
CC=$CC CFLAGS_EXTRA="$CPPFLAGS $CFLAGS" \
make V=1 CC=$CC CFLAGS_EXTRA="$CPPFLAGS $CFLAGS" \
LDFLAGS_EXTRA="$LDFLAGS" STRIP=echo
}
do_install() {