Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 08:57:33 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363122 - in head/lang/micropython: . files
Message-ID:  <201407280857.s6S8vXUc026741@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Mon Jul 28 08:57:33 2014
New Revision: 363122
URL: http://svnweb.freebsd.org/changeset/ports/363122
QAT: https://qat.redports.org/buildarchive/r363122/

Log:
  - Update to version 1.2
  - Respect CFLAGS and CPPFLAGS

Deleted:
  head/lang/micropython/files/
Modified:
  head/lang/micropython/Makefile
  head/lang/micropython/distinfo

Modified: head/lang/micropython/Makefile
==============================================================================
--- head/lang/micropython/Makefile	Mon Jul 28 08:40:27 2014	(r363121)
+++ head/lang/micropython/Makefile	Mon Jul 28 08:57:33 2014	(r363122)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	micropython
-PORTVERSION=	1.0.1
+PORTVERSION=	1.2
 CATEGORIES=	lang python
 
 MAINTAINER=	mva@FreeBSD.org
@@ -17,8 +17,8 @@ USES=			gmake shebangfix pkgconfig readl
 USE_GITHUB=	yes
 GH_ACCOUNT=	micropython
 GH_PROJECT=	micropython
-GH_TAGNAME=	v1.0.1
-GH_COMMIT=	a56f31d
+GH_TAGNAME=	v1.2
+GH_COMMIT=	d94863d
 
 PLIST_FILES=	bin/micropython
 
@@ -27,10 +27,11 @@ WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${GH_PR
 SHEBANG_FILES=	../py/py-version.sh
 bash_CMD?=	/bin/sh
 MAKE_ARGS+=	V=1
-MAKE_ENV+=	PYTHON=${PYTHON_CMD}
+MAKE_ENV+=	PYTHON=${PYTHON_CMD} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-Werror||;s|-ldl||' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|-Wno-error=cpp||;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

Modified: head/lang/micropython/distinfo
==============================================================================
--- head/lang/micropython/distinfo	Mon Jul 28 08:40:27 2014	(r363121)
+++ head/lang/micropython/distinfo	Mon Jul 28 08:57:33 2014	(r363122)
@@ -1,2 +1,2 @@
-SHA256 (micropython-1.0.1.tar.gz) = 6fcd4e7987a9691025c24d1b2c2946ff0d7fb912f3869dfcee52143dfbd8a4e2
-SIZE (micropython-1.0.1.tar.gz) = 4693643
+SHA256 (micropython-1.2.tar.gz) = 45220badf244817ab8e04941e3fb4a49d5b8748190e3ee7eeb2b0e8bfd6a7fb8
+SIZE (micropython-1.2.tar.gz) = 4170808



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407280857.s6S8vXUc026741>