Package: python-glpk
Version: 0.4.45-1
Severity: wishlist
Tags: patch upstream

Hi!

I need a python3 version of the glpk binding.

So I converted the pure python modules using 2to3-3.2 and some manual tweaking.
In addition I modified the Makefiles and debian/rules... to get swig producing
python3 bindings.

I've tested the code by comparing the output against examples/test.py.
After using python -u for unbuffered output and ignored the mktmp file names
the output is identical with the python-glpk output.
(I agree, that's not 100% code coverage :) )

Attached is my package.

Unfortunately, I have no time to make a source package, which supports both
python2 and 3 versions. Sorry.

Cheers, Achim


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-0.bpo.1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_NZ.utf8, LC_CTYPE=en_NZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-glpk depends on:
ii  libc6           2.13-26
ii  libglpk0        4.45-1
ii  python          2.7.2-10
ii  python-ply      3.4-2
ii  python-support  1.0.14

python-glpk recommends no packages.

python-glpk suggests no packages.

-- no debconf information
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 3.0 (quilt)
Source: python-glpk
Binary: python3-glpk
Architecture: any
Version: 0.4.45-2
Maintainer: Joao Pedro Pedroso <[email protected]>
Homepage: http://www.dcc.fc.up.pt/~jpp/code/python-glpk
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 8.0.0), cdbs, python-support (>= 1.0), 
python3-all-dev, swig, make (>= 3.8), libglpk-dev (>= 4.45), libglpk-dev (<< 
4.46)
Package-List: 
 python3-glpk deb python optional
Checksums-Sha1: 
 c9049ad5ade4f9f8c04b17cc80d5e37bebeb5b83 43703 python-glpk_0.4.45.orig.tar.gz
 13c29797a887d7fd483ead3d80349033aca59db2 6812 
python-glpk_0.4.45-2.debian.tar.gz
Checksums-Sha256: 
 9f4db2764528266ae0445a6929d775d90e3b4b84ce39a9cfcdc360560990766a 43703 
python-glpk_0.4.45.orig.tar.gz
 1e86039c360aa35df73224fad8b476b1e2203e2b66ad11425f580db4dbd4dae3 6812 
python-glpk_0.4.45-2.debian.tar.gz
Files: 
 2f185bf0b81e0e8d5cde06f08ad3bf09 43703 python-glpk_0.4.45.orig.tar.gz
 e53a39cdc6b55d3cafacdfa2c2de5d52 6812 python-glpk_0.4.45-2.debian.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8zX7IACgkQ01B083gm7XqGzACffotS7usoTUmOjngOq3/HsygJ
w5EAoORTT1zUpCoPNuFv+GgIgJtsIiGD
=VMCM
-----END PGP SIGNATURE-----

Attachment: python-glpk_0.4.45-2.debian.tar.gz
Description: GNU Zip compressed data

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 09 Feb 2012 18:51:04 +1300
Source: python-glpk
Binary: python3-glpk
Architecture: source
Version: 0.4.45-2
Distribution: unstable
Urgency: low
Maintainer: Joao Pedro Pedroso <[email protected]>
Changed-By: Achim Gädke <[email protected]>
Description: 
 python3-glpk - Python bindings to the GNU Linear Programming Kit
Changes: 
 python-glpk (0.4.45-2) unstable; urgency=low
 .
   * python3 port, unfortunately python3 only
   * removed python-support, used dh_python3 as recommended in policy
Checksums-Sha1: 
 54b0b79d0aa1e7fff103a922ce348ad453202814 1229 python-glpk_0.4.45-2.dsc
 13c29797a887d7fd483ead3d80349033aca59db2 6812 
python-glpk_0.4.45-2.debian.tar.gz
Checksums-Sha256: 
 8879c4f25c62a4a2d23e0243827e979ab6871a2bf3e53d60a51364607fc85bf9 1229 
python-glpk_0.4.45-2.dsc
 1e86039c360aa35df73224fad8b476b1e2203e2b66ad11425f580db4dbd4dae3 6812 
python-glpk_0.4.45-2.debian.tar.gz
Files: 
 df80ba6449ab8d62acd61bd6e923525a 1229 python optional python-glpk_0.4.45-2.dsc
 e53a39cdc6b55d3cafacdfa2c2de5d52 6812 python optional 
python-glpk_0.4.45-2.debian.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8zXusACgkQ01B083gm7XqGyACg4ySUJ3wTa11Mw0FmLA3ijdmA
82UAoPat9oUAYz1HObETpwdRKjEWppde
=MV3h
-----END PGP SIGNATURE-----

Reply via email to