svn commit: r366377 - head/devel/py-protobuf
Kubilay Kocak
koobs at FreeBSD.org
Thu Aug 28 03:41:21 UTC 2014
Author: koobs
Date: Thu Aug 28 03:41:20 2014
New Revision: 366377
URL: http://svnweb.freebsd.org/changeset/ports/366377
QAT: https://qat.redports.org/buildarchive/r366377/
Log:
devel/py-protobuf: Modernize
- Add LICENSE and LICENSE_FILE
- Modernize Python framework entries
- Add regression-test target
QA: Ran 216 tests in 0.298s - OK
Approved by: maintainer
Modified:
head/devel/py-protobuf/Makefile
Modified: head/devel/py-protobuf/Makefile
==============================================================================
--- head/devel/py-protobuf/Makefile Thu Aug 28 03:40:51 2014 (r366376)
+++ head/devel/py-protobuf/Makefile Thu Aug 28 03:41:20 2014 (r366377)
@@ -3,7 +3,7 @@
PORTNAME= protobuf
PORTVERSION= 2.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,16 +11,21 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= vanilla at FreeBSD.org
COMMENT= Google protobuf Python Client Library
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/../COPYING.txt
+
BUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/python
PROJECTHOST= protobuf
-USES= tar:bzip2
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+
+USES= python tar:bzip2
+USE_PYTHON= autoplist distutils
pre-build:
@${MKDIR} ${WRKSRC}/google/protobuf/compiler
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list