From owner-svn-ports-all@freebsd.org Mon Jan 9 10:00:15 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62F99CA5C84; Mon, 9 Jan 2017 10:00:15 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 3335E1AF5; Mon, 9 Jan 2017 10:00:15 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v09A0EuX003411; Mon, 9 Jan 2017 10:00:14 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v09A0E6e003410; Mon, 9 Jan 2017 10:00:14 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701091000.v09A0E6e003410@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 9 Jan 2017 10:00:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430933 - 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.23 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: Mon, 09 Jan 2017 10:00:15 -0000 Author: amdmi3 Date: Mon Jan 9 10:00:14 2017 New Revision: 430933 URL: https://svnweb.freebsd.org/changeset/ports/430933 Log: - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL - Switch to new test framework Approved by: portmgr blanket Modified: head/lang/micropython/Makefile Modified: head/lang/micropython/Makefile ============================================================================== --- head/lang/micropython/Makefile Mon Jan 9 09:54:20 2017 (r430932) +++ head/lang/micropython/Makefile Mon Jan 9 10:00:14 2017 (r430933) @@ -24,15 +24,7 @@ WRKSRC_SUBDIR= unix SHEBANG_FILES= ../tools/make-frozen.py 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 +TEST_TARGET= test post-patch: @${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d; \ @@ -49,8 +41,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/micropython ${STAGEDIR}${PREFIX}/bin -regression-test: build - ${RM} ${WRKSRC}/../tests/basics/memoryerror.py - cd ${WRKSRC} && ${MAKE_CMD} test +pre-test: + @${RM} ${WRKSRC}/../tests/basics/memoryerror.py -.include +.include