summaryrefslogtreecommitdiff
path: root/math/py-numexpr/buildlink3.mk
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-07-16 12:12:17 +0000
committerdrochner <drochner@pkgsrc.org>2010-07-16 12:12:17 +0000
commitc70d3ff296ddf357b49ae8ee873d89377e739bb6 (patch)
tree834be72d233ecf59f62d92c8aeaa91797d57f252 /math/py-numexpr/buildlink3.mk
parent51e3890b9d2a6e84c6aeb93461183c5c6cc4371e (diff)
downloadpkgsrc-c70d3ff296ddf357b49ae8ee873d89377e739bb6.tar.gz
add py-numexpr-1.3.1, a numerical expression evaluator for NumPy
Diffstat (limited to 'math/py-numexpr/buildlink3.mk')
-rw-r--r--math/py-numexpr/buildlink3.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/py-numexpr/buildlink3.mk b/math/py-numexpr/buildlink3.mk
new file mode 100644
index 00000000000..6468303d8ed
--- /dev/null
+++ b/math/py-numexpr/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/07/16 12:12:17 drochner Exp $
+
+BUILDLINK_TREE+= pynumexpr
+
+.if !defined(PY_NUMEXPR_BUILDLINK3_MK)
+PY_NUMEXPR_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.pynumexpr+= ${PYPKGPREFIX}-numexpr>=1.3.1
+BUILDLINK_PKGSRCDIR.pynumexpr?= ../../math/py-numexpr
+
+.endif # PY_NUMEXPR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -pynumexpr