[bcolz] 13/17: build python2 package

Daniel Stender stender at moszumanska.debian.org
Sun Sep 4 16:33:20 UTC 2016


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

stender pushed a commit to branch master
in repository bcolz.

commit d8220384eb020b1e2c6e8eb08e72c2dde91ad625
Author: Daniel Stender <stender at debian.org>
Date:   Sun Sep 4 18:02:01 2016 +0200

    build python2 package
---
 debian/control | 31 +++++++++++++++++++++++++++++++
 debian/rules   |  3 ++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 3d1ba2b..e44b13e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,17 @@ Uploaders: Daniel Stender <stender at debian.org>
 Build-Depends:
  debhelper (>= 9),
  dh-python,
+ python-all-dev,
  python3-all-dev,
+ python-setuptools,
  python3-setuptools,
+ python-setuptools-scm,
  python3-setuptools-scm,
+ cython (>= 0.22),
  cython3 (>= 0.22),
+ python-numpy (>= 1.8),
  python3-numpy (>= 1.8),
+ python-mock,
  python3-mock,
  libblosc-dev (>= 1.9.2),
  python-docutils,
@@ -21,8 +27,32 @@ Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/bcolz.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/bcolz.git
 Homepage: https://github.com/Blosc/bcolz
+X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.3
 
+Package: python-bcolz
+Architecture: any
+Section: python
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Recommends:
+ python-numexpr
+Suggests:
+ python-pandas,
+ python-tables,
+ bcolz-doc
+Description: high performant compressed data container (Python 2)
+ bcolz provides columnar, chunked data containers that can be compressed
+ in-memory and on-disk. Column storage allows for efficiently querying
+ tables, as well as for cheap column addition and removal. It is based on
+ NumPy, and uses it as the standard data container to communicate with
+ bcolz objects, but it also comes with support for import/export facilities
+ to/from HDF5/PyTables tables and Pandas dataframes.
+ .
+ This package contains the modules for Python 2.
+
 Package: python3-bcolz
 Architecture: any
 Section: python
@@ -53,6 +83,7 @@ Depends:
  ${misc:Depends},
  ${sphinxdoc:Depends}
 Recommends:
+ python-bcolz,
  python3-bcolz
 Description: high performant compressed data container (documentation)
  bcolz provides columnar, chunked data containers that can be compressed
diff --git a/debian/rules b/debian/rules
index 6d927be..4c0f9cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
 export BLOSC_DIR=/usr
 
 %:
-	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_install:
 	dh_auto_install
@@ -26,5 +26,6 @@ override_dh_compress:
 	dh_compress -X.ipynb
 
 override_dh_gencontrol:
+	dh_numpy2
 	dh_numpy3
 	dh_gencontrol

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



More information about the debian-science-commits mailing list