Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2018 03:58:04 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466114 - head/devel/py-pycparser
Message-ID:  <201804010358.w313w4v4035665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Apr  1 03:58:03 2018
New Revision: 466114
URL: https://svnweb.freebsd.org/changeset/ports/466114

Log:
  devel/py-pycparser: Update to 2.18
  
  * Update PORTVERSION and distinfo checksum (2.18)
  * Add version compatibility comment
  * Add LICENSE_FILE
  * Add test target
  * Enable architecture independence (NO_ARCH)
  
  Approved by:		wg (maintainer)
  Differential Revision:	D7301

Modified:
  head/devel/py-pycparser/Makefile
  head/devel/py-pycparser/distinfo

Modified: head/devel/py-pycparser/Makefile
==============================================================================
--- head/devel/py-pycparser/Makefile	Sun Apr  1 02:52:34 2018	(r466113)
+++ head/devel/py-pycparser/Makefile	Sun Apr  1 03:58:03 2018	(r466114)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pycparser
-PORTVERSION=	2.10
+PORTVERSION=	2.18
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,9 +11,18 @@ MAINTAINER=	wg@FreeBSD.org
 COMMENT=	C parser in Python
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-NO_ARCH=	yes
+# README says 2.7+, 3.4, 3.5+
+# TravisCI tests 2.6, 2.7, 3.2, 3.4, 3.5
+# https://travis-ci.org/eliben/pycparser
+# Go with the most accurate without missing any
 USES=		python
 USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} tests/all_tests.py
 
 .include <bsd.port.mk>

Modified: head/devel/py-pycparser/distinfo
==============================================================================
--- head/devel/py-pycparser/distinfo	Sun Apr  1 02:52:34 2018	(r466113)
+++ head/devel/py-pycparser/distinfo	Sun Apr  1 03:58:03 2018	(r466114)
@@ -1,2 +1,3 @@
-SHA256 (pycparser-2.10.tar.gz) = 957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c
-SIZE (pycparser-2.10.tar.gz) = 206166
+TIMESTAMP = 1522552852
+SHA256 (pycparser-2.18.tar.gz) = 99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226
+SIZE (pycparser-2.18.tar.gz) = 245897



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