Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 20:59:34 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375267 - head/devel/py-palm
Message-ID:  <201412222059.sBMKxYsS055533@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



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