[python-cylp] 01/01: Try Python3 packaging

Afif Elghraoui afif-guest at moszumanska.debian.org
Mon Sep 21 00:46:41 UTC 2015


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

afif-guest pushed a commit to branch topic/python3-packaging
in repository python-cylp.

commit 629118567df09dfa7174ce9c83569c771f284c1f
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Sep 20 17:42:57 2015 -0700

    Try Python3 packaging
---
 debian/control | 21 +++++++++++++++++++++
 debian/rules   |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 329b03d..0c69568 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,12 @@ Build-Depends:
 	cython,
 	python-numpy,
 	python-scipy,
+# Python3
+	python3-all-dev,
+	python3-setuptools,
+	cython3,
+	python3-numpy,
+	python3-scipy
 Standards-Version: 3.9.6
 Homepage: https://github.com/coin-or/CyLP
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-cylp.git
@@ -34,3 +40,18 @@ Description: Python2 interface to CLP, CBC, and CGL to solve LPs and MIPs
  Simplex pivot rules completely in Python.
  .
  This package provides the Python 2 module
+
+Package: python3-cylp
+Architecture: any
+Depends:
+	${shlibs:Depends},
+	${misc:Depends},
+	${python3:Depends}
+Description: Python3 interface to CLP, CBC, and CGL to solve LPs and MIPs
+ CyLP is a Python interface to COIN-OR’s Linear and mixed-integer program
+ solvers (CLP, CBC, and CGL). CyLP’s unique feature is that you can use it to
+ alter the solution process of the solvers from within Python. For example,
+ you may define cut generators, branch-and-bound strategies, and primal/dual
+ Simplex pivot rules completely in Python.
+ .
+ This package provides the Python 3 module
diff --git a/debian/rules b/debian/rules
index 4db9ef6..7ebe66e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export COIN_INSTALL_DIR=/usr
 export CYLP_USE_CYTHON=1
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean

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



More information about the debian-science-commits mailing list