debian/0000755000000000000000000000000012245703715007174 5ustar debian/control0000644000000000000000000000370412245703715010603 0ustar Source: pytools Section: python Priority: optional Maintainer: Tomasz Rybak Build-Depends: debhelper (>= 9), python (>= 2.5), python3-all (>= 3.2), python-setuptools, python3-setuptools, python-numpy, python3-numpy, python-decorator, python3-decorator Standards-Version: 3.9.4 X-Python-Version: >= 2.5 X-Python3-Version: >= 3.2 Homepage: http://mathema.tician.de/software/pytools Vcs-Git: git://anonscm.debian.org/collab-maint/python-pytools.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/python-pytools.git Package: python-pytools Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-numpy, python-decorator Description: big bag of things supplementing Python standard library Pytools is a big bag of things that are needed by packages created by Andreas Kloeckner. They are used by python-pycuda and python-pyopencl packages. They contain, amongst other: * A ton of small tool functions such as len_iterable, argmin, tuple generation, permutation generation, ASCII table pretty printing, GvR's mokeypatch_xxx() hack, the elusive flatten, and much more * A time-series logging module, pytools.log * Batch job submission, pytools.batchjob * A lexer, pytools.lex Package: python3-pytools Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3-numpy, python3-decorator Description: big bag of things supplementing Python 3 standard library Pytools is a big bag of things that are needed by packages created by Andreas Kloeckner. They are used by python-pycuda and python-pyopencl packages. They contain, amongst other: * A ton of small tool functions such as len_iterable, argmin, tuple generation, permutation generation, ASCII table pretty printing, GvR's mokeypatch_xxx() hack, the elusive flatten, and much more * A time-series logging module, pytools.log * Batch job submission, pytools.batchjob * A lexer, pytools.lex . This package contains Python 3 modules. debian/python3-pytools.install0000644000000000000000000000002412245703715013673 0ustar usr/lib/python3*/* debian/compat0000644000000000000000000000000212245703715010372 0ustar 9 debian/rules0000755000000000000000000000063012245703715010253 0ustar #! /usr/bin/make -f PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) %: dh $@ --with python2,python3 override_dh_auto_build: find pytools/ -name decorator.py -delete find pytools/ -name log.py -delete dh_auto_build override_dh_auto_install: dh_auto_install set -e; \ for python in $(PYTHON3); do \ python$$python setup.py install --install-layout=deb --root=debian/tmp; \ done debian/watch0000644000000000000000000000012112245703715010217 0ustar version=3 http://pypi.python.org/packages/source/p/pytools/pytools-(.+)\.tar\.gz debian/python-pytools.install0000644000000000000000000000002512245703715013611 0ustar usr/lib/python2.*/* debian/changelog0000644000000000000000000000777312245703715011064 0ustar pytools (2013.5.7-1) unstable; urgency=low * New upstream release. -- Tomasz Rybak Thu, 28 Nov 2013 19:05:48 +0100 pytools (2013.5.6-1) unstable; urgency=low * New upstream release. * Fix patch removing distributed decorator. -- Tomasz Rybak Tue, 27 Aug 2013 20:56:50 +0200 pytools (2013.5.2-1) unstable; urgency=low * New upstream version. * Upstream changed build system; remove unnecessary replace-setuptools.patch. -- Tomasz Rybak Sun, 30 Jun 2013 16:50:10 +0200 pytools (2013.2-1) unstable; urgency=low * New upstream release. * Build-depend on python3-all instead of python3 (Closes: #707310) * Update debian/compat to 9, update dependencies. * Update Standards-Version to 3.9.4; no changes necessary. * Fix VCS-* fields to contain canonical URIs. * Change my email. -- Tomasz Rybak Thu, 13 Jun 2013 18:46:28 +0200 pytools (2011.5-2) unstable; urgency=low * Add Python 3 package. * Update Standards-Version to 3.9.3. * Update debian/copyright to official 1.0 format. -- Tomasz Rybak Tue, 24 Apr 2012 19:45:54 +0200 pytools (2011.5-1) unstable; urgency=low * New upstream version, adds workaround for Python bug http://bugs.python.org/issue3905 * Refresh patches to apply and unapply cleanly. * Add debian/clean to remove generated files from pytools.egg-info/* -- Tomasz Rybak Fri, 25 Nov 2011 12:29:02 +0100 pytools (2011.3-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 Vcs-* fields in debian/control pointing to Alioth git repository * Change debian/rules to use dh_python2 which is recommended in Wheezy -- Tomasz Rybak Thu, 28 Apr 2011 17:41:27 +0200 pytools (10-7) unstable; urgency=low * Removed pytools.log and pytools.grid as they are not used by PyCUDA and depend on not packaged Python modules * Removed programs logtool and runalyzer-gather; they depend on removed packages and are not required by PyCUDA * Added dependency on python-pysqlite2 or python 2.6 -- Tomasz Rybak Sat, 12 Jun 2010 18:45:41 +0200 pytools (10-6) UNRELEASED; urgency=low * Added XS-Python-Version * Changed link to download page removing file version to avoid further edits. * Removed dependency on quilt * Added copyright of pytools/decorator.py -- Tomasz Rybak Sat, 05 Jun 2010 22:14:17 +0200 pytools (10-5) UNRELEASED; urgency=low * Fixed short description * Removed decorator distributed with package as the file is already in Debian package python-decorator, patching source * Added python-setuptools as build dependency, so package does not try to download it during build -- Tomasz Rybak Wed, 02 Jun 2010 15:45:18 +0200 pytools (10-4) UNRELEASED; urgency=low * Changed packaging solution from python-central to python-support * Changed priority from extra to optional * Added missing dependencies -- Tomasz Rybak Mon, 31 May 2010 18:46:24 +0200 pytools (10-3) UNRELEASED; urgency=low * Added manpages generated by help2man * Changed architecture from any to all as package contains only Python code * Changed rules script to build for "all" architecture - previous one was not dealing with this change -- Tomasz Rybak Sat, 22 May 2010 20:24:52 +0200 pytools (10-2) UNRELEASED; urgency=low * Fixes pointed by lintian: * Changed version by adding Debian revision * Added license * Changed version of Python build-dependency by removing Debian revision * Changed section from devel to python * Fixed list indentation in long package description -- Tomasz Rybak Thu, 20 May 2010 22:41:29 +0200 pytools (10-1) UNRELEASED; urgency=low * Initial release -- Tomasz Rybak Mon, 17 May 2010 19:01:17 +0200 debian/clean0000644000000000000000000000002312245703715010174 0ustar pytools.egg-info/* debian/patches/0000755000000000000000000000000012245703715010623 5ustar debian/patches/remove-decorator.patch0000644000000000000000000000117712245703715015127 0ustar Description: Remove package's decorator as python-decorator package contains the same files. Forwarded: not-needed Author: Tomasz Rybak Last-Update: 2013-08-27 Index: pytools-2013.5.6/pytools/__init__.py =================================================================== --- pytools-2013.5.6.orig/pytools/__init__.py 2013-07-17 22:43:09.000000000 +0200 +++ pytools-2013.5.6/pytools/__init__.py 2013-08-27 20:53:24.183002956 +0200 @@ -26,7 +26,7 @@ import operator import sys -from pytools.decorator import decorator +from decorator import decorator try: decorator_module = __import__("decorator", level=0) debian/patches/series0000644000000000000000000000002712245703715012037 0ustar remove-decorator.patch debian/docs0000644000000000000000000000000712245703715010044 0ustar README debian/copyright0000644000000000000000000000511312245703715011127 0ustar This package was debianized by Tomasz Rybak on Mon, 17 May 2010 19:01:17 +0200. It was downloaded from PyPI: http://pypi.python.org/packages/source/p/pytools/ Upstream Author: Andreas Klöckner Copyright: Copyright (c) 2009 Andreas Kloeckner 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. File: pytools/decorator.py Copyright: 2008 Michele Simionato ####################### LEGALESE ################################## ## Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## Redistributions in bytecode form must reproduce the above copyright ## notice, this list of conditions and the following disclaimer in ## the documentation and/or other materials provided with the ## distribution. ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, ## INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, ## BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS ## OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR ## TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE ## USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH ## DAMAGE. debian/README.Debian0000644000000000000000000000124212245703715011234 0ustar This Python module is packages as it is used by PyCUDA and PyOpenCL. Original module contains files requiring not yet packaged modules, e.g. pymbolic. I removed following files from this package: * pytools/decorator.py (newer version in package python-decorator) * pytools/log.py (requires pymbolic) PyCUDA requires following packages: * from __init__.py * memoize * Record * common_prefix * match_precision * single_valued * pytools.prefork * pytools.diskdict PyOpenCL requires following packages: * from __init__.py * memoize_method * Record * single_valued * all * any If required modules are packaged I will enable removed files. debian/source/0000755000000000000000000000000012245703715010474 5ustar debian/source/format0000644000000000000000000000001412245703715011702 0ustar 3.0 (quilt)