aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-rdflib
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-10 01:57:23 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-10 01:57:23 +0000
commit7d5d86928643209588ef4d9055cd592c5d07ba73 (patch)
tree544011ed784ace9fe1b13fe9027dd11d53f90b93 /textproc/py-rdflib
parent66f8914ca3a86b2b94a2bf1b791b32ed4203c07c (diff)
downloadports-7d5d86928643209588ef4d9055cd592c5d07ba73.tar.gz
ports-7d5d86928643209588ef4d9055cd592c5d07ba73.zip
Notes
Diffstat (limited to 'textproc/py-rdflib')
-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>