Version bump.
authorMichael Januszewski <spock@gentoo.org>
Sun, 8 Jan 2012 22:20:24 +0000 (22:20 +0000)
committerMichael Januszewski <spock@gentoo.org>
Sun, 8 Jan 2012 22:20:24 +0000 (22:20 +0000)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64

dev-python/pyopencl/ChangeLog
dev-python/pyopencl/Manifest
dev-python/pyopencl/pyopencl-2011.2.ebuild [new file with mode: 0644]

index 3f4c249c4d58f99d0acd001e7c6e2440288c790a..264c459cb0c315e3a33fae3cd37c5c08436c082c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pyopencl
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.9 2011/12/21 18:35:11 vapier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.10 2012/01/08 22:20:24 spock Exp $
+
+*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:
index 347221624ba14d8bb0022142412327230dab30bf..f028c96b88c21b8462e5ec3d6f1fbc95d7b4a35f 100644 (file)
@@ -1,15 +1,17 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
 
 DIST pyopencl-0.92.tar.gz 1091863 RMD160 c0ba23fe00fdd5639bb0ba410c5eb7c6e16e601e SHA1 5f683638328bc452e8ae5dceaf49c6059735fbca SHA256 dbf9c1b166a8790896d52c550aa22c8a42bd4b6abdf29ae4d54317c62b587830
+DIST pyopencl-2011.2.tar.gz 1293749 RMD160 78ec633e9e14b4df484051a728119f47a14f29a0 SHA1 6db28dcb896c9fef7c1c361f69ebfb96050d2977 SHA256 44e63472cfd3783e60c4c5a7f0ae3537fb95ffd6034ca3db226f5ca5a726d9b9
 EBUILD pyopencl-0.92.ebuild 1139 RMD160 4c30821830ff84a23e41b723e5a09233230c958f SHA1 3ba49d0f4b31fcb89250b24997a28f26256e7f8d SHA256 94bc7626bc63cfec3b93b4913a995a0a5c12d9540056883285ba8a6c6387192e
+EBUILD pyopencl-2011.2.ebuild 1239 RMD160 49ba69bc1fd707e530bb0d16567d29d87b552319 SHA1 9427e1582e02dc88bd43c6e4fa884b6d92d91487 SHA256 b9b6e4347bc0c5252ed9caa39c80c1979ae8abb70f235a6cd3f1298cd62e5d63
 EBUILD pyopencl-9999.ebuild 1195 RMD160 c53f894e7e0bf7b2be5aa58dc7f9fa981399c587 SHA1 fc2aa7de1769103280a4902af22c88905b8cb579 SHA256 8d34fdb9461bc0cb5bd62b4d2b16ba7a59f4da95e299e06f4ed8d9191fb429b0
-MISC ChangeLog 1745 RMD160 bc88ed359609deda7584ade4b57651040836b60a SHA1 bf2f6f61c9da7b6df1f2ba8d24e7590bdf16a635 SHA256 8ae458fc5902e6aeff16b56de50b83d571bdded3e18a002417e00b01c67b3e52
+MISC ChangeLog 1873 RMD160 91ce25e98ad6e35593fed0c49032c9cad66bdb0b SHA1 bff826efd967c603b0b82f86a83505bc1ebba0dd SHA256 c78e61e21c3f57edb9ce26f1a6d8197d3eea97a72e9c4a6ec0375c47abe58ad8
 MISC metadata.xml 219 RMD160 a2dac0d38b86bad6f3f71b71f717d22fdd0487fd SHA1 90a83be78e7692d71b04b1bea446db9e27f0b949 SHA256 f69cc954e6cde5875f21040d746a7af01ab9ed012d549c087812c0c05b6a8848
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iF4EAREIAAYFAk7yJuYACgkQaC/OocHi7JahbQD/QeHE8YWpjZ1BCpgP/NX8x2Q2
-itMfdh75qM0iUbsyDYMA/jAmyFQGmnR4sCYv+GneaV+nPp+hBC3hWqtjAh5nS2aq
-=UGeR
+iEYEARECAAYFAk8KFsAACgkQchej4aZK9/eVcgCfdIZTKkeNRGK/so8GFbO5z/7K
+afoAn0mdnl2tidHrJ7fFKSiditS1RSWF
+=1ZqW
 -----END PGP SIGNATURE-----
diff --git a/dev-python/pyopencl/pyopencl-2011.2.ebuild b/dev-python/pyopencl/pyopencl-2011.2.ebuild
new file mode 100644 (file)
index 0000000..975a7d2
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2011.2.ebuild,v 1.1 2012/01/08 22:20:24 spock Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="http://mathema.tician.de/software/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[python]
+       >=dev-python/numpy-1.0.4
+       dev-python/pytools
+       virtual/opencl"
+DEPEND="${RDEPEND}
+       dev-libs/boost[python]"
+
+src_configure()
+{
+       if use opengl; then
+               myconf="${myconf} --cl-enable-gl"
+       fi
+
+       "$(PYTHON -f)" ./configure.py --boost-python-libname=boost_python-mt \
+               --boost-compiler=gcc ${myconf}
+       sed -i -e 's/USE_SHIPPED_BOOST = True/USE_SHIPPED_BOOST = False/' siteconf.py
+}
+
+src_install()
+{
+       distutils_src_install
+       insinto /usr/share/doc/${PF}
+       if use examples; then
+               doins -r examples || die
+       fi
+}
+
+pkg_postinst()
+{
+       distutils_pkg_postinst
+       if use examples; then
+               elog "Some of the examples provided by this package require dev-python/matplotlib."
+       fi
+}