summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache>2011-10-14 04:47:34 +0000
committerobache <obache>2011-10-14 04:47:34 +0000
commit0f44d0c492b3ece780e0cbd4ff6d7320c77a2ac2 (patch)
tree4af548328bce5e8546fd59997c4ffff6e0185a1c /databases
parent563e2c623b5a9ef50b39aa2f4482ff1bd423c06f (diff)
downloadpkgsrc-0f44d0c492b3ece780e0cbd4ff6d7320c77a2ac2.tar.gz
Add dependency on converters/py-simplejson for python25.
Diffstat (limited to 'databases')
-rw-r--r--databases/py-ckanclient/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/databases/py-ckanclient/Makefile b/databases/py-ckanclient/Makefile
index 5c6ba7a7411..d46bb06fbd4 100644
--- a/databases/py-ckanclient/Makefile
+++ b/databases/py-ckanclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/10/14 04:23:20 dholland Exp $
+# $NetBSD: Makefile,v 1.3 2011/10/14 04:47:34 obache Exp $
#
DISTNAME= ckanclient-0.9
@@ -15,7 +15,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 24 25
+PYTHON_VERSIONS_INCOMPATIBLE= 24
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == py25
+DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
+.endif
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"