From d853412935e71df9b76fee7ad32e92b1fe711587 Mon Sep 17 00:00:00 2001 From: Antonio Valentino Date: Wed, 2 Jan 2019 09:48:48 +0000 Subject: [PATCH] Import pytables_3.4.4-2.debian.tar.xz [dgit import tarball pytables 3.4.4-2 pytables_3.4.4-2.debian.tar.xz] --- README.Debian | 8 + README.source | 42 ++ changelog | 663 ++++++++++++++++++ compat | 1 + control | 331 +++++++++ copyright | 232 ++++++ gbp.conf | 16 + nctoh5.1 | 83 +++ patches/0001-use-dynamic-lib.patch | 28 + ...-Never-use-the-msse2-flag-explicitly.patch | 32 + patches/0003-use-local-mathjax.patch | 19 + patches/0004-remove-gtags.patch | 29 + .../0005-Comaptibility-with-numpy-1.16.patch | 71 ++ patches/0006-Fix-LZO2-detection.patch | 25 + patches/series | 6 + pt2to3.1 | 55 ++ ptdump.1 | 63 ++ ptrepack.1 | 107 +++ pttree.1 | 79 +++ python-tables-data.install | 5 + python-tables-dbg.install | 1 + python-tables-doc.doc-base | 17 + python-tables-doc.docs | 5 + python-tables-doc.examples | 1 + python-tables-doc.install | 3 + python-tables-doc.links | 8 + python-tables-lib.install | 1 + python-tables.install | 7 + python-tables.links | 49 ++ python3-tables-dbg.install | 1 + python3-tables-lib.install | 1 + python3-tables.install | 8 + python3-tables.links | 49 ++ python3-tables.lintian-overrides | 7 + python3-tables.manpages | 5 + rules | 72 ++ source/format | 1 + tests/control | 13 + tests/python2 | 12 + tests/python2-dbg | 13 + tests/python3 | 12 + tests/python3-dbg | 13 + upstream/metadata | 6 + watch | 3 + 44 files changed, 2203 insertions(+) create mode 100644 README.Debian create mode 100644 README.source create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 nctoh5.1 create mode 100644 patches/0001-use-dynamic-lib.patch create mode 100644 patches/0002-Never-use-the-msse2-flag-explicitly.patch create mode 100644 patches/0003-use-local-mathjax.patch create mode 100644 patches/0004-remove-gtags.patch create mode 100644 patches/0005-Comaptibility-with-numpy-1.16.patch create mode 100644 patches/0006-Fix-LZO2-detection.patch create mode 100644 patches/series create mode 100644 pt2to3.1 create mode 100644 ptdump.1 create mode 100644 ptrepack.1 create mode 100644 pttree.1 create mode 100644 python-tables-data.install create mode 100644 python-tables-dbg.install create mode 100644 python-tables-doc.doc-base create mode 100644 python-tables-doc.docs create mode 100644 python-tables-doc.examples create mode 100644 python-tables-doc.install create mode 100644 python-tables-doc.links create mode 100644 python-tables-lib.install create mode 100644 python-tables.install create mode 100644 python-tables.links create mode 100644 python3-tables-dbg.install create mode 100644 python3-tables-lib.install create mode 100644 python3-tables.install create mode 100644 python3-tables.links create mode 100644 python3-tables.lintian-overrides create mode 100644 python3-tables.manpages create mode 100755 rules create mode 100644 source/format create mode 100644 tests/control create mode 100755 tests/python2 create mode 100644 tests/python2-dbg create mode 100755 tests/python3 create mode 100644 tests/python3-dbg create mode 100644 upstream/metadata create mode 100644 watch diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..d5fdafd --- /dev/null +++ b/README.Debian @@ -0,0 +1,8 @@ +PyTables for Debian +------------------- + +- The user's manual and the examples are in python-tables-doc + package. For the new additions on this release, see changelog.gz. + + -- Francesc Altet , Fri, 15 Jul 2005 18:26:51 +0200 + diff --git a/README.source b/README.source new file mode 100644 index 0000000..bccd59e --- /dev/null +++ b/README.source @@ -0,0 +1,42 @@ +README.source +------------- + +The PyTables project provides two kinds of source packages: + +* the "official" source tarball also includes the pre-built HTML and PDF + documentation and is the available at + + http://sourceforge.net/projects/pytables/files/pytables/ + + or + + http://pypi.python.org/pypi/tables + +* the "pure source" distribution, instead, only includes sources for the + python package and extensions and for documentation (sphinx [1] based + documentation in reStructuredText format). + The "pure source" distribution is only available on GitHub and it is + generated from the source code repository tags: + + https://github.com/PyTables/PyTables/releases + +The debian package for PyTables uses the "pure source" distribution in order +to make it easier to manage stuffs related to sphinx [1] documentation +management. + +The PyTables source tree includes an internal copy of c-blosc [2] and +(starting from version 3.1) a copy of the zlib [3], lz4 [4] and snappy [5] +compression libraries. +Apart for c-blosc, for which no debian package is available at the moment, +the debian package for PyTables does not use the internal copy of the +compressors. It links the system version of that libraries. + + +[1] http://sphinx-doc.org +[2] http://blosc.org +[3] http://www.zlib.net +[4] http://code.google.com/p/lz4 +[5] http://code.google.com/p/snappy + + -- Antonio Valentino Wed, 05 Mar 2014 23:49:28 +0100 + diff --git a/changelog b/changelog new file mode 100644 index 0000000..8d66bc2 --- /dev/null +++ b/changelog @@ -0,0 +1,663 @@ +pytables (3.4.4-2) unstable; urgency=medium + + * Team upload. + * Standard version bumped to 4.3.0, no change. + * debian/patches: + - new 0005-Comaptibility-with-numpy-1.16.patch: + fixes an issue with not writeable buffers. + Closes: #917666. + - new 0006-Fix-LZO2-detection.patch + * debian/control: + - re-order dependencies + * Add gbp.conf file. + * Switch to pybuild. + * Set compat to 12. + + -- Antonio Valentino Wed, 02 Jan 2019 09:48:48 +0000 + +pytables (3.4.4-1) unstable; urgency=medium + + * New upstream release. + * debian/patches + - drop 0005-Compatibility-with-NumPy-1.14.3.patch. + Applied upstream. + - refresh remaining pathces. + * debian/changelog + - strip trailing spaces + - update copyright dates + + -- Antonio Valentino Sat, 16 Jun 2018 10:53:16 +0000 + +pytables (3.4.3-2) unstable; urgency=medium + + * debian/patches + - new 0005-Compatibility-with-NumPy-1.14.3.patch (Closes: #898577) + * debian control + - drop ancient X-Python-Version fields + + -- Antonio Valentino Mon, 14 May 2018 22:21:42 +0000 + +pytables (3.4.3-1) unstable; urgency=medium + + * New upstream release. + * Standard version bump to v4.1.4 (no change) + * Add upstream metadata. + * Updated debian/copyright file. + * debian/control + - update Vcs-* fields + * debian/patches + - drop 0004-unicode-charecter-for-latexpdf.patch, applied upstream + - drop 0005-usepackage-threeparttable.patch, applied upstream + - drop debian/patches/0006-Use-mock-form-stdlib.patch, applied upstream + - new 0004-remove-gtags.patch to avoid privacy-breach-generic + - refresh all remaining patches + + -- Antonio Valentino Sun, 22 Apr 2018 16:48:11 +0000 + +pytables (3.4.2-4) unstable; urgency=medium + + * Switch to pybuild + * debian/control + - python-tables-doc (>= 3.4.2-3) tries to overwrite files in older + python-tables. + Set the proper package dependency relations (Closes: #891023). + + -- Antonio Valentino Sun, 25 Feb 2018 12:07:35 +0000 + +pytables (3.4.2-3) unstable; urgency=medium + + * Standard version bumped to v4.1.3 (no changes) + * Set compat to 11 + * Update lintian overrides + * Fix 0005-usepackage-threeparttable.patch (Closes: #888177) + * debian/control + - suggest python(3)-netcdf4 instead of python-netcdf + - drop build dependency from python3-mock (Closes: #876841) + - update package description (Closes: #664441) + * Do not install duplicate files + * python-tables-doc depends on libjs-mathjax (Closes: #877277) + * debian/patches + - refresh all patches + - new 0006-Use-mock-form-stdlib.patch + + -- Antonio Valentino Fri, 02 Feb 2018 07:39:49 +0000 + +pytables (3.4.2-2) unstable; urgency=medium + + * Standard version bumped to v4.1.1 (extra --> optional) + * debian/control + - declare break/replace rules: python3-tables (>= 3.4.2-1) install + scripts that was previously installed by python-tables + (Closes: #881741) + - remove break/replace rules for pytables << 3.0.0-3: + no longer necessary + * debian/tests/control + - reformat + - re-enable tests on python3-dbg + * add debian/source.lintian-overrides + + -- Antonio Valentino Sat, 18 Nov 2017 11:58:23 +0000 + +pytables (3.4.2-1) unstable; urgency=medium + + * New upstream release (Closes: #874362) + * Standard version bumped to v4.1.0 (no change) + * Ensure that autopkgtest scripts return the correct exit code + (Closes: #864395) + * debian/patches: + - drop 0003-Do-not-fetch-icons-for-external-web-sites.patch, + 0004-fix-compatibility-with-HDF5-1.10.patch, + 0005-Ignore-cpuinfo-on-unsupported-archs.patch and + 0006-allow-for-long-type-in-nextafter: applied upstream + - refresh remainimg patches + - new 0003-use-local-mathjax.patch + - new 0004-unicode-charecter-for-latexpdf.patch + - new 0005-usepackage-threeparttable.patch (compatibility + with sphinx >= 1.6) + * Updated copyright file + * debian/control + - add build dependency from python(3)-sphinx-rtd-theme, + python(3)-ipython, python(3)-numpydoc and python-mock + - add dependency from libjs-mathjax and python(3)-mock + - depend on python3-sphinx instead of pyhton-sphinx + - build-depend on latexmk that is required bt sphinx >= 1.6 + (Closes: #872314) + - remove un-necessary "Testsuite: autopkgtest" + * Install scripts (and related manpages) for the python3 version + of the package + * debian/rules + - no longer use dpkg-parsechangelog to determine the current + package timestamp + - avoid duplicate files in the doc + - improve clean target + * debian/source/lintian-overrides + - new lintian overrides for library-package-name-for-application + and application-in-library-section + + -- Antonio Valentino Sat, 23 Sep 2017 11:56:40 +0000 + +pytables (3.3.0-5) unstable; urgency=medium + + * debian/rules + - typo in BUILD_DATE + * debian/patches + - removed 0006-Disable-tests-on-bitshuffle.patch + It is no longer necessary after the fix of #844047 in + c-blosc 1.11.1+ds1-3 + - new 0006-allow-for-long-type-in-nextafter.patch. + Imported from upstream (see also + https://github.com/PyTables/PyTables/pull/587) + - new 0007-fix-base-class-order.patch to fix compatibility with + Python v2.7.13. + See also https://github.com/PyTables/PyTables/issues/590 + + -- Antonio Valentino Wed, 07 Dec 2016 13:19:56 +0100 + +pytables (3.3.0-4) unstable; urgency=medium + + * debian/patches + - new 0006-Disable-tests-on-bitdhuffle.patch: temporarily disable + tests on the blosc bitshuffle filter due to bug #843040 + + -- Antonio Valentino Thu, 03 Nov 2016 18:13:31 +0000 + +pytables (3.3.0-3) unstable; urgency=medium + + * debian/patches + - improved 0005-Ignore-cpuinfo-on-unsupported-archs.patch to ignore + any kind of error from cpuinfo + + -- Antonio Valentino Tue, 01 Nov 2016 21:35:06 +0000 + +pytables (3.3.0-2) unstable; urgency=medium + + * debian/patches + - new 0005-Ignore-cpuinfo-on-unsupported-archs.patch: + fix build on non x86 platforms + + -- Antonio Valentino Tue, 01 Nov 2016 08:10:06 +0000 + +pytables (3.3.0-1) unstable; urgency=medium + + * New upstream release + * Use packaged blosc library + * debian/watch + - add compatibility to the new tagging schema + * debian/patches + - drop 0005-fix-index-inheritance-order.patch and + 0006-fix-typo-in-hdf5extension.pyx.patch: applied upstream + - new 0005-fix-compatibility-with-HDF5-1.10.patch + - drop 0002-Use-system-compression-libs.patch: not necessary + - refresh all patches + * debian/copyright + - add copyright for zsrd source + * debian/rules + - set hardening flags + * debian/control + - cleanup and warning suppression + - add build dependency from python?-six + + -- Antonio Valentino Mon, 31 Oct 2016 14:34:18 +0000 + +pytables (3.2.2-3) unstable; urgency=medium + * debian/control + - standard version bumped to 3.9.8 (no change required) + - fix build dependencies: add missing texlive-generic-extra + (Closes: #829077) + * debian/copyright + - fix DEP-5 url + + -- Antonio Valentino Sat, 02 Jul 2016 09:52:51 +0000 + +pytables (3.2.2-2) unstable; urgency=medium + + * debian/patches + - new 0005-fix-index-inheritance-order.patch to fix the + inheritance order of the Index class (Closes: #818501) + * debian/copyright + - use unambiguous license naae (expat nstead of MIT) + - fix LZ4 source code URL + * debian/control + - standard version bumped to 3.9.7 (no change required) + - fix VCS URL + - remove not necessary version numbers from build dependency + specification + * debian/patches + - improved formatting of 0003-Never-use-the-msse2-flag-explicitly.patch + * Fix typos in manpages + + -- Antonio Valentino Sun, 27 Mar 2016 08:22:15 +0000 + +pytables (3.2.2-1) unstable; urgency=medium + + * New upstream release (Closes: #800466) + * debian/patches: + - drop 0005-Fix-setitem-return-value.patch (applied upstream) + + -- Antonio Valentino Sat, 03 Oct 2015 16:33:36 +0000 + +pytables (3.2.1-1) unstable; urgency=medium + + * New upstream version + * Fix debian/watch file + * Update copyright file + * Update authors in debian/python-tables-doc.doc-base + * debian/control + - updated dependencies versions + - added build-dependeny from setuptools + - stamdards version bumped to 3.9.6 (no change) + - update vcs URLs to the new recommended format + - remove deprecated XS-Testsuite field + - general update and reformatting (suggested by cme fix dpkg-control) + - run tests with utf-8 locale (patch form Barry Warsaw ) + * debian/rules + - make build reproducible + * debian/patches + - refresh all patches + - drop 0003-Better-control-of-verbosity-in-unittests.patch + (applied upstream) + - drop 0006-fix-an-import-issue-with-cython-newer-than-0.20.2.patch + (applied upstream) + - drop 0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch + no longer needed. + The issue with lz4 compressor on s39x has been fixed in lz4_0.0~r122-1. + - new 0005-Fix-setitem-return-value.patch patch for Python 3.5 compatibility + (patch form Barry Warsaw ). Closes: #795333. + * README.txt has been renamed into README.rst upsream. + Updated python-pytables*.docs files. + * New manpage for the pttree utility + + -- Antonio Valentino Fri, 14 Aug 2015 19:42:08 +0000 + +pytables (3.1.1-3) unstable; urgency=medium + + * New patch: + 0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch + The patch temporay desables tests that use the lz4 conpressor + on the s390x platform (see #757581 for more details). + + -- Antonio Valentino Fri, 15 Aug 2014 07:37:41 +0000 + +pytables (3.1.1-2) unstable; urgency=medium + + * Support hdf5 1.8.13 new packaging layout (Closes: #756694) + * debian/patches + - new patch that fixes an import issue with cython > 0.20.2 + * debian/control + - added an explicit build dependency from dh-python + + -- Antonio Valentino Mon, 04 Aug 2014 21:29:17 +0000 + +pytables (3.1.1-1) unstable; urgency=medium + + * New upstream release + * debian/control + - debug package now depend on python(3)-dbg, python(3)-numpy-dbg, + pyhon(3)-numexpr-dbg instead of recommending them + (Closes: #742557) + - use versioned dependency for lzo (>= 0.0~r114) since one of the + symbols used in blosc is missing in earlier versions + * debian/patches + - new patch (0003-Better-control-of-verbosity-in-unittests.patch) + for better control of verbosity in unittests + - new patch 0005-Do-not-fetch-icons-for-external-web-sites.patch + to avoid fetching data from external web sites in html pages of + the doc + - the 0003-Only-use-msse2-flag-on-x86_64.patch has been updated + after the upstream changes and renamed into + 0004-Never-use-the-msse2-flag-explicitly.patch + - all remaining patches has been refreshed + + -- Antonio Valentino Sat, 12 Apr 2014 19:02:49 +0000 + +pytables (3.1.0-2) unstable; urgency=medium + + * Improved the debian/README.source file (added a note about the + external compression libraries included in the source tree) + * Only use the -msse2 flag on x86_64 machines + + -- Antonio Valentino Wed, 05 Mar 2014 22:51:16 +0000 + +pytables (3.1.0-1) unstable; urgency=low + + * New upstream release (Closes: #734298) + * Standard version bumped to 3.9.5 (no changes) + * New python(3)-tables-lib packages. + The old python(3)-tables packages have been split into + python(3)-tables (containing common code for all platforms) and + python(3)-tables-lib (containing only platform specific extensions). + * New python-tables-data package including all data files used for + unit testing + * Added autopkgtests running testsuite + * debian/patches + - removed 0001-Fix-detection-of-platforms-supporting-blosc.patch + (applied upstream) + - removed 0003-disable-extended-float-support.patch no more + necessary + - remaining patches have been refreshed + - new patch (0002-Use-system-compression-libs.patch) to use + system compression libraries instead of internal copies + * debian/control + - added build dependencies form liblz4-dev and snappy-dev + * temporary disabled tests for python3.x-dbg + + -- Antonio Valentino Sun, 02 Mar 2014 15:47:11 +0000 + +pytables (3.0.0-2) unstable; urgency=low + + * Explicitly specify the minimum numexpr version in the binary + package dependency line + + -- Antonio Valentino Sat, 21 Sep 2013 17:48:09 +0000 + +pytables (3.0.0-1) experimental; urgency=low + + * New upstream release + * Fix PDF doc installation after upstream changes + * Added a man page for the new pt2pt3 command line tool + * Build-Depend on numexpr >= 2.1 + * Minimum Python version is now 2.6 + * New packages for Python 3 + * debian/patches: + - Refresh all patches + - Drop 0002-Fix-detection-od-platforms-supporting-blosc.patch + (applied upstream) + - New 0002-use-dynamic-lib.patch (fixes an issue with liblzo2.so + detection) + - New patch for disabling extended float support (workaround for an + upstream bug of HDF5 with gcc-4.8) + * Fixed the license for win32/pthread.* in the copyright file + See also https://code.google.com/p/numexpr/issues/detail?id=109#c5 + + -- Antonio Valentino Sat, 07 Sep 2013 17:24:24 +0000 + +pytables (2.4.0-4) unstable; urgency=low + + * Fix the override_dh_sphinxdoc rule to avoid failures when the -doc + package is not built + + -- Antonio Valentino Mon, 24 Jun 2013 20:20:45 +0000 + +pytables (2.4.0-3) unstable; urgency=low + + * Added build-dependency from jquery-cookie and updated debian/rules + to avoid embedded javascript + * New patch: fix tests of nested record reperesentation on big-endian + machines. Backport of upstream fix for gh-237 (see also + https://github.com/PyTables/PyTables/issues/237). + * New patch: fix detection od platforms supporting blosc + + -- Antonio Valentino Sun, 23 Jun 2013 14:14:23 +0000 + +pytables (2.4.0-2) unstable; urgency=low + + * Added vitables as suggested package (Closes: #702228) + * Updated copyright file + * Standard version bumped to 3.9.4 (no changes) + * Removed obsolete DM-Upload-Allowed field from the control file + * Enabled automatic testing for dbg packages + * Keep the original name of the upstream changelog + * Use canonical URI for VCS-* fields + * Fixed unnecessarily versioned build dependencies (silence cme warnings) + * Uploading PyTables 2.4 to unstable also fixes a small incompatibility + with numpy >= 1.7 (Closes: #713085) + + -- Antonio Valentino Sun, 23 Jun 2013 13:25:28 +0000 + +pytables (2.4.0-1) experimental; urgency=low + + [ Antonio Valentino ] + * New upstream release (Closes: #698318, #605180) + * Improved watch file + * Removed all patches (applied upstream) + * Updated build dependencies + * Set compat to 9 + * Updated copyright file + + -- Yaroslav Halchenko Mon, 28 Jan 2013 10:02:57 -0500 + +pytables (2.3.1-3) unstable; urgency=low + + [ Antonio Valentino ] + * Set Vcs-* fields in the control file (Closes: #657766) + * Provide -dbg package (Closes: #399332) + * Override dh_install instead of dh_auto_install + * Honor nodoc and noopt DEB_BUILD_OPTIONS (Closes: #660001) + * Updated copyright format URL + * Standard version bumped to 3.9.3 (no changes) + * Patch fix_unaligned_mem_access to avoid errors related to unaligned + memory access on platforms like ARM, etc (Closes: #661287). + The patch has been backported from upstream and originally submtted + by Julian Taylor + + [ Yaroslav Halchenko ] + * Patch up_skip_multiprocessing_test_on_gnu to disable test on Hurd and + kFreeBSD systems -- multiprocessing locking seems to be N/A + + [ Julian Taylor ] + * fix_library_detection.patch: + fixes detection of multiarched bzip and lzo2 (Closes: #657789) + * rules: update clean target to remove some remnant files + * disable_blosc.patch: + disable blosc on armel, armhf, sparc and mipsel + not functional due to unaligned memory accesses + (Closes: #661287, #661286) + * make testsuite output verbose + + -- Yaroslav Halchenko Mon, 05 Mar 2012 16:32:52 -0500 + +pytables (2.3.1-2) unstable; urgency=low + + * Avoid unnecessary cythonization during clean + * Ensure that build fails in case of test failure + * Explicitly set PYTHONPATH before running tests + * Call dh_numpy to generate proper dependency on numpy + (Closes: #657089) + + -- Antonio Valentino Sat, 28 Jan 2012 12:39:25 +0100 + +pytables (2.3.1-1) unstable; urgency=low + + [ Antonio Valentino ] + * New upstream release (Closes: #641485) + * Watch file updated to point tho the new download site + * Copyright file converted to DEP5 format + * Removed debian/pycompat file: no more needed + * Switch to dpkg-source 3.0 (quilt) format + * Switch to dh_python2 (Closes: #616988) + * Now use debhelper 8 and the dh sequencer in the debian/rules file + * Standard version bumped to 3.9.2 + * Build depend from numexpr, cython, pythn-sphinx and texlive-latex-* + * No more play with gzip in debian/rules (Closes: #551392) + * The package is now maintained under the unbrella of debian-science + * Added a debian/README.source file + * Enabled automatic testing + * Build dependency from the HDF5 library updated to libhdf5-dev + (HDF5 transition) + + [ Yaroslav Halchenko ] + * Sponsored the upload + + -- Yaroslav Halchenko Sun, 22 Jan 2012 22:18:32 -0500 + +pytables (2.1.2-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Build-Depend on versioned python-numpy (>= 1:1.4.1-4~); fixes + incompatiblity with python-numpy (Closes: #589669) + * debian/rules: add call to dh_numpy to generate stricter versioned + depends on python-numpy (Closes: #590761) + + -- Varun Hiremath Fri, 30 Jul 2010 23:58:31 -0400 + +pytables (2.1.2-3) unstable; urgency=low + + * Improve the long discription of python-tables-doc (closes: #551391) + * Remove the gzip of man1 in rules (close: #551392) + * Re-fix the build error with Python-2.6 (closes: #547875) + + -- Wen Heping Wed, 22 Oct 2009 23:10:23 +0100 + +pytables (2.1.2-2) unstable; urgency=low + + * Fix the build error with Python-2.6 (closes: #547875) + + -- Wen Heping Wed, 14 Oct 2009 23:10:23 +0100 + +pytables (2.1.2-1) unstable; urgency=low + + * New upstream release. + * Wen Heping adopt package (closes: #544895) + * Add a watch file + * Change the standards version to 3.8.3 + + -- Wen Heping Fri, 09 Oct 2009 18:15:39 +0100 + +pytables (2.0.3-1) unstable; urgency=low + + * New upstream release. + + -- Francesc Altet Tue, 18 Mar 2008 18:15:39 +0100 + +pytables (2.0.2-1) unstable; urgency=low + + * New upstream release. + + -- Francesc Altet Tue, 27 Nov 2007 19:54:25 +0100 + +pytables (2.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Francesc Altet Wed, 19 Sep 2007 13:21:33 +0200 + +pytables (2.0-1) unstable; urgency=low + + * New upstream release. This no longer depends on numarray (closes: #423797) + * Incorporates patch from Didrik Pinte (closes: #431686) + * Python 2.5 packages are already available (closes: #391939) + + -- Francesc Altet Thu, 05 Jul 2007 12:08:45 +0200 + +pytables (1.3.2-2) unstable; urgency=low + + * Fixed call to pyversions in debian/rules which failed on recent versions + of pyversions + * Fixed clean rule in debian/rules which left the stamp files behind + * Acknowledge NMU + * Added Alexandre Fayolle to uploaders + + -- Alexandre Fayolle Wed, 28 Jun 2006 10:45:03 +0200 + +pytables (1.3.2-1) unstable; urgency=low + + * New upstream release (closes: #375691) + + -- Francesc Altet Tue, 27 Jun 2006 19:57:46 +0200 + +pytables (1.3-1.1) unstable; urgency=low + + * NMU + * Comply with the new python policy (removes python2.X-tables + packages) (closes: #373508) + * Build-Depend on python-numarray (closes: #374177) + * Removed versioned dependency on virtual package python2.X-numarray + (closes: #374799) + + -- Alexandre Fayolle Wed, 21 Jun 2006 14:16:13 +0200 + +pytables (1.3-1) unstable; urgency=low + + * New upstream release. NumPy support added. + (Closes: #347743) + * Support of new HDF5 1.6.5 packages in debian. + * Due to the new dynamic discovery of LZO, UCL and bzip2 libraries, + they are not required anymore by binaries. More specifically, LZO + and bzip2 are Recommended:, while UCL which is being deprecated in + PyTables is just "Suggested:". Many thanks to Steve Langasek for + suggesting an automatic way to do this. + * Note that, although deprecated, UCL support is in, in order to + allow users to migrate existing files to other supported libraries + (Zlib, LZO or bzip2). + + -- Francesc Altet Mon, 10 Apr 2006 12:08:33 +0200 + +pytables (1.1.1-1) unstable; urgency=low + + * New upstream release. Introduced nested types, enumerated types, + native multidimensional attributes and a new CArray object. + (Closes: #309018, #308795) + * Drop python2.2 packages. + + -- Francesc Altet Wed, 14 Sep 2005 13:38:23 +0200 + +pytables (0.9.1-2) unstable; urgency=high + + * Recompiling with libucl1 instead of ucl0 (Closes: #288464) + * First package built for Python 2.4. + * First support for gcc4 (Closes: #287972) + + -- Francesc Alted Tue, 11 Jan 2005 17:58:58 +0100 + +pytables (0.9.1-1) unstable; urgency=low + + * New upstream release. Mainly a maintenance release. + + -- Francesc Alted Thu, 09 Dec 2004 17:27:04 +0100 + +pytables (0.9-1) unstable; urgency=low + + * New upstream release. Introduced indexation, support of complex numbers + and update of object elements. + + -- Francesc Alted Fri, 05 Nov 2004 18:10:58 +0100 + +pytables (0.8.1-4) unstable; urgency=high + + * Recompiled to get a proper dependency on libucl (>=1.03-1). + (Closes: #276164). + + -- Francesc Alted Thu, 14 Oct 2004 10:45:19 +0200 + +pytables (0.8.1-3) unstable; urgency=high + + * Recompiled to adapt to a numarray ABI change introduced in 1.1. + (Closes: #272198). + + -- Francesc Alted Tue, 21 Sep 2004 12:01:20 +0200 + +pytables (0.8.1-2) unstable; urgency=high + + * Added python to Build-Depends, as debhelper requires. + (Closes: #259501). + + -- Francesc Alted Thu, 15 Jul 2004 12:15:15 +0200 + +pytables (0.8.1-1) unstable; urgency=high + + * New upstream release. It is compatible with new numarray-1.0 API. + (Closes: #258078). + + -- Francesc Alted Wed, 14 Jul 2004 12:35:15 +0200 + +pytables (0.8-1) unstable; urgency=low + + * New upstream version. It has now full 64-bit support + (Closes: #226653). + + -- Francesc Alted Thu, 25 Mar 2004 13:19:15 +0100 + +pytables (0.7.2-2) unstable; urgency=low + + * Package has been rebuilt in order to use the new libhdf5-1.6.1-0 + instead of the previous libhdf5-1.6.0-0. See #202260 and #221699 + bug reports for more information (Closes: #221734). + + -- Francesc Alted Wed, 20 Nov 2003 12:00:51 +0100 + +pytables (0.7.2-1) unstable; urgency=low + + * First debian release (Closes: #213707) + * Sponsored by Daniel Bungert + + -- Francesc Alted Wed, 08 Oct 2003 13:48:21 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +12 diff --git a/control b/control new file mode 100644 index 0000000..7d42bff --- /dev/null +++ b/control @@ -0,0 +1,331 @@ +Source: pytables +Maintainer: Debian Science Maintainers +Uploaders: Antonio Valentino , + Yaroslav Halchenko +Section: python +Priority: optional +Build-Depends: debhelper (>= 12), + dh-python, + locales, + libhdf5-dev, + python-all-dev, + python-all-dbg, + python3-all-dev, + python3-all-dbg, + python-setuptools, + python3-setuptools, + python-six, + python3-six, + python-numpy, + python-numpy-dbg, + python3-numpy, + python3-numpy-dbg, + python-numexpr, + python-numexpr-dbg, + python3-numexpr, + python3-numexpr-dbg, + python-mock, + cython, + cython-dbg, + cython3, + cython3-dbg, + zlib1g-dev, + liblzo2-dev, + libblosc-dev, + liblz4-dev (>= 0.0~r122), + libsnappy-dev, + libbz2-dev, + libzstd-dev, + python3-sphinx, + python3-sphinx-rtd-theme, + python3-ipython, + python3-numpydoc, + texlive-generic-extra, + texlive-latex-recommended, + texlive-latex-extra, + texlive-fonts-recommended, + libjs-jquery-cookie, + libjs-mathjax, + latexmk +Standards-Version: 4.3.0 +Vcs-Browser: https://salsa.debian.org/science-team/pytables +Vcs-Git: https://salsa.debian.org/science-team/pytables.git +Homepage: http://www.pytables.org + +Package: python-tables +Architecture: all +Depends: python-tables-lib (>= ${source:Version}), + python-tables-lib (<< ${source:Version}.1~), + python-tables-data (= ${source:Version}), + python-numexpr, + python-mock, + ${python:Depends}, + ${misc:Depends} +Suggests: python-tables-doc (>= 3.4.2-3), + python-netcdf4, + vitables +Description: hierarchical database for Python based on HDF5 + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This is the Python 2 version of the package. + +Package: python-tables-lib +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Recommends: python-tables (= ${source:Version}) +Description: hierarchical database for Python based on HDF5 (extension) + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This package contains the extension built for the Python 2 interpreter. + +Package: python-tables-dbg +Architecture: any +Section: debug +Depends: python-tables (= ${source:Version}), + python-tables-lib (= ${binary:Version}), + python-dbg, + python-numpy-dbg, + python-numexpr-dbg, + ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Suggests: python-tables-doc, + python-netcdf4 +Description: hierarchical database for Python based on HDF5 (debug extension) + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This package contains the extension built for the Python 2 debug interpreter. + +Package: python3-tables +Architecture: all +Depends: python3-tables-lib (>= ${source:Version}), + python3-tables-lib (<< ${source:Version}.1~), + python-tables-data (= ${source:Version}), + python3-numexpr, + ${python3:Depends}, + ${misc:Depends} +Suggests: python-tables-doc (>> 3.4.2-3), + python3-netcdf4, + vitables +Replaces: python-tables (<< 3.4.2-1) +Breaks: python-tables (<< 3.4.2-1) +Description: hierarchical database for Python3 based on HDF5 + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This is the Python 3 version of the package. + +Package: python3-tables-lib +Architecture: any +Depends: ${python3:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Recommends: python3-tables (= ${source:Version}) +Description: hierarchical database for Python3 based on HDF5 (extension) + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This package contains the extension built for the Python 3 interpreter. + +Package: python3-tables-dbg +Architecture: any +Section: debug +Depends: python3-tables (= ${source:Version}), + python3-tables-lib (= ${binary:Version}), + python3-dbg, + python3-numpy-dbg, + python3-numexpr-dbg, + ${python3:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Suggests: python-tables-doc, + python3-netcdf4 +Description: hierarchical database for Python 3 based on HDF5 (debug extension) + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This package contains the extension built for the Python 3 debug interpreter. + +Package: python-tables-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, + ${sphinxdoc:Depends}, + libjs-mathjax, + libjs-jquery-cookie +Suggests: xpdf | pdf-viewer, + www-browser +Replaces: python-tables (<< 3.4.2-3) +Breaks: python-tables (<< 3.4.2-3) +Description: hierarchical database for Python based on HDF5 - documentation + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This package includes the manual in PDF and HTML formats. + +Package: python-tables-data +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Description: hierarchical database for Python based on HDF5 - test data + PyTables is a package for managing hierarchical datasets and designed + to efficiently cope with extremely large amounts of data. + . + It is built on top of the HDF5 library and the NumPy package. It + features an object-oriented interface that, combined with C extensions + for the performance-critical parts of the code (generated using + Cython), makes it a fast, yet extremely easy to use tool for + interactively save and retrieve very large amounts of data. One + important feature of PyTables is that it optimizes memory and disk + resources so that they take much less space (between a factor 3 to 5, + and more if the data is compressible) than other solutions, like for + example, relational or object oriented databases. + . + - Compound types (records) can be used entirely from Python (i.e. it + is not necessary to use C for taking advantage of them). + - The tables are both enlargeable and compressible. + - I/O is buffered, so you can get very fast I/O, specially with + large tables. + - Very easy to select data through the use of iterators over the + rows in tables. Extended slicing is supported as well. + - It supports the complete set of NumPy objects. + . + This package includes daya fils used for unit testing. diff --git a/copyright b/copyright new file mode 100644 index 0000000..d2ee3d9 --- /dev/null +++ b/copyright @@ -0,0 +1,232 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pytables +Source: http://www.pytables.org + +Files: * +Copyright: 2002-2004 Francesc Alted + 2005-2007 Carabos Coop. V. + 2008-2010 Francesc Alted + 2011-2018 PyTables maintainers +License: BSD-3-Clause + +Files: debian/* +Copyright: 2011-2018 Antonio Valentino +License: BSD-3-Clause + +Files: c-blosc/* +Copyright: 2009-2018 Francesc Alted +License: BSD-3-Clause + +Files: c-blosc/blosc/win32/pthread.* +Copyright: 2009 Andrzej K. Haczewski +License: Expat + +Files: c-blosc/blosc/blosclz.h c-blosc/blosc/blosclz.c +Copyright: 2005-2007 Ariya Hidayat + 2009-2010 Francesc Alted +License: Expat + +Files: c-blosc/blosc/win32/stdint-windows.h +Copyright: 2006-2013 Alexander Chemeris +License: BSD-3-Clause + +Files: src/H5ARRAY.c src/H5VLARRAY.c +Copyright: 2003 F. Alted + 2017 A. Cobb +License: BSD-3-Clause + +Files: src/H5ATTR.h src/H5ATTR.c src/H5TB-opt.h src/H5TB-opt.c +Copyright: 1998-2006 the Board of Trustees of the University of Illinois + 2006-2007 The HDF Group (THG) + 2005 F. Alted + 2017 A. Cobb +License: BSD-style + HDF5 (Hierarchical Data Format 5) Software Library and Utilities + Copyright 2006-2007 by The HDF Group (THG). + . + NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities + Copyright 1998-2006 by the Board of Trustees of the University of Illinois. + . + All rights reserved. + . + Contributors: National Center for Supercomputing Applications (NCSA) + at the University of Illinois, Fortner Software, Unidata Program + Center (netCDF), The Independent JPEG Group (JPEG), Jean-loup Gailly + and Mark Adler (gzip), and Digital Equipment Corporation (DEC). + . + Redistribution and use in source and binary forms, with or without + modification, are permitted for any purpose (including commercial + purposes) provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions, and the following + disclaimer in the documentation and/or materials provided with the + distribution. + . + 3. In addition, redistributions of modified forms of the source or + binary code must carry prominent notices stating that the original + code was changed and the date of the change. + . + 4. All publications or advertising materials mentioning features or + use of this software are asked, but not required, to acknowledge that + it was developed by The HDF Group and by the National Center for + Supercomputing Applications at the University of Illinois at + Urbana-Champaign and credit the contributors. + . + 5. Neither the name of The HDF Group, the name of the University, + nor the name of any Contributor may be used to endorse or promote + products derived from this software without specific prior written + permission from THG, the University, or the Contributor, respectively. + . + DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE HDF GROUP (THG) AND THE + CONTRIBUTORS "AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR + IMPLIED. In no event shall THG or the Contributors be liable for any + damages suffered by the users arising out of the use of this software, + even if advised of the possibility of such damage. + . + Portions of HDF5 were developed with support from the University of + California, Lawrence Livermore National Laboratory (UC LLNL). The + following statement applies to those portions of the product and must + be retained in any redistribution of source code, binaries, + documentation, and/or accompanying materials: + . + This work was partially produced at the University of California, + Lawrence Livermore National Laboratory (UC LLNL) under contract + no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy + (DOE) and The Regents of the University of California (University) for + the operation of UC LLNL. + . + DISCLAIMER: This work was prepared as an account of work sponsored by + an agency of the United States Government. Neither the United States + Government nor the University of California nor any of their + employees, makes any warranty, express or implied, or assumes any + liability or responsibility for the accuracy, completeness, or + usefulness of any information, apparatus, product, or process + disclosed, or represents that its use would not infringe privately- + owned rights. Reference herein to any specific commercial products, + process, or service by trade name, trademark, manufacturer, or + otherwise, does not necessarily constitute or imply its endorsement, + recommendation, or favoring by the United States Government or the + University of California. The views and opinions of authors expressed + herein do not necessarily state or reflect those of the United States + Government or the University of California, and shall not be used for + advertising or product endorsement purposes. + +Files: c-blosc/internal-complibs/zlib-*/* +Copyright: 1995-2013 Jean-loup Gailly and Mark Adler +License: zlib-style + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +Files: c-blosc/internal-complibs/lz4-*/* +Copyright: 2011-2017 Yann Collet + 2015-2017 Przemyslaw Skibinski +License: BSD-2-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary 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 + OWNER 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. + . + You can contact the author at : + - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html + - LZ4 source repository : https://github.com/Cyan4973/lz4 + +Files: c-blosc/internal-complibs/snappy-*/* +Copyright: 2005 Google Inc. + 2008 Google Inc. + 2011 Google Inc. +License: BSD-3-Clause + +Files: c-blosc/internal-complibs/snappy-*/snappy-c.* +Copyright: 2011 Martin Gieseking +License: BSD-3-Clause + +Files: c-blosc/internal-complibs/zstd-*/* +Copyright: 2015- Yann Collet, Przemyslaw Skibinski, Facebook, Inc. +License: BSD-3-Clause + +Files: c-blosc/internal-complibs/zstd-*/common/threading.* +Copyright: 2016- Tino Reichardt +License: BSD-3-Clause + +Files: cpuinfo.py +Copyright: 2014-2017, Matthew Brennan Jones +License: Expat + +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + a. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + b. Redistributions in binary 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. + c. Neither the name of the authors nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + . + 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 + OWNER 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. + +License: Expat + 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. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..21d0417 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,16 @@ +[DEFAULT] + +# The default name for the upstream branch is "upstream". +# Change it if the name is different (for instance, "master"). +upstream-branch = upstream + +# The default name for the Debian branch is "master". +# Change it if the name is different (for instance, "debian/unstable"). +debian-branch = master + +# git-import-orig uses the following names for the upstream tags. +# Change the value if you are not using git-import-orig +upstream-tag = upstream/%(version)s + +# Always use pristine-tar. +pristine-tar = True diff --git a/nctoh5.1 b/nctoh5.1 new file mode 100644 index 0000000..fe22ed6 --- /dev/null +++ b/nctoh5.1 @@ -0,0 +1,83 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH NCTOH5 1 "November 11, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +nctoh5 \- Convert a NetCDF file into a PyTables (HDF5 format) file +.SH SYNOPSIS +.B nctoh5 +.RB \-h +.RB \-v +.RB \-o +.RB \-\-complevel=(0\-9) +.RB \-\-complib=lib +.RB \-\-shuffle=(0|1) +.RB \-\-fletcher32=(0|1) +.RB \-\-unpackshort=(0|1) +.RB \-\-quantize=(0|1) +.RB netcdffilename +.RB hdf5filename +.br +.SH DESCRIPTION +Convert a generic NetCDF file into a PyTables (HDF5 format) file +.SH OPTIONS +A summary of options is included below. +.TP +.B \-h +Prints a help text. +.TP +.B \-v +Show more information. +.TP +.B \-o +Overwrite destination file. +.TP +.BI \-\-complevel=(0-9) +Sets a compression level (0 for no compression, which is the default). +.TP +.BI \-\-complib=lib +Sets the compression library to be used during the copy. \fIlib\fR can +be set to "zlib", "lzo" or "ucl". Defaults to "zlib". +.TP +.BI \-\-shuffle=(0|1) +Activate or not the shuffling filter (default is active if complevel>0). +.TP +.BI \-\-fletcher32=(0|1) +Whether activate or not the fletcher32 filter (not active by default). +.TP +.BI \-\-unpackshort=(0|1) +Unpack short integer variables to float variables using scale_factor +and add_offset netCDF variable attributes (not active by default). +.TP +.BI \-\-quantize=(0|1) +Quantize data to improve compression using least_significant_digit +netCDF variable attribute (not active by default). See +.br +.nh +http://www.cdc.noaa.gov/cdc/conventions/cdc_netcdf_standard.shtml +.br +.hy +for further explanation of what this attribute means. + +.br + +.SH SEE ALSO +.BR ptdump (1), ptrepack (1). +.br +These utilities are documented fully by +.IR "PyTables user's manual". +.SH AUTHOR +This manual page was written by Francesc Altet . diff --git a/patches/0001-use-dynamic-lib.patch b/patches/0001-use-dynamic-lib.patch new file mode 100644 index 0000000..dcf9db1 --- /dev/null +++ b/patches/0001-use-dynamic-lib.patch @@ -0,0 +1,28 @@ +From: Antonio Valentino +Date: Fri, 23 Aug 2013 12:19:58 +0200 +Subject: use dynamic lib + +The setup script detects the static version of the lzo2 library instead of +the dynamic version (that is now located in a multi-arch path). +This causes a link error due to not relacable code (missing -fPIC flag +at compile time) + +Now the dynamic version of the lzo2 library is located in a multiarch path so +sthe setup script +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 8ca4675..953d8e1 100755 +--- a/setup.py ++++ b/setup.py +@@ -327,7 +327,7 @@ class BasePackage(object): + + class PosixPackage(BasePackage): + _library_prefixes = ['lib'] +- _library_suffixes = ['.so', '.dylib', '.a'] ++ _library_suffixes = ['.so', '.dylib'] # , '.a'] + _runtime_prefixes = _library_prefixes + _runtime_suffixes = ['.so', '.dylib'] + _component_dirs = ['include', 'lib', 'lib64'] diff --git a/patches/0002-Never-use-the-msse2-flag-explicitly.patch b/patches/0002-Never-use-the-msse2-flag-explicitly.patch new file mode 100644 index 0000000..4b305f8 --- /dev/null +++ b/patches/0002-Never-use-the-msse2-flag-explicitly.patch @@ -0,0 +1,32 @@ +From: Debian Science Maintainers + +Date: Sat, 25 Jul 2015 17:50:31 +0000 +Subject: Never-use-the-msse2-flag-explicitly + +=================================================================== +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 953d8e1..46974b8 100755 +--- a/setup.py ++++ b/setup.py +@@ -862,7 +862,7 @@ if 'BLOSC' not in optional_libs: + os.remove(fd.name) + + # SSE2 +- if 'sse2' in cpu_flags: ++ if False and 'sse2' in cpu_flags: + print('SSE2 detected') + CFLAGS.append('-DSHUFFLE_SSE2_ENABLED') + if os.name == 'nt': +@@ -876,7 +876,7 @@ if 'BLOSC' not in optional_libs: + if 'sse2' in f] + # AVX2 + # Detection code for AVX2 only works for gcc/clang, not for MSVC yet +- if ('avx2' in cpu_flags and ++ if (False and 'avx2' in cpu_flags and + compiler_has_flags(compiler, ["-mavx2"])): + print('AVX2 detected') + CFLAGS.append('-DSHUFFLE_AVX2_ENABLED') diff --git a/patches/0003-use-local-mathjax.patch b/patches/0003-use-local-mathjax.patch new file mode 100644 index 0000000..abdd9d3 --- /dev/null +++ b/patches/0003-use-local-mathjax.patch @@ -0,0 +1,19 @@ +From: Antonio Valentino +Date: Thu, 29 Jun 2017 05:31:26 +0000 +Subject: use local mathjax + +--- + doc/source/conf.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/doc/source/conf.py b/doc/source/conf.py +index c72e5ea..90c880d 100644 +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -262,3 +262,6 @@ extlinks = { + 'issue': ('https://github.com/PyTables/PyTables/issues/%s', 'gh-'), + 'irc': ('http://pytables.github.io/irc/%s.html', ''), + } ++ ++mathjax_path='file:///usr/share/javascript/mathjax/MathJax.js' ++ diff --git a/patches/0004-remove-gtags.patch b/patches/0004-remove-gtags.patch new file mode 100644 index 0000000..bb44ebf --- /dev/null +++ b/patches/0004-remove-gtags.patch @@ -0,0 +1,29 @@ +From: Antonio Valentino +Date: Sun, 22 Apr 2018 16:32:56 +0000 +Subject: remove gtags + +Remove Google Analytics script from the doc template layout to +avoid privacy-breach-generic. +--- + doc/source/_templates/layout.html | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/doc/source/_templates/layout.html b/doc/source/_templates/layout.html +index f47665b..03b028f 100644 +--- a/doc/source/_templates/layout.html ++++ b/doc/source/_templates/layout.html +@@ -2,14 +2,4 @@ + + {%- block extrahead %} + {{ super() }} +- +- +- +- + {% endblock %} diff --git a/patches/0005-Comaptibility-with-numpy-1.16.patch b/patches/0005-Comaptibility-with-numpy-1.16.patch new file mode 100644 index 0000000..61e634f --- /dev/null +++ b/patches/0005-Comaptibility-with-numpy-1.16.patch @@ -0,0 +1,71 @@ +From: Antonio Valentino +Date: Tue, 1 Jan 2019 08:46:46 +0000 +Subject: Comaptibility with numpy 1.16 + +* fix not writeable buffers +* better handling of exception types +--- + tables/hdf5extension.pyx | 7 +++++-- + tables/tests/test_array.py | 2 +- + tables/tests/test_lists.py | 4 ++-- + 3 files changed, 8 insertions(+), 5 deletions(-) + +diff --git a/tables/hdf5extension.pyx b/tables/hdf5extension.pyx +index 6dc32f4..e64d1a1 100644 +--- a/tables/hdf5extension.pyx ++++ b/tables/hdf5extension.pyx +@@ -111,6 +111,9 @@ from utilsextension cimport malloc_dims, get_native_type, cstr_to_pystr, load_re + + #------------------------------------------------------------------- + ++cdef extern from "Python.h": ++ ++ object PyByteArray_FromStringAndSize(char *s, Py_ssize_t len) + + # Functions from HDF5 ARRAY (this is not part of HDF5 HL; it's private) + cdef extern from "H5ARRAY.h" nogil: +@@ -2141,8 +2144,8 @@ cdef class VLArray(Leaf): + # Create a buffer to keep this info. It is important to do a + # copy, because we will dispose the buffer memory later on by + # calling the H5Dvlen_reclaim. PyBytes_FromStringAndSize does this. +- buf = PyBytes_FromStringAndSize(rdata[i].p, +- vllen*self._atomicsize) ++ buf = PyByteArray_FromStringAndSize(rdata[i].p, ++ vllen*self._atomicsize) + else: + # Case where there is info with zero lentgh + buf = None +diff --git a/tables/tests/test_array.py b/tables/tests/test_array.py +index b7d6a3f..563c766 100644 +--- a/tables/tests/test_array.py ++++ b/tables/tests/test_array.py +@@ -2005,7 +2005,7 @@ class NonHomogeneousTestCase(common.TempFileMixin, TestCase): + """Test for creation of non-homogeneous arrays.""" + + # This checks ticket #12. +- self.assertRaises(ValueError, ++ self.assertRaises((ValueError, TypeError), + self.h5file.create_array, '/', 'test', [1, [2, 3]]) + self.assertRaises(NoSuchNodeError, self.h5file.remove_node, '/test') + +diff --git a/tables/tests/test_lists.py b/tables/tests/test_lists.py +index 9cf83fe..9e79130 100644 +--- a/tables/tests/test_lists.py ++++ b/tables/tests/test_lists.py +@@ -144,14 +144,14 @@ class ExceptionTestCase(TestCase): + print('\n', '-=' * 30) + print("Running test for %s" % (self.title)) + a = self.charList +- with self.assertRaises(ValueError): ++ with self.assertRaises((ValueError, TypeError)): + WriteRead(self.h5fname, a) + + def test01_types(self): + """Non supported lists object (numerical types)""" + + a = self.numericalList +- with self.assertRaises(ValueError): ++ with self.assertRaises((ValueError, TypeError)): + WriteRead(self.h5fname, a) + + diff --git a/patches/0006-Fix-LZO2-detection.patch b/patches/0006-Fix-LZO2-detection.patch new file mode 100644 index 0000000..a7283e7 --- /dev/null +++ b/patches/0006-Fix-LZO2-detection.patch @@ -0,0 +1,25 @@ +From: Antonio Valentino +Date: Tue, 1 Jan 2019 18:20:33 +0000 +Subject: Fix LZO2 detection + +--- + setup.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 46974b8..e5fa420 100755 +--- a/setup.py ++++ b/setup.py +@@ -606,8 +606,11 @@ for (package, location) in [(hdf5_package, HDF5_DIR), + if not location and CONDA_PREFIX: + location = CONDA_PREFIX + ++ # looking for lzo/lzo1x.h but pkgconfig already returns '/usr/include/lzo' ++ use_pkgconfig = USE_PKGCONFIG if package.tag != 'LZO2' else False ++ + (hdrdir, libdir, rundir) = package.find_directories( +- location, use_pkgconfig=USE_PKGCONFIG) ++ location, use_pkgconfig=use_pkgconfig) + + # check if HDF5 library uses old DLL naming scheme + if hdrdir and package.tag == 'HDF5': diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..1c1a273 --- /dev/null +++ b/patches/series @@ -0,0 +1,6 @@ +0001-use-dynamic-lib.patch +0002-Never-use-the-msse2-flag-explicitly.patch +0003-use-local-mathjax.patch +0004-remove-gtags.patch +0005-Comaptibility-with-numpy-1.16.patch +0006-Fix-LZO2-detection.patch diff --git a/pt2to3.1 b/pt2to3.1 new file mode 100644 index 0000000..68c88e9 --- /dev/null +++ b/pt2to3.1 @@ -0,0 +1,55 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PT2TO3 1 "May 15, 2013" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +pt2to3 \- PyTables 2.x \-> 3.x API transition tool. +.SH SYNOPSIS +.B pt2to3 +[ OPTIONS ] +.RB filename +.br +.SH DESCRIPTION +This tool displays to standard out, so it is common to pipe this to another +file: $ pt2to3 oldfile.py > newfile.py. + +.SH OPTIONS +A summary of options is included below. +.TP +.B \-r, \--reverse +Reverts changes, going from 3.x \-> 2.x. +.TP +.B \-p, \--no-ignore-previous +Ignores previous_api() calls. +.TP +.B \-o OUTPUT +Output file to write to.. +.TP +.B \-i, \--inplace +Overwrites the file in-place. +.TP +.B \-h +Print help on usage. + +.br + +.SH SEE ALSO +.BR ptrepack (1), ptdump (1). +.br +These utilities are documented fully by +.IR "PyTables user's manual". +.SH AUTHOR +This manual page was written by Antonio Valentino . diff --git a/ptdump.1 b/ptdump.1 new file mode 100644 index 0000000..010aed0 --- /dev/null +++ b/ptdump.1 @@ -0,0 +1,63 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PTDUMP 1 "July 7, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ptdump \- Lets you dig into the contents of a \fIPyTables\fR file. +.SH SYNOPSIS +.B ptdump +.RB [\| \-dvacih \|] +.RB [\| \-R \| \ start,stop,step] +.RB file[:nodepath] +.br +.SH DESCRIPTION +Allows you look into the contents of your \fIPyTables\fR files. It lets +you see not only the data but also the metadata (that is, the structure +and additional information in the form of attributes). + +.SH OPTIONS +A summary of options is included below. +.TP +.B \-d +Dump data information on leaves. +.TP +.B \-v +Dump more metainformation on nodes. +.TP +.B \-a +Show attributes in nodes (only useful when \-v or \-d are active). +.TP +.B \-c +Show info of columns in tables (only useful when \-v or \-d are active). +.TP +.B \-i +Show info of indexed column (only useful when \-v or \-d are active). +.TP +.BI \-R\ start,stop,step +Select a range of rows in the form "start,stop,step" for \fIall\fR leaves. +.TP +.B \-h +Print help on usage. + +.br + +.SH SEE ALSO +.BR ptrepack (1). +.br +These utilities are documented fully by +.IR "PyTables user's manual". +.SH AUTHOR +This manual page was written by Francesc Altet . diff --git a/ptrepack.1 b/ptrepack.1 new file mode 100644 index 0000000..4eebf98 --- /dev/null +++ b/ptrepack.1 @@ -0,0 +1,107 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PTREPACK 1 "July 7, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ptrepack \- Copy any PyTables Leaf, Group or complete subtree into another file. +.SH SYNOPSIS +.B ptrepack +.RB \-h +.RB \-v +.RB \-o +.RB \-R +.IR start,stop,step +.RB \-\-non\-recursive +.RB \-\-dest-title=title +.RB \-\-dont\-copyuser\-attrs +.RB \-\-overwrite\-nodes +.RB \-\-complevel=(0\-9) +.RB \-\-complib=lib +.RB \-\-shuffle=(0|1) +.RB \-\-fletcher32=(0|1) +.RB \-\-keep\-source\-filters +.RB \-\-upgrade\-flavors +.RB \-\-dont\-regenerate\-old\-indexes +.RB sourcefile:sourcegroup +.RB destfile:destgroup +.br +.SH DESCRIPTION +Copy any Leaf, Group or complete subtree from a PyTables file into another file. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-h +Prints a help text. +.TP +.B \-v +Show more information. +.TP +.B \-o +Overwrite destination file. +.TP +.BI \-R\ RANGE +Select a RANGE of rows in the form \fIstart,stop,step\fR during the copy of +\fIall\fR the leaves. +.TP +.BI \-\-non\-recursive +Do not do a recursive copy. Default is to do it. +.TP +.BI \-\-dest\-title=title +Title for the new file (if not specified, the source is copied). +.TP +.BI \-\-dont\-copy\-userattrs +Do not copy the user attrs (default is to do it). +.TP +.BI \-\-overwrite\-nodes +Overwrite destination nodes if they exist. Default is not to overwrite +them. +.TP +.BI \-\-complevel=(0-9) +Set a compression level (0 for no compression, which is the default). +.TP +.BI \-\-complib=lib +Set the compression library to be used during the copy. \fIlib\fR can +be set to "zlib", "lzo", "ucl" or "bzip2". Defaults to "zlib". +.TP +.BI \-\-shuffle=(0|1) +Activate or not the shuffling filter (default is active if complevel>0). +.TP +.BI \-\-fletcher32=(0|1) +Whether to activate or not the fletcher32 filter (not active by default). +.TP +.BI \-\-keep\-source\-filters +Use the original filters in source files. The default is not doing that +if any of \-\-complevel, \-\-complib, \-\-shuffle or \-\-fletcher32 +option is specified. +.TP +.BI \-\-upgrade\-flavors +When repacking PyTables 1.x files, the flavor of leaves will be +unset. With this, such a leaves will be serialized as objects with the +internal flavor ("numpy" for 2.x series). +.TP +.BI \-\-dont\-regenerate\-old\-indexes +Disable regenerating old indexes. The default is to regenerate old +indexes as they are found. + +.br + +.SH SEE ALSO +.BR ptdump (1). +.br +These utilities are documented fully by +.IR "PyTables user's manual". +.SH AUTHOR +This manual page was written by Francesc Altet . diff --git a/pttree.1 b/pttree.1 new file mode 100644 index 0000000..04bdb6d --- /dev/null +++ b/pttree.1 @@ -0,0 +1,79 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH pttree 1 "May 15, 2013" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +pttree \- prints a quick overview of the contents of PyTables HDF5 files. +.SH SYNOPSIS +.B pttree +[ OPTIONS ] +.RB filename[:nodepath] +.br +.SH DESCRIPTION +.B pttree +is designed to give a quick overview of the contents of a PyTables +HDF5 file by printing a depth-indented list of nodes, similar to the output of +the Unix `tree` function. It can also display the size, shape and compression +states of individual nodes, as well as summary information for the whole file. +For a more verbose output (including metadata), see `ptdump`. + +.SH OPTIONS +A summary of options is included below. +.TP +.B \-L MAX_DEPTH, \--max-level MAX_DEPTH +maximum branch depth of tree to display (-1 == no limit) +.TP +.B \-S SORT_BY, \--sort-by SORT_BY +artificially order nodes, can be either "size", "name" or "none" +.TP +.B \--print-size +print size of each node/branch +.TP +.B \--no-print-size +.TP +.B \--print-shape +print shape of each node +.TP +.B \--no-print-shape +.TP +.B \--print-compression +print compression library(level) for each compressed node +.TP +.B \--no-print-compression +.TP +.B \--print-percent +print size of each node as a % of the total tree size on disk +.TP +.B \--no-print-percent +.TP +.B \--use-si-units +report sizes in SI units (1 MB == 10^6 B) +.TP +.B \--use-binary-units +report sizes in binary units (1 MiB == 2^20 B) +.TP +.B \-h +Print help on usage. + +.br + +.SH SEE ALSO +.BR ptdump (1). +.br +These utilities are documented fully by +.IR "PyTables user's manual". +.SH AUTHOR +This manual page was written by Antonio Valentino . diff --git a/python-tables-data.install b/python-tables-data.install new file mode 100644 index 0000000..670ac07 --- /dev/null +++ b/python-tables-data.install @@ -0,0 +1,5 @@ +usr/lib/python3*/dist-packages/tables/tests/*.h5 usr/share/python-tables/tests +usr/lib/python3*/dist-packages/tables/tests/*.mat usr/share/python-tables/tests +usr/lib/python3*/dist-packages/tables/nodes/tests/*.h5 usr/share/python-tables/nodes/tests +usr/lib/python3*/dist-packages/tables/nodes/tests/*.xbm usr/share/python-tables/nodes/tests +usr/lib/python3*/dist-packages/tables/nodes/tests/*.dat usr/share/python-tables/nodes/tests diff --git a/python-tables-dbg.install b/python-tables-dbg.install new file mode 100644 index 0000000..9e7e70d --- /dev/null +++ b/python-tables-dbg.install @@ -0,0 +1 @@ +usr/lib/python2*/dist-packages/tables/*_d.so diff --git a/python-tables-doc.doc-base b/python-tables-doc.doc-base new file mode 100644 index 0000000..a64a022 --- /dev/null +++ b/python-tables-doc.doc-base @@ -0,0 +1,17 @@ +Document: pytables +Title: Debian pytables Manual +Author: Francesc Alted, Ivan Vilata, Scott Prater, Vicent Mas, Tom Hedley, + Antonio Valentino, Jeffrey Whitaker, Anthony Scopatz, Andrea Bedini +Abstract: This document includes the PyTables user manual and the + reference guide for developers. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-tables-doc/html/index.html +Files: /usr/share/doc/python-tables-doc/html/*.html + +Format: text +Files: /usr/share/doc/python-tables-doc/html/_sources/*.txt + +Format: pdf +Files: /usr/share/doc/python-tables-doc/usersguide.pdf diff --git a/python-tables-doc.docs b/python-tables-doc.docs new file mode 100644 index 0000000..244f927 --- /dev/null +++ b/python-tables-doc.docs @@ -0,0 +1,5 @@ +ANNOUNCE.txt +README.rst +RELEASE_NOTES.txt +THANKS +VERSION diff --git a/python-tables-doc.examples b/python-tables-doc.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/python-tables-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/python-tables-doc.install b/python-tables-doc.install new file mode 100644 index 0000000..1c6b2f0 --- /dev/null +++ b/python-tables-doc.install @@ -0,0 +1,3 @@ +bench usr/share/doc/python-tables-doc +doc/html usr/share/doc/python-tables-doc +doc/usersguide.pdf usr/share/doc/python-tables-doc diff --git a/python-tables-doc.links b/python-tables-doc.links new file mode 100644 index 0000000..bb182ae --- /dev/null +++ b/python-tables-doc.links @@ -0,0 +1,8 @@ +usr/share/javascript/jquery-cookie/jquery.cookie.js usr/share/doc/python-tables-doc/html/_static/jquery.cookie.js +#usr/share/javascript/mathjax/MathJax.js usr/share/doc/python-tables-doc/html/_static/MathJax.js + +usr/share/doc/python-tables-doc/examples/simple_threading.py usr/share/doc/python-tables-doc/html/_downloads/simple_threading.py +usr/share/doc/python-tables-doc/examples/threading_monkeypatch.py usr/share/doc/python-tables-doc/html/_downloads/threading_monkeypatch.py + +usr/share/doc/python-tables-doc/html/_sources/release-notes/RELEASE_NOTES_v2.1.x-pro.rst.txt usr/share/doc/python-tables-doc/html/_sources/release-notes/RELEASE_NOTES_v2.1.x.rst.txt + diff --git a/python-tables-lib.install b/python-tables-lib.install new file mode 100644 index 0000000..55d0fba --- /dev/null +++ b/python-tables-lib.install @@ -0,0 +1 @@ +usr/lib/python2*/dist-packages/tables/*[!_]?.so diff --git a/python-tables.install b/python-tables.install new file mode 100644 index 0000000..396b206 --- /dev/null +++ b/python-tables.install @@ -0,0 +1,7 @@ +usr/lib/python2*/dist-packages/tables/*.py +usr/lib/python2*/dist-packages/tables/misc/*.py +usr/lib/python2*/dist-packages/tables/nodes/*.py +usr/lib/python2*/dist-packages/tables/nodes/tests/*.py +usr/lib/python2*/dist-packages/tables/scripts/*.py +usr/lib/python2*/dist-packages/tables/tests/*.py +usr/lib/python2*/dist-packages/tables*.egg-info diff --git a/python-tables.links b/python-tables.links new file mode 100644 index 0000000..8805969 --- /dev/null +++ b/python-tables.links @@ -0,0 +1,49 @@ +usr/share/python-tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 usr/lib/python2.7/dist-packages/tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 +usr/share/python-tables/tests/Tables_lzo1.h5 usr/lib/python2.7/dist-packages/tables/tests/Tables_lzo1.h5 +usr/share/python-tables/tests/Tables_lzo1_shuffle.h5 usr/lib/python2.7/dist-packages/tables/tests/Tables_lzo1_shuffle.h5 +usr/share/python-tables/tests/Tables_lzo2.h5 usr/lib/python2.7/dist-packages/tables/tests/Tables_lzo2.h5 +usr/share/python-tables/tests/Tables_lzo2_shuffle.h5 usr/lib/python2.7/dist-packages/tables/tests/Tables_lzo2_shuffle.h5 +usr/share/python-tables/tests/array_mdatom.h5 usr/lib/python2.7/dist-packages/tables/tests/array_mdatom.h5 +usr/share/python-tables/tests/attr-u16.h5 usr/lib/python2.7/dist-packages/tables/tests/attr-u16.h5 +usr/share/python-tables/tests/blosc_bigendian.h5 usr/lib/python2.7/dist-packages/tables/tests/blosc_bigendian.h5 +usr/share/python-tables/tests/bug-idx.h5 usr/lib/python2.7/dist-packages/tables/tests/bug-idx.h5 +usr/share/python-tables/tests/elink.h5 usr/lib/python2.7/dist-packages/tables/tests/elink.h5 +usr/share/python-tables/tests/elink2.h5 usr/lib/python2.7/dist-packages/tables/tests/elink2.h5 +usr/share/python-tables/tests/ex-noattr.h5 usr/lib/python2.7/dist-packages/tables/tests/ex-noattr.h5 +usr/share/python-tables/tests/flavored_vlarrays-format1.6.h5 usr/lib/python2.7/dist-packages/tables/tests/flavored_vlarrays-format1.6.h5 +usr/share/python-tables/tests/float.h5 usr/lib/python2.7/dist-packages/tables/tests/float.h5 +usr/share/python-tables/tests/idx-std-1.x.h5 usr/lib/python2.7/dist-packages/tables/tests/idx-std-1.x.h5 +usr/share/python-tables/tests/indexes_2_0.h5 usr/lib/python2.7/dist-packages/tables/tests/indexes_2_0.h5 +usr/share/python-tables/tests/indexes_2_1.h5 usr/lib/python2.7/dist-packages/tables/tests/indexes_2_1.h5 +usr/share/python-tables/tests/issue_368.h5 usr/lib/python2.7/dist-packages/tables/tests/issue_368.h5 +usr/share/python-tables/tests/issue_560.h5 usr/lib/python2.7/dist-packages/tables/tests/issue_560.h5 +usr/share/python-tables/tests/nested-type-with-gaps.h5 usr/lib/python2.7/dist-packages/tables/tests/nested-type-with-gaps.h5 +usr/share/python-tables/tests/non-chunked-table.h5 usr/lib/python2.7/dist-packages/tables/tests/non-chunked-table.h5 +usr/share/python-tables/tests/oldflavor_numeric.h5 usr/lib/python2.7/dist-packages/tables/tests/oldflavor_numeric.h5 +usr/share/python-tables/tests/python2.h5 usr/lib/python2.7/dist-packages/tables/tests/python2.h5 +usr/share/python-tables/tests/python3.h5 usr/lib/python2.7/dist-packages/tables/tests/python3.h5 +usr/share/python-tables/tests/scalar.h5 usr/lib/python2.7/dist-packages/tables/tests/scalar.h5 +usr/share/python-tables/tests/slink.h5 usr/lib/python2.7/dist-packages/tables/tests/slink.h5 +usr/share/python-tables/tests/smpl_SDSextendible.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_SDSextendible.h5 +usr/share/python-tables/tests/smpl_compound_chunked.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_compound_chunked.h5 +usr/share/python-tables/tests/smpl_enum.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_enum.h5 +usr/share/python-tables/tests/smpl_f64be.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_f64be.h5 +usr/share/python-tables/tests/smpl_f64le.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_f64le.h5 +usr/share/python-tables/tests/smpl_i32be.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_i32be.h5 +usr/share/python-tables/tests/smpl_i32le.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_i32le.h5 +usr/share/python-tables/tests/smpl_i64be.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_i64be.h5 +usr/share/python-tables/tests/smpl_i64le.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_i64le.h5 +usr/share/python-tables/tests/smpl_unsupptype.h5 usr/lib/python2.7/dist-packages/tables/tests/smpl_unsupptype.h5 +usr/share/python-tables/tests/test_szip.h5 usr/lib/python2.7/dist-packages/tables/tests/test_szip.h5 +usr/share/python-tables/tests/time-table-vlarray-1_x.h5 usr/lib/python2.7/dist-packages/tables/tests/time-table-vlarray-1_x.h5 +usr/share/python-tables/tests/times-nested-be.h5 usr/lib/python2.7/dist-packages/tables/tests/times-nested-be.h5 +usr/share/python-tables/tests/vlstr_attr.h5 usr/lib/python2.7/dist-packages/tables/tests/vlstr_attr.h5 +usr/share/python-tables/tests/vlunicode_endian.h5 usr/lib/python2.7/dist-packages/tables/tests/vlunicode_endian.h5 +usr/share/python-tables/tests/zerodim-attrs-1.3.h5 usr/lib/python2.7/dist-packages/tables/tests/zerodim-attrs-1.3.h5 +usr/share/python-tables/tests/zerodim-attrs-1.4.h5 usr/lib/python2.7/dist-packages/tables/tests/zerodim-attrs-1.4.h5 +usr/share/python-tables/tests/matlab_file.mat usr/lib/python2.7/dist-packages/tables/tests/matlab_file.mat +usr/share/python-tables/tests/test_ref_array1.mat usr/lib/python2.7/dist-packages/tables/tests/test_ref_array1.mat +usr/share/python-tables/tests/test_ref_array2.mat usr/lib/python2.7/dist-packages/tables/tests/test_ref_array2.mat +usr/share/python-tables/nodes/tests/test_filenode_v1.h5 usr/lib/python2.7/dist-packages/tables/nodes/tests/test_filenode_v1.h5 +usr/share/python-tables/nodes/tests/test_filenode.xbm usr/lib/python2.7/dist-packages/tables/nodes/tests/test_filenode.xbm +usr/share/python-tables/nodes/tests/test_filenode.dat usr/lib/python2.7/dist-packages/tables/nodes/tests/test_filenode.dat diff --git a/python3-tables-dbg.install b/python3-tables-dbg.install new file mode 100644 index 0000000..b92802b --- /dev/null +++ b/python3-tables-dbg.install @@ -0,0 +1 @@ +usr/lib/python3*/*-packages/tables/*.cpython-3?dm*.so diff --git a/python3-tables-lib.install b/python3-tables-lib.install new file mode 100644 index 0000000..cc61a75 --- /dev/null +++ b/python3-tables-lib.install @@ -0,0 +1 @@ +usr/lib/python3*/*-packages/tables/*.cpython-3?m*.so diff --git a/python3-tables.install b/python3-tables.install new file mode 100644 index 0000000..1e4f0dc --- /dev/null +++ b/python3-tables.install @@ -0,0 +1,8 @@ +usr/lib/python3*/dist-packages/tables/*.py +usr/lib/python3*/dist-packages/tables/misc/*.py +usr/lib/python3*/dist-packages/tables/nodes/*.py +usr/lib/python3*/dist-packages/tables/nodes/tests/*.py +usr/lib/python3*/dist-packages/tables/scripts/*.py +usr/lib/python3*/dist-packages/tables/tests/*.py +usr/lib/python3*/dist-packages/tables*.egg-info +usr/bin/* diff --git a/python3-tables.links b/python3-tables.links new file mode 100644 index 0000000..4816c22 --- /dev/null +++ b/python3-tables.links @@ -0,0 +1,49 @@ +usr/share/python-tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 usr/lib/python3/dist-packages/tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 +usr/share/python-tables/tests/Tables_lzo1.h5 usr/lib/python3/dist-packages/tables/tests/Tables_lzo1.h5 +usr/share/python-tables/tests/Tables_lzo1_shuffle.h5 usr/lib/python3/dist-packages/tables/tests/Tables_lzo1_shuffle.h5 +usr/share/python-tables/tests/Tables_lzo2.h5 usr/lib/python3/dist-packages/tables/tests/Tables_lzo2.h5 +usr/share/python-tables/tests/Tables_lzo2_shuffle.h5 usr/lib/python3/dist-packages/tables/tests/Tables_lzo2_shuffle.h5 +usr/share/python-tables/tests/array_mdatom.h5 usr/lib/python3/dist-packages/tables/tests/array_mdatom.h5 +usr/share/python-tables/tests/attr-u16.h5 usr/lib/python3/dist-packages/tables/tests/attr-u16.h5 +usr/share/python-tables/tests/blosc_bigendian.h5 usr/lib/python3/dist-packages/tables/tests/blosc_bigendian.h5 +usr/share/python-tables/tests/bug-idx.h5 usr/lib/python3/dist-packages/tables/tests/bug-idx.h5 +usr/share/python-tables/tests/elink.h5 usr/lib/python3/dist-packages/tables/tests/elink.h5 +usr/share/python-tables/tests/elink2.h5 usr/lib/python3/dist-packages/tables/tests/elink2.h5 +usr/share/python-tables/tests/ex-noattr.h5 usr/lib/python3/dist-packages/tables/tests/ex-noattr.h5 +usr/share/python-tables/tests/flavored_vlarrays-format1.6.h5 usr/lib/python3/dist-packages/tables/tests/flavored_vlarrays-format1.6.h5 +usr/share/python-tables/tests/float.h5 usr/lib/python3/dist-packages/tables/tests/float.h5 +usr/share/python-tables/tests/idx-std-1.x.h5 usr/lib/python3/dist-packages/tables/tests/idx-std-1.x.h5 +usr/share/python-tables/tests/indexes_2_0.h5 usr/lib/python3/dist-packages/tables/tests/indexes_2_0.h5 +usr/share/python-tables/tests/indexes_2_1.h5 usr/lib/python3/dist-packages/tables/tests/indexes_2_1.h5 +usr/share/python-tables/tests/issue_368.h5 usr/lib/python3/dist-packages/tables/tests/issue_368.h5 +usr/share/python-tables/tests/issue_560.h5 usr/lib/python3/dist-packages/tables/tests/issue_560.h5 +usr/share/python-tables/tests/nested-type-with-gaps.h5 usr/lib/python3/dist-packages/tables/tests/nested-type-with-gaps.h5 +usr/share/python-tables/tests/non-chunked-table.h5 usr/lib/python3/dist-packages/tables/tests/non-chunked-table.h5 +usr/share/python-tables/tests/oldflavor_numeric.h5 usr/lib/python3/dist-packages/tables/tests/oldflavor_numeric.h5 +usr/share/python-tables/tests/python2.h5 usr/lib/python3/dist-packages/tables/tests/python2.h5 +usr/share/python-tables/tests/python3.h5 usr/lib/python3/dist-packages/tables/tests/python3.h5 +usr/share/python-tables/tests/scalar.h5 usr/lib/python3/dist-packages/tables/tests/scalar.h5 +usr/share/python-tables/tests/slink.h5 usr/lib/python3/dist-packages/tables/tests/slink.h5 +usr/share/python-tables/tests/smpl_SDSextendible.h5 usr/lib/python3/dist-packages/tables/tests/smpl_SDSextendible.h5 +usr/share/python-tables/tests/smpl_compound_chunked.h5 usr/lib/python3/dist-packages/tables/tests/smpl_compound_chunked.h5 +usr/share/python-tables/tests/smpl_enum.h5 usr/lib/python3/dist-packages/tables/tests/smpl_enum.h5 +usr/share/python-tables/tests/smpl_f64be.h5 usr/lib/python3/dist-packages/tables/tests/smpl_f64be.h5 +usr/share/python-tables/tests/smpl_f64le.h5 usr/lib/python3/dist-packages/tables/tests/smpl_f64le.h5 +usr/share/python-tables/tests/smpl_i32be.h5 usr/lib/python3/dist-packages/tables/tests/smpl_i32be.h5 +usr/share/python-tables/tests/smpl_i32le.h5 usr/lib/python3/dist-packages/tables/tests/smpl_i32le.h5 +usr/share/python-tables/tests/smpl_i64be.h5 usr/lib/python3/dist-packages/tables/tests/smpl_i64be.h5 +usr/share/python-tables/tests/smpl_i64le.h5 usr/lib/python3/dist-packages/tables/tests/smpl_i64le.h5 +usr/share/python-tables/tests/smpl_unsupptype.h5 usr/lib/python3/dist-packages/tables/tests/smpl_unsupptype.h5 +usr/share/python-tables/tests/test_szip.h5 usr/lib/python3/dist-packages/tables/tests/test_szip.h5 +usr/share/python-tables/tests/time-table-vlarray-1_x.h5 usr/lib/python3/dist-packages/tables/tests/time-table-vlarray-1_x.h5 +usr/share/python-tables/tests/times-nested-be.h5 usr/lib/python3/dist-packages/tables/tests/times-nested-be.h5 +usr/share/python-tables/tests/vlstr_attr.h5 usr/lib/python3/dist-packages/tables/tests/vlstr_attr.h5 +usr/share/python-tables/tests/vlunicode_endian.h5 usr/lib/python3/dist-packages/tables/tests/vlunicode_endian.h5 +usr/share/python-tables/tests/zerodim-attrs-1.3.h5 usr/lib/python3/dist-packages/tables/tests/zerodim-attrs-1.3.h5 +usr/share/python-tables/tests/zerodim-attrs-1.4.h5 usr/lib/python3/dist-packages/tables/tests/zerodim-attrs-1.4.h5 +usr/share/python-tables/tests/matlab_file.mat usr/lib/python3/dist-packages/tables/tests/matlab_file.mat +usr/share/python-tables/tests/test_ref_array1.mat usr/lib/python3/dist-packages/tables/tests/test_ref_array1.mat +usr/share/python-tables/tests/test_ref_array2.mat usr/lib/python3/dist-packages/tables/tests/test_ref_array2.mat +usr/share/python-tables/nodes/tests/test_filenode_v1.h5 usr/lib/python3/dist-packages/tables/nodes/tests/test_filenode_v1.h5 +usr/share/python-tables/nodes/tests/test_filenode.xbm usr/lib/python3/dist-packages/tables/nodes/tests/test_filenode.xbm +usr/share/python-tables/nodes/tests/test_filenode.dat usr/lib/python3/dist-packages/tables/nodes/tests/test_filenode.dat diff --git a/python3-tables.lintian-overrides b/python3-tables.lintian-overrides new file mode 100644 index 0000000..11fd47b --- /dev/null +++ b/python3-tables.lintian-overrides @@ -0,0 +1,7 @@ +# scripts for entry points of support tools +python3-tables: application-in-library-section python usr/bin/pt2to3 usr/bin/ptdump usr/bin/ptrepack usr/bin/pttree +python3-tables: library-package-name-for-application usr/bin/pt2to3 usr/bin/ptdump usr/bin/ptrepack usr/bin/pttree + +# the python-tables-data package only contains common data +python3-tables: python-package-depends-on-package-from-other-python-variant Depends: python-tables-data + diff --git a/python3-tables.manpages b/python3-tables.manpages new file mode 100644 index 0000000..06b15b1 --- /dev/null +++ b/python3-tables.manpages @@ -0,0 +1,5 @@ +debian/nctoh5.1 +debian/ptdump.1 +debian/ptrepack.1 +debian/pt2to3.1 +debian/pttree.1 diff --git a/rules b/rules new file mode 100755 index 0000000..afe38e4 --- /dev/null +++ b/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie + +include /usr/share/dpkg/pkg-info.mk +BUILD_DATE="$(shell date --utc --date="${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)" +SPHINXOPTS := -D today=\"$(BUILD_DATE)\" +SPHINXOPTS += -D html_last_updated_fmt=\"$(BUILD_DATE)\" + +ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),) + export HDF5_DIR := /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial +endif + +export PYBUILD_INSTALL_ARGS_python3-dbg=--install-scripts=/usr/bin-dbg/ + + +%: + dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + + +override_dh_auto_build: export http_proxy=127.0.0.1:9 +override_dh_auto_build: export https_proxy=127.0.0.1:9 +override_dh_auto_build: + $(MAKE) ANNOUNCE.txt + $(MAKE) -C src all + dh_auto_build --buildsystem=pybuild +ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) + cd $(shell ls -1d $(CURDIR)/.pybuild/cpython3_3.?/build | tail -n 1) && \ + env PYTHONPATH=. python3 -m sphinx -M html $(CURDIR)/doc/source $(CURDIR)/doc/build -N $(SPHINXOPTS) + cd $(shell ls -1d $(CURDIR)/.pybuild/cpython3_3.?/build | tail -n 1) && \ + env PYTHONPATH=. python3 -m sphinx -M latexpdf $(CURDIR)/doc/source $(CURDIR)/doc/build -N $(SPHINXOPTS) + mv doc/build/html doc/html + mv doc/build/latex/usersguide-*.pdf doc/usersguide.pdf +else + mkdir -p doc/html + touch doc/usersguide.pdf +endif + + +override_dh_python2: + dh_python2 + dh_numpy + + +override_dh_python3: + dh_python3 + dh_numpy3 + + +override_dh_strip: + dh_strip -ppython-tables-lib --dbg-package=python-tables-dbg + dh_strip -ppython3-tables-lib --dbg-package=python3-tables-dbg + + +override_dh_auto_clean: + # Avoid unnecessary cythonization (see + # https://github.com/PyTables/PyTables/issues/122) + #dh_auto_clean --buildsystem=pybuild + $(MAKE) distclean + $(RM) -r doc/*.pdf tables.egg-info tmp-locales + + +override_dh_installchangelogs: + dh_installchangelogs -k RELEASE_NOTES.txt + + +override_dh_compress: + dh_compress -X.txt -X.pdf -X.py -X.h5 diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..82ceef3 --- /dev/null +++ b/tests/control @@ -0,0 +1,13 @@ +Tests: python2, + python2-dbg, + python3, + python3-dbg +Depends: python-tables, + python-all, + python-tables-dbg, + python-all-dbg, + python3-tables, + python3-all, + python3-tables-dbg, + python3-all-dbg + diff --git a/tests/python2 b/tests/python2 new file mode 100755 index 0000000..42f6674 --- /dev/null +++ b/tests/python2 @@ -0,0 +1,12 @@ +#!/bin/sh +set -efu + +PYS=${PYS:-"$(pyversions -r 2>/dev/null)"} +TESTPKG=${TESTPKG:-tables} + +cd "$ADTTMP" + +for py in $PYS; do + echo "=== $py ===" + $py -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1 +done diff --git a/tests/python2-dbg b/tests/python2-dbg new file mode 100644 index 0000000..4876804 --- /dev/null +++ b/tests/python2-dbg @@ -0,0 +1,13 @@ +#!/bin/sh +set -efu + +PYS=${PYS:-"$(pyversions -r 2>/dev/null)"} +TESTPKG=${TESTPKG:-tables} + +cd "$ADTTMP" + +for py in $PYS; do + echo "=== $py ===" + $py-dbg -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1 +done + diff --git a/tests/python3 b/tests/python3 new file mode 100755 index 0000000..10531d3 --- /dev/null +++ b/tests/python3 @@ -0,0 +1,12 @@ +#!/bin/sh +set -efu + +PYS=${PYS:-"$(py3versions -r 2>/dev/null)"} +TESTPKG=${TESTPKG:-tables} + +cd "$ADTTMP" + +for py in $PYS; do + echo "=== $py ===" + $py -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1 +done diff --git a/tests/python3-dbg b/tests/python3-dbg new file mode 100644 index 0000000..8ca9c4b --- /dev/null +++ b/tests/python3-dbg @@ -0,0 +1,13 @@ +#!/bin/sh +set -efu + +PYS=${PYS:-"$(py3versions -r 2>/dev/null)"} +TESTPKG=${TESTPKG:-tables} + +cd "$ADTTMP" + +for py in $PYS; do + echo "=== $py ===" + $py-dbg -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1 +done + diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..b72e59f --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,6 @@ +--- +Bug-Database: https://github.com/PyTables/PyTables/issues +Bug-Submit: https://github.com/PyTables/PyTables/issues/new +Name: PyTables +Repository: https://github.com/PyTables/PyTables.git +Repository-Browse: https://github.com/PyTables/PyTables diff --git a/watch b/watch new file mode 100644 index 0000000..5ef356a --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v\.?(\d\S*)\.tar\.gz/PyTables-$1\.tar\.gz/ \ + https://github.com/PyTables/PyTables/tags .*/v\.?(\d\S*)\.tar\.gz -- 2.30.2