[pytables] 02/04: Move binary extensions to new -lib packages

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sat Jan 18 22:17:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

a_valentino-guest pushed a commit to branch master
in repository pytables.

commit 141dc5cede149eaa097348af283cb6df0c089958
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Jan 18 11:32:07 2014 +0000

    Move binary extensions to new -lib packages
---
 debian/changelog |  8 +++++--
 debian/control   | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
 debian/rules     | 14 +++++++++----
 3 files changed, 75 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5045ca4..12338a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
 pytables (3.0.0-3) UNRELEASED; urgency=medium
 
-  * Standard version bumped to 3.9.5 (no changes) 
+  * 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).
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 18 Jan 2014 10:56:27 +0000
 
@@ -28,7 +32,7 @@ pytables (3.0.0-1) experimental; urgency=low
     - 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 
+    See also https://code.google.com/p/numexpr/issues/detail?id=109#c5
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 07 Sep 2013 17:24:24 +0000
 
diff --git a/debian/control b/debian/control
index b480dfe..1f1a329 100644
--- a/debian/control
+++ b/debian/control
@@ -24,8 +24,10 @@ Build-Depends: debhelper (>= 9.0.0), libhdf5-dev,
                libjs-jquery-cookie
 
 Package: python-tables
-Architecture: any
+Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends},
+         python-tables-lib (>= ${source:Version}),
+         python-tables-lib (<< ${source:Version}.1~),
          python-numexpr (>=2.1)
 Recommends: ${shlibs:Recommends}
 Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}, vitables
@@ -48,12 +50,37 @@ Description: hierarchical database for Python based on HDF5
  .
  This is the Python 2 version of the package.
 
+Package: python-tables-lib
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Recommends: ${shlibs:Recommends}, python-tables (= ${source:Version})
+Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}, vitables
+Description: hierarchical database for Python based on HDF5 (extension)
+ PyTables is a hierarchical database package designed to efficiently
+ manage very large amounts of data. PyTables is built on top of the
+ HDF5 library and the NumPy package. It features an object-oriented
+ interface that, combined with natural naming and C-code generated
+ from Pyrex sources, makes it a fast, yet extremely easy to use tool
+ for interactively save and retrieve large amounts of data.
+ .
+  - 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, Numeric and numarray objects.
+ .
+ This package contains the extension built for the Python 2 interpreter.
+
 Package: python-tables-dbg
 Section: debug
 Priority: extra
 Architecture: any
 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends},
-         python-tables (= ${binary:Version})
+         python-tables (= ${source:Version}),
+         python-tables-lib (= ${binary:Version})
 Recommends: ${shlibs:Recommends}, python-dbg, python-numpy-dbg,
             python-numexpr-dbg
 Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}
@@ -74,11 +101,13 @@ Description: hierarchical database for Python based on HDF5 (debug extension)
     rows in tables. Extended slicing is supported as well.
   - It supports the complete set of NumPy, Numeric and numarray objects.
  .
- This package contains the extension built for the Python debug interpreter.
+ This package contains the extension built for the Python 2 debug interpreter.
 
 Package: python3-tables
-Architecture: any
+Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends},
+         python3-tables-lib (>= ${source:Version}),
+         python3-tables-lib (<< ${source:Version}.1~),
          python3-numexpr
 Recommends: ${shlibs:Recommends}
 Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}, vitables
@@ -101,12 +130,37 @@ Description: hierarchical database for Python3 based on HDF5
  .
  This is the Python 3 version of the package.
 
+Package: python3-tables-lib
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Recommends: ${shlibs:Recommends}, python3-tables (= ${source:Version})
+Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}, vitables
+Description: hierarchical database for Python3 based on HDF5 (extension)
+ PyTables is a hierarchical database package designed to efficiently
+ manage very large amounts of data. PyTables is built on top of the
+ HDF5 library and the NumPy package. It features an object-oriented
+ interface that, combined with natural naming and C-code generated
+ from Pyrex sources, makes it a fast, yet extremely easy to use tool
+ for interactively save and retrieve large amounts of data.
+ .
+  - 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, Numeric and numarray objects.
+ .
+ This package contains the extension built for the Python 3 interpreter.
+
 Package: python3-tables-dbg
 Section: debug
 Priority: extra
 Architecture: any
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends},
-         python3-tables (= ${binary:Version})
+         python3-tables (= ${source:Version}),
+         python3-tables-lib (= ${binary:Version})
 Recommends: ${shlibs:Recommends}, python3-dbg, python3-numpy-dbg,
             python3-numexpr-dbg
 Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}
diff --git a/debian/rules b/debian/rules
index 13860c9..390abf5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,11 +47,17 @@ override_dh_auto_install: $(PY3VERS:%=install-python%)
 
 
 override_dh_install:
-	# Install everything excluding the *_d.so debug extensions to python-tables
-	dh_install -X"*_d.so" "debian/tmp/usr/lib/python2*" -p python-tables
-	dh_install -X"*dmu.so" -X"*dm.so" "debian/tmp/usr/lib/python3*" -p python3-tables
+	# Install everything excluding the *.so extensions to python(3)-tables
+	dh_install -X"*.so" "debian/tmp/usr/lib/python2*" -p python-tables
+	dh_install -X"*.so" "debian/tmp/usr/lib/python3*" -p python3-tables
 
-	# Install the debug extensions to python-tables-dbg
+	# Install the extensions to python(3)-tables-lib
+	dh_install -X"*_d.so" "debian/tmp/usr/lib/python2*/*-packages/tables/*.so" -p python-tables-lib
+	find debian/python-tables-lib -name '*_d.so' | xargs -r rm -f
+	dh_install -X"*dmu.so" -X"*dm.so" "debian/tmp/usr/lib/python3*/*-packages/tables/*.so" -p python3-tables-lib
+	find debian/python3-tables-lib -name '*.cpython-??dm-*.so' | xargs -r rm -f
+
+	# Install the debug extensions to python(3)-tables-dbg
 	dh_install "debian/tmp/usr/lib/python2*/*-packages/tables/*_d.so" -p python-tables-dbg
 	dh_install "debian/tmp/usr/lib/python3*/*-packages/tables/*.cpython-??dm*.so" -p python3-tables-dbg
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytables.git



More information about the debian-science-commits mailing list