[numba] 08/20: build Python 2 package

Daniel Stender stender at moszumanska.debian.org
Fri Dec 23 15:33:29 UTC 2016


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

stender pushed a commit to branch master
in repository numba.

commit 0daae09b80ead3e3c0bd00c00458ab16c57e6035
Author: Daniel Stender <stender at debian.org>
Date:   Fri Dec 23 09:49:33 2016 +0100

    build Python 2 package
---
 debian/changelog |  3 ++-
 debian/control   | 31 ++++++++++++++++++++++++++++++-
 debian/rules     |  2 +-
 3 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7f729ca..29d8fc0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ numba (0.29.0-1) UNRELEASED; urgency=medium
 
   * New upstream release:
     + unfuzz sphinx-rtd-theme.patch.
+  * Build Python 2 package.
   * deb/control:
     + bumped standards to 3.9.8 (no changes needed).
     + added missing llvmlite to binary package deps.
@@ -10,7 +11,7 @@ numba (0.29.0-1) UNRELEASED; urgency=medium
   * let deb/clean handle egg-info/ (added), not deb/source/options
     (dropped).
 
- -- Daniel Stender <stender at debian.org>  Thu, 22 Dec 2016 19:14:13 +0100
+ -- Daniel Stender <stender at debian.org>  Fri, 23 Dec 2016 09:48:41 +0100
 
 numba (0.23.1-1) experimental; urgency=medium
 
diff --git a/debian/control b/debian/control
index 0a6412a..7c63cb2 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,15 @@ Uploaders: Daniel Stender <stender at debian.org>
 Build-Depends:
  debhelper (>= 9),
  dh-python,
+ python-all-dev,
  python3-all-dev,
+ python-llvmlite,
  python3-llvmlite,
+ python-numpy,
  python3-numpy,
  python3-sphinx,
  python3-sphinx-rtd-theme,
+ python-pytest,
  python3-pytest
 Standards-Version: 3.9.8
 Homepage: http://numba.pydata.org/
@@ -18,6 +22,30 @@ Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/numba.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/numba.git
 X-Python3-Version: >= 3.4
 
+Package: python-numba
+Architecture: any
+Section: python
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ python-llvmlite
+Recommends:
+ numba-doc
+Suggests:
+ nvidia-cuda-toolkit
+Description: native machine code compiler for Python (Python 2)
+ Numba compiles native machine code instructions from Python programs at
+ runtime using the LLVM compiler infrastructure. It could be easily employed
+ by decorating individual computation intensive functions in the Python code.
+ Numba could significantly speed up the performance of computations, and
+ optionally supports compilation to run on GPU processors through Nvidia's
+ CUDA platform.
+ It integrates well with the Python scientific software stack, and
+ especially recognizes Numpy arrays.
+ .
+ This package contains the modules for Python 2.
+
 Package: python3-numba
 Architecture: any
 Section: python
@@ -30,7 +58,7 @@ Recommends:
  numba-doc
 Suggests:
  nvidia-cuda-toolkit
-Description: native machine code compiler for Python
+Description: native machine code compiler for Python (Python 3)
  Numba compiles native machine code instructions from Python programs at
  runtime using the LLVM compiler infrastructure. It could be easily employed
  by decorating individual computation intensive functions in the Python code.
@@ -49,6 +77,7 @@ Depends:
  ${sphinxdoc:Depends},
  ${misc:Depends}
 Recommends:
+ python-numba,
  python3-numba
 Description: native machine code compiler for Python (docs)
  Numba compiles native machine code instructions from Python programs at
diff --git a/debian/rules b/debian/rules
index 9521e2a..698ae05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 export PYBUILD_NAME=numba
 
 %:
-	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m pytest {build_dir}/numba/tests -v -rs" dh_auto_test || true # temporarily failsafed

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



More information about the debian-science-commits mailing list