From owner-svn-ports-all@FreeBSD.ORG Fri Apr 3 13:00:01 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D68F97EC; Fri, 3 Apr 2015 13:00:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B891B683; Fri, 3 Apr 2015 13:00:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t33D00Co046437; Fri, 3 Apr 2015 13:00:00 GMT (envelope-from mva@FreeBSD.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t33D00FR046422; Fri, 3 Apr 2015 13:00:00 GMT (envelope-from mva@FreeBSD.org) Message-Id: <201504031300.t33D00FR046422@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mva set sender to mva@FreeBSD.org using -f From: Marcus von Appen Date: Fri, 3 Apr 2015 13:00:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383115 - head/lang/micropython X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 13:00:01 -0000 Author: mva Date: Fri Apr 3 12:59:59 2015 New Revision: 383115 URL: https://svnweb.freebsd.org/changeset/ports/383115 Log: - Update to version 1.4 Major changes since 1.3.1: - new builtins, ujson, uheapq, ubinascii modules - new memoryview and compile builtins - improvements for eval and exec - array slice assignment support - basix regex support - x86 support for the native emitter - many other fixes and improvements Changelogs: https://github.com/micropython/micropython/release Modified: head/lang/micropython/Makefile head/lang/micropython/distinfo Modified: head/lang/micropython/Makefile ============================================================================== --- head/lang/micropython/Makefile Fri Apr 3 12:53:55 2015 (r383114) +++ head/lang/micropython/Makefile Fri Apr 3 12:59:59 2015 (r383115) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= micropython -PORTVERSION= 1.3.1 +PORTVERSION= 1.4.0 CATEGORIES= lang python MAINTAINER= mva@FreeBSD.org @@ -11,29 +11,39 @@ LICENSE= MIT LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi -USES= gmake pkgconfig python:build readline shebangfix +USES= gmake pkgconfig python:3,build readline shebangfix USE_GITHUB= yes GH_ACCOUNT= micropython GH_PROJECT= micropython -GH_TAGNAME= v1.3.1 -GH_COMMIT= 0f6d298 +GH_TAGNAME= v1.4 PLIST_FILES= bin/micropython -WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/unix +WRKSRC= ${WRKDIR}/${PORTNAME}-1.4/unix SHEBANG_FILES= ../py/py-version.sh bash_CMD?= /bin/sh MAKE_ARGS+= V=1 MAKE_ENV+= PYTHON=${PYTHON_CMD} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}" +.include + +.if ${OSVERSION} < 1000024 +# Our default GCC 4.2.1 build can't handle some quirks correctly. +# Use an up to date version for FreeBSD releases, which use GCC +# as default compiler +USE_GCC= yes +.endif + post-patch: - @${REINPLACE_CMD} -e 's|-Wno-error=cpp||;s|-Werror||;/^COPT =/d' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|AS =|AS ?=|;s|LD =|LD ?=|; \ s|CC =|CC ?=|;s|PYTHON =|PYTHON ?=|' \ ${WRKSRC}/../py/mkenv.mk + @${REINPLACE_CMD} -e 's|libc\.so\.6|libc\.so\.7|;' \ + ${WRKSRC}/../tests/unix/ffi_callback.py \ + ${WRKSRC}/../tests/unix/ffi_float.py do-install: ${INSTALL_PROGRAM} ${WRKSRC}/micropython ${STAGEDIR}${PREFIX}/bin @@ -42,4 +52,4 @@ regression-test: build ${RM} ${WRKSRC}/../tests/basics/memoryerror.py cd ${WRKSRC} && ${MAKE_CMD} test -.include +.include Modified: head/lang/micropython/distinfo ============================================================================== --- head/lang/micropython/distinfo Fri Apr 3 12:53:55 2015 (r383114) +++ head/lang/micropython/distinfo Fri Apr 3 12:59:59 2015 (r383115) @@ -1,2 +1,2 @@ -SHA256 (micropython-1.3.1.tar.gz) = c65cff07c1fba2e7aa75f62a53da4721635ff528fef28e98c5746c87d5f553bc -SIZE (micropython-1.3.1.tar.gz) = 4328886 +SHA256 (micropython-micropython-1.4.0-v1.4_GH0.tar.gz) = 9af6cc972c8ea96bd6d961ea6fecc49127198878182b0d13e3845ab6a7d2220b +SIZE (micropython-micropython-1.4.0-v1.4_GH0.tar.gz) = 5692053