summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-10-14 04:47:34 +0000
committerobache <obache@pkgsrc.org>2011-10-14 04:47:34 +0000
commit229bb6ccc1670519a70c9a1180333e080bbe6f1f (patch)
tree4af548328bce5e8546fd59997c4ffff6e0185a1c /databases
parent98cb84374fcbc9fcfd89bf7cece29c6e1addd0af (diff)
downloadpkgsrc-229bb6ccc1670519a70c9a1180333e080bbe6f1f.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"