aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-01-24 18:44:20 -0800
committerGregory M. Tuner <gmt@be-evil.net>2014-01-24 18:44:20 -0800
commit38538bf596c8e5f3d18f179cb9087614abc0a7e1 (patch)
treea767b54110bb2e8a137d8bcc0c56b908e14da14a /dev-python
parentapp-i18n/ibus: clone upstream (diff)
downloadgmt-38538bf596c8e5f3d18f179cb9087614abc0a7e1.tar.gz
gmt-38538bf596c8e5f3d18f179cb9087614abc0a7e1.tar.bz2
gmt-38538bf596c8e5f3d18f179cb9087614abc0a7e1.zip
dev-python/pyopencl: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyopencl/ChangeLog105
-rw-r--r--dev-python/pyopencl/Manifest4
-rw-r--r--dev-python/pyopencl/metadata.xml8
-rw-r--r--dev-python/pyopencl/pyopencl-2013.2-r1.ebuild65
4 files changed, 182 insertions, 0 deletions
diff --git a/dev-python/pyopencl/ChangeLog b/dev-python/pyopencl/ChangeLog
new file mode 100644
index 0000000..b7469b6
--- /dev/null
+++ b/dev-python/pyopencl/ChangeLog
@@ -0,0 +1,105 @@
+# ChangeLog for dev-python/pyopencl
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.22 2013/11/07 06:45:05 patrick Exp $
+
+*pyopencl-2013.2 (07 Nov 2013)
+
+ 07 Nov 2013; Patrick Lauer <patrick@gentoo.org> +pyopencl-2013.2.ebuild:
+ Bump
+
+*pyopencl-2013.1 (08 Jul 2013)
+
+ 08 Jul 2013; Patrick Lauer <patrick@gentoo.org> +pyopencl-2013.1.ebuild:
+ Bump
+
+ 20 Jan 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
+ Cleanup due retirement, bug #35242
+
+ 08 Nov 2012; Diego E. Pettenò <flameeyes@gentoo.org> -pyopencl-2011.2.ebuild:
+ Remove old version depending on older boost.
+
+*pyopencl-2012.1 (28 Jun 2012)
+
+ 28 Jun 2012; Patrick Lauer <patrick@gentoo.org> +pyopencl-2012.1.ebuild:
+ Bump
+
+ 19 Apr 2012; Kacper Kowalik <xarthisius@gentoo.org> pyopencl-2011.2-r1.ebuild,
+ pyopencl-9999.ebuild:
+ Add missing dependency on dev-python/mako
+
+ 19 Apr 2012; Kacper Kowalik <xarthisius@gentoo.org> pyopencl-2011.2-r1.ebuild,
+ pyopencl-9999.ebuild:
+ Add missing dependency on dev-python/decorator
+
+ 13 Mar 2012; Mike Gilbert <floppym@gentoo.org> pyopencl-9999.ebuild:
+ Synchronize ebuilds. Patch by Arfrever.
+
+ 06 Mar 2012; Jesus Rivero <neurogeek@gentoo.org> pyopencl-2011.2-r1.ebuild,
+ pyopencl-9999.ebuild:
+ Dropped boots-thread config line and fixed deps on virtual/opencl-0-r1 on
+ both versions
+
+ 25 Feb 2012; Patrick Lauer <patrick@gentoo.org> pyopencl-2011.2-r1.ebuild,
+ pyopencl-2011.2.ebuild, pyopencl-9999.ebuild:
+ Fixing accidental double asterisk
+
+ 20 Feb 2012; Patrick Lauer <patrick@gentoo.org> pyopencl-2011.2-r1.ebuild,
+ pyopencl-2011.2.ebuild, pyopencl-9999.ebuild:
+ Fixing pypy restricts to actually work
+
+*pyopencl-2011.2-r1 (28 Jan 2012)
+
+ 28 Jan 2012; Mike Gilbert <floppym@gentoo.org> +pyopencl-2011.2-r1.ebuild,
+ -pyopencl-0.92.ebuild, pyopencl-2011.2.ebuild, pyopencl-9999.ebuild:
+ Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Delete
+ old version. Patch by Arfrever.
+
+*pyopencl-2011.2 (08 Jan 2012)
+
+ 08 Jan 2012; Michał Januszewski <spock@gentoo.org> +pyopencl-2011.2.ebuild:
+ Version bump.
+
+ 21 Dec 2011; Mike Frysinger <vapier@gentoo.org> pyopencl-0.92.ebuild,
+ pyopencl-9999.ebuild:
+ Depend on virtual/opencl so we get the headers/libraries we need #352006 by
+ Diego Elio Pettenò.
+
+ 21 Sep 2011; Michał Górny <mgorny@gentoo.org> pyopencl-9999.ebuild:
+ Migrate to git-2. Simplify.
+
+ 31 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyopencl-0.92.ebuild, pyopencl-9999.ebuild:
+ Fix dependencies. Set SUPPORT_PYTHON_ABIS.
+
+ 26 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -pyopencl-0.91.4.ebuild, -pyopencl-0.91.5.ebuild:
+ Delete.
+
+*pyopencl-0.92 (12 Dec 2010)
+
+ 12 Dec 2010; Michał Januszewski <spock@gentoo.org> pyopencl-0.91.4.ebuild,
+ pyopencl-0.91.5.ebuild, +pyopencl-0.92.ebuild, pyopencl-9999.ebuild:
+ Version bump. Change dep on nvidia-drivers to nvidia-cuda-toolkit which now
+ provides the OpenCL header files.
+
+ 17 May 2010; Michał Januszewski <spock@gentoo.org>
+ pyopencl-0.91.4.ebuild, pyopencl-0.91.5.ebuild, pyopencl-9999.ebuild:
+ Add a dependency on nvidia-drivers which provides a working OpenCL
+ implementation.
+
+*pyopencl-0.91.5 (17 May 2010)
+
+ 17 May 2010; Michał Januszewski <spock@gentoo.org>
+ +pyopencl-0.91.5.ebuild:
+ Version bump (bug #319187).
+
+*pyopencl-9999 (08 Feb 2010)
+
+ 08 Feb 2010; Michał Januszewski <spock@gentoo.org> +pyopencl-9999.ebuild:
+ Add a live git ebuild.
+
+*pyopencl-0.91.4 (08 Feb 2010)
+
+ 08 Feb 2010; Michał Januszewski <spock@gentoo.org>
+ +pyopencl-0.91.4.ebuild, +metadata.xml:
+ Initial commit.
diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
new file mode 100644
index 0000000..d7c6214
--- /dev/null
+++ b/dev-python/pyopencl/Manifest
@@ -0,0 +1,4 @@
+DIST pyopencl-2013.2.tar.gz 1637274 SHA256 f8e4218e4e47d397886f5dabde16a4d8dcc12caa0cb16ec68cae31f89c94d918 SHA512 1b5d1aa7421025dbbd06e7b58cac1e42eca24d55e3c24dc526a8b95f5b302c5d5553fcf615241abf6d9089c939980e912b5416a94290633704ef998509afddb7 WHIRLPOOL 8a868a72764b0b7d3fb8fa9d056f1be2329a70a4c5752bc4cc88ef6826b3349b15badfc3fce05a95dff62ce989297a51c5555bb892c08873c1c887f1e9b8dc23
+EBUILD pyopencl-2013.2-r1.ebuild 1299 SHA256 0e7c3fd91961d05b29692fec0d9de49b533b07cf8ad7980b9bc13545f542f446 SHA512 caec245f6f040dbfdab9c91b49cc7ea80947795663864364eb610cf547ddebddadcdc85d37cb024c2dee3a9a32f5a48846cad0bd37244496b3be31f1a9f9d493 WHIRLPOOL 1246068ad8b31811dc8e2b01e071993dd73fd1d9cddb1fb89189432686c539d85827853a49b21394443937041b571a4d5a6a3426d2a35f0833a826a13592047a
+MISC ChangeLog 3687 SHA256 856cbaad701ad9923a4e9862f47ce10b75769cd54fb3ce85b4d2043464de469c SHA512 08e026744e76cb74a2cdc352522c537d2ce3e98744f85bd9c3ff45f47590d7d611c1519d624f9162272f0b9ca8e33674cc805c69237b83dec2c8111b2b49649e WHIRLPOOL 6591715cff54b9e9585a5e356cfdad17c817d89526b929a902162fd4809b053eb6e5d7790c239c4b0f1a776ee60550633df5f470d909601d505181a5f4115131
+MISC metadata.xml 231 SHA256 9e625a5886001fa0ce2de7d2f358cc2767fb50bc6f1583d98e81b60b96208e4d SHA512 a54b3c3c2d5927ee6fd342f88cad53adc5411fa9d36b2e8b5ee2a6f28cef12444fcce47cc8d0aee39ce9c928be33d2bc0742d0e6399589ac1e607139ca81e81e WHIRLPOOL f2136316d8399997b3299e9743c432eb853c436059dfe5b6321f8ff9522a877fda840aded940725c5dc5c7fb4112c0ae476caa2f5a8ee57da891386b4c0136f7
diff --git a/dev-python/pyopencl/metadata.xml b/dev-python/pyopencl/metadata.xml
new file mode 100644
index 0000000..17d2b2b
--- /dev/null
+++ b/dev-python/pyopencl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <upstream>
+ <remote-id type="pypi">pyopencl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyopencl/pyopencl-2013.2-r1.ebuild b/dev-python/pyopencl/pyopencl-2013.2-r1.ebuild
new file mode 100644
index 0000000..5fa15cd
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2013.2-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="http://mathema.tician.de/software/pyopencl http://pypi.python.org/pypi/pyopencl"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples opengl"
+
+RDEPEND=">=dev-libs/boost-1.48[python]
+ dev-python/decorator
+ dev-python/numpy
+ dev-python/mako
+ dev-python/pytools
+ >=virtual/opencl-0-r1"
+DEPEND="${RDEPEND}"
+
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+
+src_configure()
+{
+ configuration() {
+ local myconf=()
+
+ if use opengl; then
+ myconf+=(--cl-enable-gl)
+ fi
+
+ "$(PYTHON)" configure.py \
+ --boost-compiler=gcc \
+ --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
+ --no-use-shipped-boost \
+ "${myconf[@]}"
+ }
+ python_execute_function -s configuration
+}
+
+src_install()
+{
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
+
+pkg_postinst()
+{
+ distutils_pkg_postinst
+ if use examples; then
+ elog "Some of the examples provided by this package require dev-python/matplotlib."
+ fi
+}