debian/0000775000000000000000000000000012322440304007162 5ustar debian/python3-pycuda-dbg.install0000664000000000000000000000006012313360441014172 0ustar usr/lib/python3*/*-packages/*/*.cpython-*d*.so debian/changelog0000664000000000000000000001035712322473463011056 0ustar pycuda (2013.1.1+git20140310-1ubuntu1) trusty; urgency=medium * Merge with Debian unstable. (LP: #1289463) * d/control: - Add alternate build-depends on libcuda-5.5-1 -- Graham Inggs Sun, 13 Apr 2014 09:27:10 +0200 pycuda (2013.1.1+git20140310-1) unstable; urgency=low * New upstream version. * Change python-pycuda-doc recommendation of Python and Python 3 packages to suggestions to avoid installing unwanted packages, like in #739173. * Rebuild with Python 3.4 support. * Update Standards-Version to 3.9.5; no changes necessary. -- Tomasz Rybak Sat, 22 Mar 2014 18:57:13 +0100 pycuda (2013.1.1+git20131128-1) unstable; urgency=low * New upstream version. * Rebuild against CUDA 5.5 (Closes: #730263). -- Tomasz Rybak Thu, 28 Nov 2013 19:46:55 +0100 pycuda (2013.1.1-1) unstable; urgency=low * New upstream release. -- Tomasz Rybak Wed, 17 Jul 2013 20:18:58 +0200 pycuda (2013.1~git20130626-1ubuntu3) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 19:31:31 +0000 pycuda (2013.1~git20130626-1ubuntu2) trusty; urgency=low * No change rebuild against Boost 1.54. -- Dmitrijs Ledkovs Tue, 29 Oct 2013 10:10:19 +0000 pycuda (2013.1~git20130626-1ubuntu1) saucy; urgency=low * Build-depend on nvidia-current | libcuda-5.0-1 (LP: #1129409). * Locate current Nvidia driver directory using /etc/ld.so.conf.d. -- Graham Inggs Sun, 14 Jul 2013 12:22:51 +0200 pycuda (2013.1~git20130626-1) unstable; urgency=low * New upstream release, adding new CURAND support. -- Tomasz Rybak Sun, 30 Jun 2013 18:10:45 +0200 pycuda (2013.1~git20130616-1) unstable; urgency=low * New upstream release. * Add Python 3 package. * 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. * Fix CUDA library build-dependencies, remove old libcuda1-dev. * 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 Thu, 20 Jun 2013 19:41:29 +0200 pycuda (2012.1-1) unstable; urgency=low * New upstream release. * Change my email. -- Tomasz Rybak Thu, 21 Jun 2012 23:41:50 +0200 pycuda (2011.2.2+git20120601-1) unstable; urgency=low * New upstream release. * Rebuild against Boost 1.49. Closes: #672745 * Create separate python-pycuda-headers package preparing for Python 3 package. * Move python-pyopengl from Recommends to Suggests because package can be used for computations without any graphical environment. * Update Standards-Version to 3.9.3. * Update debian/copyright to official 1.0 format. * Update debian/compat to 9, update dependencies. * Call dh_numpy in debian/rules for NumPy ABI and ABI dependencies. -- Tomasz Rybak Tue, 05 Jun 2012 18:04:40 +0200 pycuda (2011.2.2-1) unstable; urgency=low * New upstream release with support for CUDA 4.1. -- Tomasz Rybak Wed, 14 Dec 2011 14:57:51 +0100 pycuda (2011.1.3+git20110814-1) unstable; urgency=low * Initial release (Closes: #546919) * Add option in debian/source/ to unapply patches after build. * Add override python-py of pytest package * Change build scripts to build library for all available Python versions * Change package to use python-setuptools package instead of downloading it * Delete jquery.js and replace it with link to script from libjs-jquery * Force build scripts not to use boost libraries included in the source * Remove messages about missing Boost libraries; they are superfluous as package is using Debian ones -- Tomasz Rybak Sat, 20 Aug 2011 23:02:55 +0200 debian/rules0000775000000000000000000000535712313360441010257 0ustar #! /usr/bin/make -f PACKAGE_DIR=$(CURDIR)/debian/python$(if $(patsubst 3.%,,$(1)),,3)-pycuda 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 \ --boost-thread-libname=boost_thread \ --cuda-root=/usr --cuda-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: $(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-pycuda --dbg-package=python-pycuda-dbg dh_strip -ppython3-pycuda --dbg-package=python3-pycuda-dbg endif MODULE_NAME=pycuda DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \ | sed -rne 's/^Version: ([^-]+).*/\1/p') GIT_REVISION=9e071c605ae3b7a4366ad81e2d51697da9d2655b GIT_SUBMODULES=pycuda/compyte GIT_URL=http://git.tiker.net/trees/pycuda.git get-orig-source: rm -rf $(MODULE_NAME)-$(DEB_UPSTREAM_VERSION) $(MODULE_NAME)_$(DEB_UPSTREAM_VERSION).orig.tar.gz git clone $(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)/examples/.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/copyright0000664000000000000000000001440112313360441011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PyCUDA Upstream-Contact: Andreas Klöckner Source: http://git.tiker.net/trees/pycuda.git http://pypi.python.org/pypi/pycuda/ http://pypi.python.org/packages/source/p/pycuda/ 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: pycuda/curandom.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: pycuda/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 . . Original License: . Copyright 1993-2007 NVIDIA Corporation. All rights reserved. . NOTICE TO USER: . This source code is subject to NVIDIA ownership rights under U.S. and international Copyright laws. . NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE. . U.S. Government End Users. This source code is a "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of "commercial computer software" and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Government only as a commercial end item. Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the source code with only those rights set forth herein. Files: pycuda/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/cuda/pycuda-complex*.hpp Copyright: 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. debian/python-pycuda-doc.docs0000664000000000000000000000001712313360441013404 0ustar doc/build/html debian/README.source0000664000000000000000000000175112313360441011350 0ustar Source package provided by upstream contains embedded Boost source code, needed to build PyCUDA 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 PyCUDA from git repositories and builds pycuda_*.orig.tar.gz. get-orig-source downloads both PyCUDA and compyte; compyte is managed as PyCUDA 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/python-pycuda-doc.examples0000664000000000000000000000002212313360441014266 0ustar examples/* test/* debian/python-pycuda.install0000664000000000000000000000031312313360441013356 0ustar usr/lib/python2.*/*-packages/*.egg-info usr/lib/python2.*/*-packages/*/*[!_][!_].so usr/lib/python2.*/*-packages/*/*.py usr/lib/python2.*/*-packages/*/cuda/* usr/lib/python2.*/*-packages/*/compyte/*.py debian/python3-pycuda.install0000664000000000000000000000031612313360441013444 0ustar usr/lib/python3*/*-packages/*.egg-info usr/lib/python3*/*-packages/*/*.cpython-3?[!d]*.so usr/lib/python3*/*-packages/*/*.py usr/lib/python3*/*-packages/*/cuda/* usr/lib/python3*/*-packages/*/compyte/*.py debian/control0000664000000000000000000001703712322435747010614 0ustar Source: pycuda Section: contrib/python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Tomasz Rybak Build-Depends: debhelper (>= 9), python-all-dev, python-all-dbg, python3-all-dev, python3-all-dbg, python-setuptools, python3-setuptools, libcuda1 | libcuda-5.5-1, nvidia-cuda-toolkit, libboost-python-dev, libboost-thread-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 (>= 2011.5), python3-pytools Standards-Version: 3.9.5 X-Python-Version: >= 2.5 X-Python3-Version: >= 3.3 Homepage: http://mathema.tician.de/software/pycuda Vcs-Git: git://anonscm.debian.org/collab-maint/python-pycuda.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/python-pycuda.git Package: python-pycuda Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, nvidia-cuda-toolkit, python-numpy, python-pytools (>= 2011.5) Recommends: python-pycuda-doc, python-mako Suggests: python-pytest, python-opengl, python-matplotlib, python-pycuda-dbg Replaces: python-pycuda-headers Description: Python module to access Nvidia‘s CUDA parallel computation API PyCUDA lets you access Nvidia‘s CUDA parallel computation API from Python. Several wrappers of the CUDA API already exist–so what’s so special about PyCUDA? * 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. PyCUDA knows about dependencies, too, so (for example) it won’t detach from a context before all memory allocated in it is also freed. * Convenience. Abstractions like pycuda.driver.SourceModule and pycuda.gpuarray.GPUArray make CUDA programming even more convenient than with Nvidia’s C-based runtime. * Completeness. PyCUDA puts the full power of CUDA’s driver API at your disposal, if you wish. * Automatic Error Checking. All CUDA errors are automatically translated into Python exceptions. * Speed. PyCUDA’s base layer is written in C++, so all the niceties above are virtually free. * Helpful Documentation. Package: python-pycuda-dbg Section: contrib/debug Priority: extra Architecture: amd64 i386 Depends: python-pycuda (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, Description: Python module to access Nvidia‘s CUDA API (debug extensions) PyCUDA lets you access Nvidia‘s CUDA parallel computation API from Python. Several wrappers of the CUDA API already exist–so what’s so special about PyCUDA? * 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. PyCUDA knows about dependencies, too, so (for example) it won’t detach from a context before all memory allocated in it is also freed. * Convenience. Abstractions like pycuda.driver.SourceModule and pycuda.gpuarray.GPUArray make CUDA programming even more convenient than with Nvidia’s C-based runtime. * Completeness. PyCUDA puts the full power of CUDA’s driver API at your disposal, if you wish. * Automatic Error Checking. All CUDA errors are automatically translated into Python exceptions. * Speed. PyCUDA’s base layer is written in C++, so all the niceties above are virtually free. * Helpful Documentation. . This package contains debug extensions build for the Python debug interpreter. Package: python3-pycuda Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, nvidia-cuda-toolkit, python3-numpy, python3-pytools Recommends: python-pycuda-doc, python3-mako Suggests: python3-pytest, python3-opengl, python3-matplotlib, python3-pycuda-dbg Replaces: python-pycuda-headers Description: Python 3 module to access Nvidia‘s CUDA parallel computation API PyCUDA lets you access Nvidia‘s CUDA parallel computation API from Python. Several wrappers of the CUDA API already exist–so what’s so special about PyCUDA? * 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. PyCUDA knows about dependencies, too, so (for example) it won’t detach from a context before all memory allocated in it is also freed. * Convenience. Abstractions like pycuda.driver.SourceModule and pycuda.gpuarray.GPUArray make CUDA programming even more convenient than with Nvidia’s C-based runtime. * Completeness. PyCUDA puts the full power of CUDA’s driver API at your disposal, if you wish. * Automatic Error Checking. All CUDA errors are automatically translated into Python exceptions. * Speed. PyCUDA’s base layer is written in C++, so all the niceties above are virtually free. * Helpful Documentation. . This package contains Python 3 modules. Package: python3-pycuda-dbg Section: contrib/debug Priority: extra Architecture: amd64 i386 Depends: python3-pycuda (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, Description: Python 3 module to access Nvidia‘s CUDA API (debug extensions) PyCUDA lets you access Nvidia‘s CUDA parallel computation API from Python. Several wrappers of the CUDA API already exist–so what’s so special about PyCUDA? * 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. PyCUDA knows about dependencies, too, so (for example) it won’t detach from a context before all memory allocated in it is also freed. * Convenience. Abstractions like pycuda.driver.SourceModule and pycuda.gpuarray.GPUArray make CUDA programming even more convenient than with Nvidia’s C-based runtime. * Completeness. PyCUDA puts the full power of CUDA’s driver API at your disposal, if you wish. * Automatic Error Checking. All CUDA errors are automatically translated into Python exceptions. * Speed. PyCUDA’s base layer is written in C++, so all the niceties above are virtually free. * Helpful Documentation. . This package contains debug extensions for the Python 3 debug interpreter. Package: python-pycuda-doc Section: contrib/doc Architecture: all Depends: ${sphinxdoc:Depends}, ${misc:Depends} Recommends: nvidia-cuda-doc Suggests: python-pycuda, python3-pycuda Description: module to access Nvidia‘s CUDA computation API (documentation) PyCUDA lets you access Nvidia‘s CUDA parallel computation API from Python. Several wrappers of the CUDA API already exist–so what’s so special about PyCUDA? * 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. PyCUDA knows about dependencies, too, so (for example) it won’t detach from a context before all memory allocated in it is also freed. * Convenience. Abstractions like pycuda.driver.SourceModule and pycuda.gpuarray.GPUArray make CUDA programming even more convenient than with Nvidia’s C-based runtime. * Completeness. PyCUDA puts the full power of CUDA’s driver API at your disposal, if you wish. * Automatic Error Checking. All CUDA errors are automatically translated into Python exceptions. * Speed. PyCUDA’s base layer is written in C++, so all the niceties above are virtually free. * Helpful Documentation. . This package contains HTML documentation and example scripts. debian/source/0000775000000000000000000000000012313360441010465 5ustar debian/source/format0000664000000000000000000000001412313360441011673 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012313360441010614 5ustar debian/patches/fix-setup.patch0000664000000000000000000000765312313360441013574 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: 2014-03-22 Index: pycuda-2013.1.1+git20140310/Makefile.in =================================================================== --- pycuda-2013.1.1+git20140310.orig/Makefile.in 2014-03-22 18:58:06.000000000 +0100 +++ pycuda-2013.1.1+git20140310/Makefile.in 2014-03-22 19:01:35.365216473 +0100 @@ -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: pycuda-2013.1.1+git20140310/aksetup_helper.py =================================================================== --- pycuda-2013.1.1+git20140310.orig/aksetup_helper.py 2014-03-22 18:58:06.000000000 +0100 +++ pycuda-2013.1.1+git20140310/aksetup_helper.py 2014-03-22 19:02:17.605216991 +0100 @@ -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()) @@ -512,27 +492,8 @@ source_path = "bpl-subset/bpl_subset" if conf["USE_SHIPPED_BOOST"]: - if not exists("%s/boost/version.hpp" % source_path): - print(DASH_SEPARATOR) - print("The shipped Boost library was not found, but " - "USE_SHIPPED_BOOST is True.") - print("(The files should be under %s/.)" % source_path) - 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"] = [source_path] conf["BOOST_LIB_DIR"] = [] Index: pycuda-2013.1.1+git20140310/setup.py =================================================================== --- pycuda-2013.1.1+git20140310.orig/setup.py 2014-03-22 18:58:06.000000000 +0100 +++ pycuda-2013.1.1+git20140310/setup.py 2014-03-22 19:01:07.885216137 +0100 @@ -175,7 +175,6 @@ install_requires=[ "pytools>=2011.2", - "pytest>=2", "decorator>=3.2.0" ], debian/patches/python-versions.patch0000664000000000000000000000162612313360441015031 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-07-17 Index: pycuda-2013.1.1/setup.py =================================================================== --- pycuda-2013.1.1.orig/setup.py 2013-07-17 20:57:11.001814000 +0200 +++ pycuda-2013.1.1/setup.py 2013-07-17 20:57:47.337814000 +0200 @@ -81,6 +81,7 @@ EXTRA_DEFINES["PYGPU_PYCUDA"] = "1" LIBRARY_DIRS = conf["BOOST_LIB_DIR"] + conf["CUDADRV_LIB_DIR"] + conf["BOOST_PYTHON_LIBNAME"][0] += sys.version[0]+sys.version[2] LIBRARIES = (conf["BOOST_PYTHON_LIBNAME"] + conf["BOOST_THREAD_LIBNAME"] + conf["CUDADRV_LIBNAME"]) debian/patches/hardening.patch0000664000000000000000000000277212313360441013604 0ustar Description: Disable optimisation flags PyCUDA 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-07-17 Index: pycuda-2013.1.1/aksetup_helper.py =================================================================== --- pycuda-2013.1.1.orig/aksetup_helper.py 2013-07-17 20:20:16.000000000 +0200 +++ pycuda-2013.1.1/aksetup_helper.py 2013-07-17 20:54:51.017814000 +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: pycuda-2013.1.1/setup.py =================================================================== --- pycuda-2013.1.1.orig/setup.py 2013-07-17 20:20:16.000000000 +0200 +++ pycuda-2013.1.1/setup.py 2013-07-17 20:54:51.021814000 +0200 @@ -72,7 +72,7 @@ check_git_submodules() - hack_distutils() + hack_distutils(what_opt=None) conf = get_config(get_config_schema()) EXTRA_SOURCES, EXTRA_DEFINES = set_up_shipped_boost_if_requested("pycuda", conf) debian/patches/series0000664000000000000000000000006612313360441012033 0ustar hardening.patch python-versions.patch fix-setup.patch debian/watch0000664000000000000000000000011712313360441010215 0ustar version=3 http://pypi.python.org/packages/source/p/pycuda/pycuda-(.+)\.tar\.gz debian/python-pycuda-doc.doc-base0000664000000000000000000000052212313360441014132 0ustar Document: python-pycuda-doc Title: Python PyCUDA’s documentation Author: Andreas Kloeckner Abstract: PyCUDA gives you easy, Pythonic access to Nvidia‘s CUDA parallel computation API. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pycuda-doc/html/index.html Files: /usr/share/doc/python-pycuda-doc/html/*.html debian/compat0000664000000000000000000000000212313360441010363 0ustar 9 debian/python-pycuda-dbg.install0000664000000000000000000000004712313360441014114 0ustar usr/lib/python2.*/*-packages/*/*_d.so