svn commit: r375267 - head/devel/py-palm
Ruslan Makhmatkhanov
rm at FreeBSD.org
Mon Dec 22 20:59:34 UTC 2014
Author: rm
Date: Mon Dec 22 20:59:33 2014
New Revision: 375267
URL: https://svnweb.freebsd.org/changeset/ports/375267
QAT: https://qat.redports.org/buildarchive/r375267/
Log:
devel/py-palm: add missing dependencies
- add missing dependencies
- limit python version to 2.x
- let it build with protobuf 2.6
- misc non-functional changes
- bump PORTREVISION because of dependency changes
Approved by: vg (maintainer)
Modified:
head/devel/py-palm/Makefile
head/devel/py-palm/pkg-descr
Modified: head/devel/py-palm/Makefile
==============================================================================
--- head/devel/py-palm/Makefile Mon Dec 22 20:49:07 2014 (r375266)
+++ head/devel/py-palm/Makefile Mon Dec 22 20:59:33 2014 (r375267)
@@ -3,19 +3,27 @@
PORTNAME= palm
PORTVERSION= 0.1.7
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= vg at FreeBSD.org
-COMMENT= Protobufs Are Lightweight Messages
+COMMENT= Fast Protocol Buffer library for Python
LICENSE= BSD2CLAUSE
-USES= python
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>0:${PORTSDIR}/devel/py-protobuf
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simpleparse>0:${PORTSDIR}/devel/py-simpleparse
+
+USES= python:2
USE_PYTHON= autoplist distutils
+post-patch:
+ @${REINPLACE_CMD} -e 's|"protobuf>=2.4.1,<=2.4.999"|"protobuf>=2.4.1"|' \
+ ${WRKSRC}/setup.py
+
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/site-packages/${PORTNAME}/${PORTNAME}.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/palm/palm.so
.include <bsd.port.mk>
Modified: head/devel/py-palm/pkg-descr
==============================================================================
--- head/devel/py-palm/pkg-descr Mon Dec 22 20:49:07 2014 (r375266)
+++ head/devel/py-palm/pkg-descr Mon Dec 22 20:59:33 2014 (r375267)
@@ -2,6 +2,7 @@ PALM is a library for using Google's pro
a fast core written in C with a thin Cython binding to Python. The goal
of palm was to make improvements to the Google reference implementation,
namely:
+
* Make the library significantly faster
* Clean up the API
More information about the svn-ports-all
mailing list