debian/0000755000000000000000000000000012262060626007170 5ustar debian/python3-pyopencl-dbg.install0000644000000000000000000000006012245716372014550 0ustar usr/lib/python3*/*-packages/*/*.cpython-*d*.so debian/python3-pyopencl.install0000644000000000000000000000037412245716372014026 0ustar usr/lib/python3*/*-packages/*.egg-info usr/lib/python3*/*-packages/*/*.cpython-3?[!d]*.so usr/lib/python3*/*-packages/*/*.py usr/lib/python3*/*-packages/*/cl/* usr/lib/python3*/*-packages/*/compyte/*.py usr/lib/python3*/*-packages/*/characterize/*.py debian/copyright0000644000000000000000000001661412245716372011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PyOpenCL Upstream-Contact: Andreas Klöckner Source: http://git.tiker.net/trees/pyopencl.git http://pypi.python.org/pypi/pyopencl/ http://pypi.python.org/packages/source/p/pyopencl/ Files: * Copyright: 2009-2011 Andreas Klöckner License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: pyopencl/clrandom.py Copyright: 1990 RSA Data Security, Inc. License: Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. . License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message Digest Algorithm" in all material mentioning or referencing this software or this function. . License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message Digest Algorithm" in all material mentioning or referencing the derived work. . RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. . These notices must be retained in any copies of any part of this documentation and/or software. Files: pyopencl/reduction.py Copyright: 2009-2011 Andreas Klöckner License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Based on code/ideas by Mark Harris . None of the original source code remains. Files: pyopencl/compyte/scan.py Copyright: 2011 Andreas Kloeckner 2008-2011 NVIDIA Corporation License: Apache 2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . Derived from thrust/detail/backend/cuda/detail/fast_scan.h within the Thrust project, https://code.google.com/p/thrust/ Files: src/cl/pyopencl-airy.cl src/cl/pyopencl-cephes.cl Copyright: 2012 Andreas Kloeckner 1984-2000 Stephen L. Moshier License: What you see here may be used freely, but it comes with no support or guarantee. Files: src/cl/pyopencl-bessel-j.cl Copyright: 2012 Andreas Kloeckner 2006 Xiaogang Zhang, John Maddock 1984-2000 Stephen L. Moshier License: Xiaogang Zhang, John Maddock: Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt) . Stephen L. Moshier: What you see here may be used freely, but it comes with no support or guarantee. Files: src/cl/pyopencl-complex.h Copyright: 2012 Andreas Kloeckner 1999 Silicon Graphics Computer Systems, Inc. 1999 Boris Fomitchev License: This material is provided "as is", with absolutely no warranty expressed or implied. Any use is at your own risk. . Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. Files: src/cl/pyopencl-ranluxcl.cl Copyright: 2011 Ivar Ursin Nikolaisen License: Copyright (c) 2011 Ivar Ursin Nikolaisen . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: examples/matrix-multiply.py Copyright: 1993-2009 NVIDIA Corporation License: Copyright 1993-2009 NVIDIA Corporation. All rights reserved. . NVIDIA Corporation and its licensors retain all intellectual property and proprietary rights in and to this software and related documentation. Any use, reproduction, disclosure, or distribution of this software and related documentation without an express license agreement from NVIDIA Corporation is strictly prohibited. . Please refer to the applicable NVIDIA end user license agreement (EULA) associated with this source code for terms and conditions that govern your use of this NVIDIA software. debian/python-pyopencl-doc.examples0000644000000000000000000000002212245716372014644 0ustar examples/* test/* debian/python-pyopencl-dbg.install0000644000000000000000000000004712245716372014472 0ustar usr/lib/python2.*/*-packages/*/*_d.so debian/changelog0000644000000000000000000001340512262060626011045 0ustar pyopencl (2013.2-1build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 19:31:34 +0000 pyopencl (2013.2-1) unstable; urgency=low * New upstream release. * Remove unnecessary entry from debian/copyright. -- Tomasz Rybak Thu, 28 Nov 2013 19:38:21 +0100 pyopencl (2013.1+git20130916-1) unstable; urgency=low * New upstream release, removing non-free file from examples (#722014) * Update changed Sphinx doc build directory. -- Tomasz Rybak Tue, 17 Sep 2013 18:03:59 +0200 pyopencl (2013.1-1) unstable; urgency=low * New upstream release. -- Tomasz Rybak Wed, 17 Jul 2013 20:09:12 +0200 pyopencl (2013.1~git20130628-1) unstable; urgency=low * New upstream release. * Bump pytools dependency to 2013.5.2. * Update patches. -- Tomasz Rybak Sun, 30 Jun 2013 18:21:30 +0200 pyopencl (2013.1~git20130613-1) unstable; urgency=low * New upstream release. * Add *-dbg packages. * Remove *-headers package; upstream now ships headers in python directory. * Upstream switched to setuptools, update patches to deal with it. * Do not call dh_sphinxdoc for architecture dependent builds, build documentation in separate step in debian/rules (Closes: #711926) * Add README.source describing get-orig-source in debian/rules. * Disable package optimisation option as it might clash with hardening compile options. * Include tests (all files in test/) in documentation package. * Fix VCS-* fields to contain canonical URIs. * Update Standards-Version to 3.9.4; no changes necessary. -- Tomasz Rybak Mon, 17 Jun 2013 22:30:57 +0200 pyopencl (2012.1-1) unstable; urgency=low * New upstream release. * Depend on free ocl-icd-libopencl1 instead of non-free libraries. * Add NEWS entry describing OpenCL library dependencies. * Change my email. * Move python-pyopengl from Recommends to Suggests because package can be used for computations without any graphical environment. -- Tomasz Rybak Thu, 21 Jun 2012 21:18:03 +0200 pyopencl (2011.2+git20120517-1) unstable; urgency=low * New upstream release. * Call dh_numpy3 in debian/rules for NumPy ABI and ABI dependencies in Python3 module. * Fix copyright for files in src/cl/* * Update debian/compat to 9, update dependencies. * Add Replaces: python-pyopencl to python-pyopencl-headers to avoid problem with updating, and ensure that python-pyopencl and python3-pyopencl always use correct version of python-pyopencl-headers. (Closes: #674000) * Add NEWS entry describing OpenCL library dependencies. (Closes: #673992) -- Tomasz Rybak Tue, 29 May 2012 19:52:40 +0200 pyopencl (2011.2+git20120508-1) unstable; urgency=low * New upstream release. * Add Python 3 package, create separate python-pyopencl-headers package. * Update Standards-Version to 3.9.3. * Update debian/copyright to official 1.0 format. * Call dh_numpy in debian/rules for NumPy ABI and ABI dependencies. -- Tomasz Rybak Tue, 08 May 2012 23:04:52 +0200 pyopencl (2011.2-1) unstable; urgency=low * New upstream release. * Change dependencies and build-dependencies to allow installation with non-NVIDIA (particularly AMD) OpenCL provider (Closes: #628702) * Remove unnecessary ./configure option pointing to include directory; OpenCL header files are now in /usr/include * Split into python-pyopencl and python-pyopencl-doc packages. * Use dh_sphinxdoc to properly manage documentation. * Add doc-base support * Fix copyright for files in compyte/* * Remove pytest override as package uses only py.test -- Tomasz Rybak Mon, 28 Nov 2011 13:39:37 +0100 pyopencl (2011.1.2+git20110716-1) unstable; urgency=low * New upstream release * Update Standards-Version to 3.9.2; no changes necessary. * Switch to debhelper compat level 8; no changes necessary. * Add option in debian/source/ to unapply patches after build. * Change debian/rules to use dh_python2 which is recommended in Wheezy * Add override python-py of pytest package * Disable compressing Sphinx-generated files (Closes: #608778) * Change dependencies to OpenCL virtual packages to allow other OpenCL providers. #628702 is not yet closed because of lack of change in build dependencies. -- Tomasz Rybak Mon, 18 Jul 2011 13:32:06 +0200 pyopencl (0.92-1) unstable; urgency=high * New upstream release * Fixed Vcs-* URLs in debian/control; now they point to Alioth instead of upstream git repository (Closes: #599875) * Fixed Maintainer field in debian/copyright (Closes: #599873) * Added missing licence for pyopencl/clrandom.py file (Closes: #599874) * Fixed FTBFS on i386 (Closes: #599782) * Forced build scripts not to use boost libraries that might be included in the source * Removed messages about missing Boost libraries; they are superfluous as package is using Debian ones * Update Standards-Version to 3.9.1; no changes necessary. * Changed dependencies: * Added alternative dependency to help with post-Squeeze changes in NVIDIA driver packages * Added alternative build-dependency on nvidia-libopencl1 and opencl-headers instead of nvidia-libopencl1-dev which will be removed from NVIDIA driver packages after Squeeze -- Tomasz Rybak Fri, 05 Nov 2010 14:52:35 +0100 pyopencl (0.92~beta+git20100709-1) unstable; urgency=low * Initial release * Replaced usage of setuptools with python-setuptools from Debian * Deleted jquery.js and replace it with link to script from libjs-jquery -- Tomasz Rybak Mon, 31 May 2010 19:29:00 +0200 debian/NEWS0000644000000000000000000000436712245716372007710 0ustar pyopencl (2012.1-1) unstable; urgency=low New package version was built against free ocl-icd-libopencl1 library. Although it can be build using only free libraries it still requires ICD to run so it will stay in contrib until there is free ICD in Debian. By default package is built against ocl-icd-libopencl1 but I have set build- and installation-time dependencies so PyOpenCL can be build and used with any package providing libopencl1. There are some problems with non-free libraries though, e.g. using amd-libopencl1 with NVIDIA hardware and ICD can lead to crashes (see discussion for bug #673992). Also some non-free libraries do not provide all OpenCL features (e.g. at the time of writing NVIDIA libraries provide only OpenCL 1.1 while other libraries provide OpenCL 1.2). In other words - if you use non-free libopencl1 and it works, good for you. If not, please try installing free ocl-icd-libopencl1 and testing whether problems remain before filling bug for PyOpenCL. -- Tomasz Rybak Thu, 21 Jun 2012 21:18:03 +0200 pyopencl (2011.2+git20120517-1) unstable; urgency=low New package depends on AMD OpenCL libraries because currently they are the only provider of OpenCL 1.2 (version offered by opencl-headers). If you are using NVIDIA hardware you can allow for installing amd-libopencl1 package. It will remove nvidia-libopencl1 but will not prevent you from using OpenCL with NVIDIA hardware. OpenCL implementation is provided by driver, and {amd, nvidia}-libopencl1 packages only provide management library. Please see README.Debian for more detailed description of interdependencies of OpenCL libraries. -- Tomasz Rybak Thu, 24 May 2012 22:16:41 +0200 pyopencl (2011.2-1) unstable; urgency=low New PyOpenCL package allows for using either AMD of NVIDIA OpenCL libraries. Only one package providing libopencl1 can be installed (see README.Debian); this package allows for using any of them, but was build against amd-libopencl1 and by default wants to install it (removing nvidia-libopencl1). NVIDIA OpenCL provider works well with amd-libopencl1, so agree to its installation if it is required. -- Tomasz Rybak Mon, 28 Nov 2011 13:39:37 +0100 debian/python-pyopencl-doc.doc-base0000644000000000000000000000052712245716372014515 0ustar Document: python-pyopencl-doc Title: Python PyOpenCL’s documentation Author: Andreas Kloeckner Abstract: PyOpenCL gives you easy, Pythonic access to the OpenCL parallel computation API. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pyopencl-doc/html/index.html Files: /usr/share/doc/python-pyopencl-doc/html/*.html debian/python-pyopencl.install0000644000000000000000000000037212245716372013741 0ustar usr/lib/python2.*/*-packages/*.egg-info usr/lib/python2.*/*-packages/*/*[!_][!_].so usr/lib/python2.*/*-packages/*/*.py usr/lib/python2.*/*-packages/*/cl/* usr/lib/python2.*/*-packages/*/compyte/*.py usr/lib/python2.*/*-packages/*/characterize/*.py debian/compat0000644000000000000000000000000212245716372010375 0ustar 9 debian/patches/0000755000000000000000000000000012245716372010626 5ustar debian/patches/hardening.patch0000644000000000000000000000307312245716372013611 0ustar Description: Disable optimisation flags PyOpenCL manages its own CXXFLAGS which enable optimisation and disable debug options. This patch disables setting of default optimisation levels as this might conflict with hardening and DEB_BUILD_OPTIONS. Forwarded: not-needed Author: Tomasz Rybak Last-Update: 2013-06-30 Index: pyopencl-2013.1~git20130628/aksetup_helper.py =================================================================== --- pyopencl-2013.1~git20130628.orig/aksetup_helper.py 2013-06-30 18:25:19.000000000 +0200 +++ pyopencl-2013.1~git20130628/aksetup_helper.py 2013-06-30 18:29:42.151076978 +0200 @@ -155,11 +155,11 @@ if debug: cflags.append("-g") else: + cflags.append("-DNDEBUG") if what_opt is None: pass else: cflags.append("-O%s" % what_opt) - cflags.append("-DNDEBUG") cvars['OPT'] = str.join(' ', cflags) cvars["CFLAGS"] = cvars["BASECFLAGS"] + " " + cvars["OPT"] Index: pyopencl-2013.1~git20130628/setup.py =================================================================== --- pyopencl-2013.1~git20130628.orig/setup.py 2013-06-30 18:25:19.000000000 +0200 +++ pyopencl-2013.1~git20130628/setup.py 2013-06-30 18:29:42.175076979 +0200 @@ -65,7 +65,7 @@ check_git_submodules() - hack_distutils() + hack_distutils(what_opt=None) conf = get_config(get_config_schema(), warn_about_no_config=False) EXTRA_OBJECTS, EXTRA_DEFINES = \ debian/patches/python-versions.patch0000644000000000000000000000214712245716372015042 0ustar Description: Change option providing name of Python Boost library Package needs libboost-python and name of linked library depends on Python version. To build for all supported Python version we need to get used Python version and include it into name of linked library. Forwarded: not-needed Author: Tomasz Rybak Last-Update: 2013-06-30 Index: pyopencl-2013.1~git20130628/setup.py =================================================================== --- pyopencl-2013.1~git20130628.orig/setup.py 2013-06-30 18:32:30.631084151 +0200 +++ pyopencl-2013.1~git20130628/setup.py 2013-06-30 18:34:45.887089909 +0200 @@ -59,6 +59,7 @@ def main(): + import sys from aksetup_helper import (hack_distutils, get_config, setup, NumpyExtension, set_up_shipped_boost_if_requested, check_git_submodules) @@ -72,6 +73,7 @@ set_up_shipped_boost_if_requested("pyopencl", conf) LIBRARY_DIRS = conf["BOOST_LIB_DIR"] + conf["BOOST_PYTHON_LIBNAME"][0] += sys.version[0]+sys.version[2] LIBRARIES = conf["BOOST_PYTHON_LIBNAME"] EXTRA_INCLUDE_DIRS = [] debian/patches/fix-setup.patch0000644000000000000000000000765212245716372013605 0ustar Description: Disable tests during setup Do not check for presence of shipped Boost and presence of configuration files during building of package. Clean compiled files and configuration. Forwarded: not-needed Author: Tomasz Rybak Last-Update: 2013-06-30 Index: pyopencl-2013.1~git20130628/Makefile.in =================================================================== --- pyopencl-2013.1~git20130628.orig/Makefile.in 2013-06-30 18:25:19.000000000 +0200 +++ pyopencl-2013.1~git20130628/Makefile.in 2013-06-30 18:40:42.335105084 +0200 @@ -12,6 +12,8 @@ clean: rm -Rf build rm -f tags + -rm -f siteconf.py + -find -name '*.pyc' -delete tags: ctags -R src || true Index: pyopencl-2013.1~git20130628/aksetup_helper.py =================================================================== --- pyopencl-2013.1~git20130628.orig/aksetup_helper.py 2013-06-30 18:39:56.435103130 +0200 +++ pyopencl-2013.1~git20130628/aksetup_helper.py 2013-06-30 18:40:42.339105084 +0200 @@ -108,26 +108,6 @@ if schema is None: from setup import get_config_schema schema = get_config_schema() - - if (not schema.have_config() and not schema.have_global_config() - and warn_about_no_config): - print("*************************************************************") - print("*** I have detected that you have not run configure.py.") - print("*************************************************************") - print("*** Additionally, no global config files were found.") - print("*** I will go ahead with the default configuration.") - print("*** In all likelihood, this will not work out.") - print("*** ") - print("*** See README_SETUP.txt for more information.") - print("*** ") - print("*** If the build does fail, just re-run configure.py with the") - print("*** correct arguments, and then retry. Good luck!") - print("*************************************************************") - print("*** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT") - print("*************************************************************") - - count_down_delay(delay=10) - return expand_options(schema.read_config()) @@ -506,26 +486,8 @@ if conf["USE_SHIPPED_BOOST"]: if not exists("bpl-subset/bpl_subset/boost/version.hpp"): - print(DASH_SEPARATOR) - print("The shipped Boost library was not found, but " - "USE_SHIPPED_BOOST is True.") - print("(The files should be under bpl-subset/.)") - print(DASH_SEPARATOR) - print("If you got this package from git, you probably want to do") - print("") - print(" $ git submodule update --init") - print("") - print("to fetch what you are presently missing. If you got this from") - print("a distributed package on the net, that package is broken and") - print("should be fixed. For now, I will turn off 'USE_SHIPPED_BOOST'") - print("to try and see if the build succeeds that way, but in the long") - print("run you might want to either get the missing bits or turn") - print("'USE_SHIPPED_BOOST' off.") - print(DASH_SEPARATOR) conf["USE_SHIPPED_BOOST"] = False - count_down_delay(delay=10) - if conf["USE_SHIPPED_BOOST"]: conf["BOOST_INC_DIR"] = ["bpl-subset/bpl_subset"] conf["BOOST_LIB_DIR"] = [] Index: pyopencl-2013.1~git20130628/setup.py =================================================================== --- pyopencl-2013.1~git20130628.orig/setup.py 2013-06-30 18:39:56.483103132 +0200 +++ pyopencl-2013.1~git20130628/setup.py 2013-06-30 18:41:49.375107938 +0200 @@ -204,7 +204,6 @@ install_requires=[ "pytools>=2013.5.2", - "pytest>=2", "decorator>=3.2.0", # "Mako>=0.3.6", ], debian/patches/series0000644000000000000000000000006612245716372012045 0ustar hardening.patch python-versions.patch fix-setup.patch debian/README.Debian0000644000000000000000000000235412245716372011244 0ustar OpenCL is standard for cross-platform hardware-independent parallel programming: http://www.khronos.com/opencl/ Current OpenCL packaging in Debian assumes that there can be many different OpenCL implementations present on the system. Each implementation is supposed to provide package opencl-icd (Installable Client Driver, ICD) which will allow for client software to chose OpenCL library to run. To have working OpenCL you need to have two packages installed, libopencl1 and opencl-icd: * libopencl1 is OpenCL management library which manages all OpenCL providers * opencl-icd points to particular OpenCL provider, e.g. AMD or NVIDIA While you can install as many of opencl-icd packages as you want (e.g. both amd-opencl-icd and nvidia-opencl-icd), you can install only one package providing libopencl1. I recommend using free ocl-icd-libopencl1 against which this package was build as it works well with different OpenCL providers. You can still try to use other (non-free) libraries, e.g. amd-libopencl1 or nvidia-libopencl1, but those are less stable and there have been problems with running them, especially while having many ICD installed. Error in function dlGetPlatformIDs means that there is no OpenCL implementation available on the system. debian/control0000644000000000000000000001551312245716372010607 0ustar Source: pyopencl Section: contrib/python Priority: optional Maintainer: Tomasz Rybak Build-Depends: debhelper (>= 9), python-all-dev, python-all-dbg, python3-all-dev, python3-all-dbg, python-setuptools, python3-setuptools, opencl-headers, ocl-icd-libopencl1 | libopencl1, libboost-python-dev, mesa-common-dev, python-numpy (>= 1:1.4.1-4~), python3-numpy, python-sphinx (>= 1.0.7+dfsg), python3-sphinx (>= 1.0.7+dfsg), python-pytools (>= 2013.5.2), python3-pytools Standards-Version: 3.9.4 X-Python-Version: >= 2.5 X-Python3-Version: >= 3.2 Homepage: http://mathema.tician.de/software/pyopencl Vcs-Git: git://anonscm.debian.org/collab-maint/python-pyopencl.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/python-pyopencl.git Package: python-pyopencl Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ocl-icd-libopencl1 | libopencl1, opencl-icd, python-numpy, python-pytools (>= 2013.5.2) Recommends: python-pyopencl-doc, python-opengl, python-mako Suggests: python-imaging-tk, python-pytest, python-matplotlib, python-pyopencl-dbg Replaces: python-pyopencl-headers Description: Python module to access OpenCL parallel computation API PyOpenCL lets you access the OpenCL parallel computation API from Python. Here's what sets PyOpenCL apart: * 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. * Convenience. While PyOpenCL's primary focus is to make all of OpenCL accessible, it tries hard to make your life less complicated as it does so--without taking any shortcuts. * Automatic Error Checking. All OpenCL 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, complete documentation and a wiki. * Liberal licensing (MIT). Package: python-pyopencl-dbg Section: contrib/debug Priority: extra Architecture: amd64 i386 Depends: python-pyopencl (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, Description: Python module to access OpenCL API (debug extensions) PyOpenCL lets you access the OpenCL parallel computation API from Python. Here's what sets PyOpenCL apart: * 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. * Convenience. While PyOpenCL's primary focus is to make all of OpenCL accessible, it tries hard to make your life less complicated as it does so--without taking any shortcuts. * Automatic Error Checking. All OpenCL 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, complete documentation and a wiki. * Liberal licensing (MIT). . This package contains debug extensions build for the Python debug interpreter. Package: python3-pyopencl Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, ocl-icd-libopencl1 | libopencl1, opencl-icd, python3-numpy, python3-pytools (>= 2013.5.2) Recommends: python-pyopencl-doc, python3-mako Suggests: python3-imaging-tk, python3-opengl, python3-pytest, python3-matplotlib, python3-pyopencl-dbg Replaces: python-pyopencl-headers Description: Python 3 module to access OpenCL parallel computation API PyOpenCL lets you access the OpenCL parallel computation API from Python. Here's what sets PyOpenCL apart: * 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. * Convenience. While PyOpenCL's primary focus is to make all of OpenCL accessible, it tries hard to make your life less complicated as it does so--without taking any shortcuts. * Automatic Error Checking. All OpenCL 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, complete documentation and a wiki. * Liberal licensing (MIT). . This package contains Python 3 modules. Package: python3-pyopencl-dbg Section: contrib/debug Priority: extra Architecture: amd64 i386 Depends: python3-pyopencl (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, Description: Python 3 module to access OpenCL API (debug extensions) PyOpenCL lets you access the OpenCL parallel computation API from Python. Here's what sets PyOpenCL apart: * 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. * Convenience. While PyOpenCL's primary focus is to make all of OpenCL accessible, it tries hard to make your life less complicated as it does so--without taking any shortcuts. * Automatic Error Checking. All OpenCL 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, complete documentation and a wiki. * Liberal licensing (MIT). . This package contains extensions build for the Python 3 debug interpreter. Package: python-pyopencl-doc Section: contrib/doc Architecture: all Depends: ${sphinxdoc:Depends}, ${misc:Depends} Recommends: python-pyopencl, python3-pyopencl Description: module to access OpenCL parallel computation API (documentation) PyOpenCL lets you access the OpenCL parallel computation API from Python. Here's what sets PyOpenCL apart: * 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. * Convenience. While PyOpenCL's primary focus is to make all of OpenCL accessible, it tries hard to make your life less complicated as it does so--without taking any shortcuts. * Automatic Error Checking. All OpenCL 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, complete documentation and a wiki. * Liberal licensing (MIT). . This package contains HTML documentation and example scripts. debian/python-pyopencl-doc.docs0000644000000000000000000000002012245716372013754 0ustar doc/_build/html debian/rules0000755000000000000000000000535312245716372010265 0ustar #! /usr/bin/make -f PACKAGE_DIR=$(CURDIR)/debian/python$(if $(patsubst 3.%,,$(1)),,3)-pyopencl INSTALL_DIR=$(CURDIR)/debian/tmp/ PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) DEB_CXXFLAGS_MAINT_STRIP=-O2 DEB_CXXFLAGS_MAINT_APPEND=-O0 endif %: dh $@ --with python2,python3,sphinxdoc override_dh_auto_configure: ./configure.py --boost-python-libname=boost_python-py --cl-enable-gl override_dh_auto_build: dh_auto_build --buildsystem=python_distutils set -e; \ for python in $(PYTHON3); do \ python$$python setup.py build ; \ python$$python-dbg setup.py build ; \ done override_dh_auto_install: set -e; \ for python in $(PYTHON2); do \ python$$python setup.py install --install-layout=deb --root=$(INSTALL_DIR); \ done set -e; \ for python in $(PYTHON2); do \ python$$python-dbg setup.py install --install-layout=deb --root=$(INSTALL_DIR); \ done set -e; \ for python in $(PYTHON3); do \ python$$python setup.py install --install-layout=deb --root=$(INSTALL_DIR); \ done set -e; \ for python in $(PYTHON3); do \ python$$python-dbg setup.py install --install-layout=deb --root=$(INSTALL_DIR); \ done dh_numpy dh_numpy3 override_dh_installdocs: PYTHONPATH=../$$(ls -d build/lib.*-*-$(firstword $(PYTHON2)))/ $(MAKE) -C doc html dh_installdocs # Sphinx documentation is architecture-independent override_dh_sphinxdoc-arch: override_dh_compress: dh_compress --all -X.py -X.txt -X.js -X.rst -X.json -X.doctree -Xobjects.inv override_dh_strip: ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) dh_strip -ppython-pyopencl --dbg-package=python-pyopencl-dbg dh_strip -ppython3-pyopencl --dbg-package=python3-pyopencl-dbg endif MODULE_NAME=pyopencl DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \ | sed -rne 's/^Version: ([^-]+).*/\1/p') GIT_REVISION=v2013.2 GIT_SUBMODULES=pyopencl/compyte GIT_URL=http://git.tiker.net/trees/pyopencl.git get-orig-source: rm -rf $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION) $(MODULE_NAME)_$(DEB_UPSTREAM_VERSION).orig.tar.gz git clone --depth 0 $(GIT_URL) $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION) cd $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION) && git submodule init $(GIT_SUBMODULES) && git submodule update $(GIT_SUBMODULES) && git checkout $(GIT_REVISION) rm -rf $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION)/.git $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION)/.gitignore $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION)/.gitmodules rm -rf $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION)/doc/source/.gitignore rm -rf $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION)/$(GIT_SUBMODULES)/.git $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION)/$(GIT_SUBMODULES)/.gitignore tar czf $(MODULE_NAME)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION) rm -rf $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION) debian/source/0000755000000000000000000000000012245716372010477 5ustar debian/source/format0000644000000000000000000000001412245716372011705 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000176312245716372011365 0ustar Source package provided by upstream contains embedded Boost source code, needed to build PyOpenCL under Microsoft Windows and Mac OS X. I have decided to write get-orig-source rule in debian/rules instead of repackaging upstream source. debian/rules get-orig-source retrieves all the source files needed to build PyOpenCL from git repositories and builds pyopencl_*.orig.tar.gz. get-orig-source downloads both PyOpenCL and compyte; compyte is managed as PyOpenCL submodule in git and contains code for managing GPU-based arrays common for PyCUDA and PyOpenCL. get-orig-source behaviour is governed by following variables, defined in debian/make * GIT_URL - git repository from which to download source * GIT_SUBMODULES - list of git submodules to download; upstream repository contains two submodules (boost and compyte) and get-orig-source retrieves on of them (compyte) * GIT_REVISION - git revision to retrieve; you can change it to get different revision, for example for debugging purposes. debian/watch0000644000000000000000000000012312245716372010224 0ustar version=3 http://pypi.python.org/packages/source/p/pyopencl/pyopencl-(.+)\.tar\.gz