aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-02-10 09:57:23 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-02-10 09:57:23 +0800
commitb2387bd6a03e0022736306be9a045e55f274c1ef (patch)
tree8be7f93780326f3cc6efbcfb20c54d3d518a8c4e /textproc
parente3a40ed5f688d68703b5cd7bd9aa26a0f03cd60b (diff)
downloadfreebsd-ports-gnome-b2387bd6a03e0022736306be9a045e55f274c1ef.tar.gz
freebsd-ports-gnome-b2387bd6a03e0022736306be9a045e55f274c1ef.tar.zst
freebsd-ports-gnome-b2387bd6a03e0022736306be9a045e55f274c1ef.zip
- Add missing RUN_DEPENDS [1]
- Restrict USE_PYTHON range - Fix make package when py-distribute or py-setuptools were installed - Bump PORTREVISION for dependency change Reported by: kwm [1]
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-rdflib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 399a5aa31d85..b80bd297f76a 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -8,6 +8,7 @@
PORTNAME= rdflib
PORTVERSION= 3.2.0
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +18,12 @@ COMMENT= A Python library for RDF manipulation
LICENSE= BSD
-USE_PYTHON= yes
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0:${PORTSDIR}/devel/py-isodate
+
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|setuptools|distutils.core|' ${WRKSRC}/${PYSETUP}
+
.include <bsd.port.mk>