aboutsummaryrefslogtreecommitdiffstats
path: root/lang/micropython
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2015-12-16 17:35:10 +0800
committermva <mva@FreeBSD.org>2015-12-16 17:35:10 +0800
commitb7c32f705979d6ae5b4294baf5f7facaa92f5ba1 (patch)
tree3c6438d41295ebfc30075b5f10a8aaa1c676c6f4 /lang/micropython
parent4327f3d35f9c5d6b2c31080c4380230446fe3f94 (diff)
downloadfreebsd-ports-gnome-b7c32f705979d6ae5b4294baf5f7facaa92f5ba1.tar.gz
freebsd-ports-gnome-b7c32f705979d6ae5b4294baf5f7facaa92f5ba1.tar.zst
freebsd-ports-gnome-b7c32f705979d6ae5b4294baf5f7facaa92f5ba1.zip
- Update to version 1.5.1
A full list of changes since version 1.4.1 can be found at https://github.com/micropython/micropython/releases. Changelog: https://github.com/micropython/micropython/releases/tag/v1.5.1
Diffstat (limited to 'lang/micropython')
-rw-r--r--lang/micropython/Makefile12
-rw-r--r--lang/micropython/distinfo4
2 files changed, 9 insertions, 7 deletions
diff --git a/lang/micropython/Makefile b/lang/micropython/Makefile
index 0a00413bf459..8fa82985657e 100644
--- a/lang/micropython/Makefile
+++ b/lang/micropython/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= micropython
-PORTVERSION= 1.4
+PORTVERSION= 1.5.1
DISTVERSIONPREFIX= v
CATEGORIES= lang python
@@ -18,10 +18,9 @@ USE_GITHUB= yes
PLIST_FILES= bin/micropython
-WRKSRC= ${WRKDIR}/${PORTNAME}-1.4/unix
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix
-SHEBANG_FILES= ../py/py-version.sh
-bash_CMD?= /bin/sh
+SHEBANG_FILES= ../tools/make-frozen.py
MAKE_ARGS+= V=1
MAKE_ENV+= PYTHON=${PYTHON_CMD} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}"
@@ -35,7 +34,10 @@ USE_GCC= yes
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d; \
+ s|ls -1 -v|ls -1|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|re_exec|mp_re_exec|' \
+ ${WRKSRC}/../extmod/modure.c
@${REINPLACE_CMD} -e 's|AS =|AS ?=|;s|LD =|LD ?=|; \
s|CC =|CC ?=|;s|PYTHON =|PYTHON ?=|' \
${WRKSRC}/../py/mkenv.mk
diff --git a/lang/micropython/distinfo b/lang/micropython/distinfo
index c5985629cf42..694f36951b7a 100644
--- a/lang/micropython/distinfo
+++ b/lang/micropython/distinfo
@@ -1,2 +1,2 @@
-SHA256 (micropython-micropython-v1.4_GH0.tar.gz) = 9af6cc972c8ea96bd6d961ea6fecc49127198878182b0d13e3845ab6a7d2220b
-SIZE (micropython-micropython-v1.4_GH0.tar.gz) = 5692053
+SHA256 (micropython-micropython-v1.5.1_GH0.tar.gz) = 95cc34089a1e40a992065ff9c9b67c121674c3bd6136a50882054fcac27485c2
+SIZE (micropython-micropython-v1.5.1_GH0.tar.gz) = 6635550