aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2017-05-06 15:43:45 +0800
committermiwi <miwi@FreeBSD.org>2017-05-06 15:43:45 +0800
commit9ff8813f7081fc85dc29b5bf9a3cac20e1d20646 (patch)
tree7bf5b98440103ee53390ad31cb635a753ecfe5aa /graphics
parent27d7b35830aec94233b74c1a00c90341afc194ae (diff)
downloadfreebsd-ports-gnome-9ff8813f7081fc85dc29b5bf9a3cac20e1d20646.tar.gz
freebsd-ports-gnome-9ff8813f7081fc85dc29b5bf9a3cac20e1d20646.tar.zst
freebsd-ports-gnome-9ff8813f7081fc85dc29b5bf9a3cac20e1d20646.zip
Python wrapper for Embree.
WWW: https://github.com/scopatz/pyembree PR: 214563 Submitted by: Yuri Victorovich <yuri@rawbw.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-pyembree/Makefile25
-rw-r--r--graphics/py-pyembree/distinfo3
-rw-r--r--graphics/py-pyembree/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 22dda3fc003f..f48ee3325c78 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -877,6 +877,7 @@
SUBDIR += py-pycha
SUBDIR += py-pycollada
SUBDIR += py-pydot
+ SUBDIR += py-pyembree
SUBDIR += py-pygal
SUBDIR += py-pyganim
SUBDIR += py-pyglet
diff --git a/graphics/py-pyembree/Makefile b/graphics/py-pyembree/Makefile
new file mode 100644
index 000000000000..2f5a409dfff8
--- /dev/null
+++ b/graphics/py-pyembree/Makefile
@@ -0,0 +1,25 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= pyembree
+PORTVERSION= 0.1.0
+CATEGORIES= graphics python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= Python wrapper for Embree
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= cython:lang/cython \
+ ${PYNUMPY}
+LIB_DEPENDS= libembree.so:graphics/embree
+RUN_DEPENDS= ${PYNUMPY}
+
+USES= localbase python:2
+USE_PYTHON= autoplist distutils
+USE_GITHUB= yes
+GH_ACCOUNT= scopatz
+
+.include <bsd.port.mk>
diff --git a/graphics/py-pyembree/distinfo b/graphics/py-pyembree/distinfo
new file mode 100644
index 000000000000..5777df1dd480
--- /dev/null
+++ b/graphics/py-pyembree/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479273825
+SHA256 (scopatz-pyembree-0.1.0_GH0.tar.gz) = 2f34c2807377bf8f24d26a4ca65bce00c25120188205e66438ee653a92db88d5
+SIZE (scopatz-pyembree-0.1.0_GH0.tar.gz) = 9571
diff --git a/graphics/py-pyembree/pkg-descr b/graphics/py-pyembree/pkg-descr
new file mode 100644
index 000000000000..16a0b99446df
--- /dev/null
+++ b/graphics/py-pyembree/pkg-descr
@@ -0,0 +1,3 @@
+Python wrapper for Embree.
+
+WWW: https://github.com/scopatz/pyembree