From owner-svn-ports-head@freebsd.org Thu Oct 15 00:15:25 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF245A15ACE; Thu, 15 Oct 2015 00:15:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C24DC198D; Thu, 15 Oct 2015 00:15:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9F0FOdN062757; Thu, 15 Oct 2015 00:15:24 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9F0FOlM062752; Thu, 15 Oct 2015 00:15:24 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201510150015.t9F0FOlM062752@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 15 Oct 2015 00:15:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399324 - in head/devel: . py-pyopencl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 00:15:26 -0000 Author: jkim Date: Thu Oct 15 00:15:24 2015 New Revision: 399324 URL: https://svnweb.freebsd.org/changeset/ports/399324 Log: PyOpenCL gives you easy, Pythonic access to the OpenCL parallel computation API. What makes PyOpenCL special? - Object cleanup tied to lifetime of objects. This idiom, often called RAII in C++, makes it much easier to write correct, leak- and crash-free code. - Completeness. PyOpenCL puts the full power of OpenCL's API at your disposal, if you wish. Every obscure get_info() query and all CL calls are accessible. - Automatic Error Checking. All errors are automatically translated into Python exceptions. - Speed. PyOpenCL's base layer is written in C++, so all the niceties above are virtually free. - Helpful Documentation. - Liberal license. PyOpenCL is open-source under the MIT license and free for commercial, academic, and private use. WWW: http://mathema.tician.de/software/pyopencl Added: head/devel/py-pyopencl/ head/devel/py-pyopencl/Makefile (contents, props changed) head/devel/py-pyopencl/distinfo (contents, props changed) head/devel/py-pyopencl/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Oct 15 00:06:49 2015 (r399323) +++ head/devel/Makefile Thu Oct 15 00:15:24 2015 (r399324) @@ -4179,6 +4179,7 @@ SUBDIR += py-pymarc SUBDIR += py-pympler SUBDIR += py-pymtbl + SUBDIR += py-pyopencl SUBDIR += py-pyrfc3339 SUBDIR += py-pyro SUBDIR += py-pyshapelib Added: head/devel/py-pyopencl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pyopencl/Makefile Thu Oct 15 00:15:24 2015 (r399324) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= pyopencl +PORTVERSION= 2015.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= python@FreeBSD.org +COMMENT= Python wrapper for OpenCL + +LICENSE= MIT + +BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:${PORTSDIR}/devel/opencl \ + ${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy +LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pytools/__init__.py:${PORTSDIR}/devel/py-pytools \ + ${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy \ + ${PYTHON_SITELIBDIR}/mako/__init__.py:${PORTSDIR}/textproc/py-mako + +USE_PYTHON= autoplist distutils +USES= python + +CPPFLAGS+= -isystem ${LOCALBASE}/include + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -name '*.so' \ + -exec ${STRIP_CMD} {} \; + +.include Added: head/devel/py-pyopencl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pyopencl/distinfo Thu Oct 15 00:15:24 2015 (r399324) @@ -0,0 +1,2 @@ +SHA256 (pyopencl-2015.1.tar.gz) = 823b8c5ae438a70de87b3675c3896d04d785261cb0cbd45c01c7dd0fe9d9f6ff +SIZE (pyopencl-2015.1.tar.gz) = 1652046 Added: head/devel/py-pyopencl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pyopencl/pkg-descr Thu Oct 15 00:15:24 2015 (r399324) @@ -0,0 +1,17 @@ +PyOpenCL gives you easy, Pythonic access to the OpenCL parallel computation +API. What makes PyOpenCL special? + +- Object cleanup tied to lifetime of objects. This idiom, often called RAII + in C++, makes it much easier to write correct, leak- and crash-free code. +- Completeness. PyOpenCL puts the full power of OpenCL's API at your + disposal, if you wish. Every obscure get_info() query and all CL calls + are accessible. +- Automatic Error Checking. All errors are automatically translated into + Python exceptions. +- Speed. PyOpenCL's base layer is written in C++, so all the niceties above + are virtually free. +- Helpful Documentation. +- Liberal license. PyOpenCL is open-source under the MIT license and free + for commercial, academic, and private use. + +WWW: http://mathema.tician.de/software/pyopencl