Upgrade Debian package to Python 3

parent 33906308
......@@ -3,14 +3,14 @@ Section: science
Priority: optional
Maintainer: Christoph Schmidt-Hieber <christsc@gmx.de>
Uploaders: Yaroslav Halchenko <debian@onerussian.com>
Build-Depends: debhelper (>= 9), dh-python, libboost-dev (>= 1.40.0), python-all-dev (>= 2.6.6-3), python-numpy, libhdf5-dev, swig, python-wxgtk3.0 | python-wxgtk2.8 (>= 2.8.9), python-wxgtk3.0-dev | libwxgtk2.8-dev (>= 2.8.9), libwxgtk3.0-gtk3-dev | libwxgtk3.0-dev | libwxgtk2.8-dev (>= 2.8.9), libfftw3-dev, liblapack-dev, chrpath, help2man, libsuitesparse-dev, zlib1g-dev, dh-autoreconf, pkg-config
Build-Depends: debhelper (>= 9), dh-python, libboost-dev (>= 1.40.0), python3-all-dev, python3-numpy, libhdf5-dev, swig, python3-sip-dev, python3-wxgtk4.0, libwxgtk3.0-gtk3-dev, libfftw3-dev, liblapack-dev, chrpath, help2man, libsuitesparse-dev, zlib1g-dev, dh-autoreconf, pkg-config
Standards-Version: 3.9.8
Homepage: http://www.stimfit.org
Package: stimfit
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libsuitesparse-dev, zlib1g-dev, python-wxgtk3.0 | python-wxgtk2.8 (>= 2.8.9), python-numpy, python-matplotlib
Recommends: python-scipy
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libsuitesparse-dev, zlib1g-dev, python3-wxgtk4.0, python3-numpy, python3-matplotlib
Recommends: python3-scipy
Description: Program for viewing and analyzing electrophysiological data
Stimfit is a free, fast and simple program for viewing and analyzing
electrophysiological data. It features an embedded Python shell that
......@@ -22,7 +22,7 @@ Section: debug
Priority: extra
Architecture: any
Depends: ${misc:Depends}, stimfit
Recommends: python-matplotlib, python-scipy, python-stfio
Recommends: python3-matplotlib, python3-scipy, python3-stfio
Description: Debug symbols for stimfit
Stimfit is a free, fast and simple program for viewing and analyzing
electrophysiological data. It features an embedded Python shell that
......@@ -30,12 +30,12 @@ Description: Debug symbols for stimfit
libraries such as NumPy and SciPy. This package contains the debug
symbols for Stimfit.
Package: python-stfio
Package: python3-stfio
Section: python
Architecture: any
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, libsuitesparse-dev, zlib1g-dev, python-numpy
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, libsuitesparse-dev, zlib1g-dev, python3-numpy
Provides: ${python:Provides}
Recommends: python-matplotlib, python-scipy, python-pandas
Recommends: python3-matplotlib, python3-scipy, python3-pandas
Description: Python module to read common electrophysiology file formats.
The stfio module allows you to read common electrophysiology file formats
from Python. Axon binaries (abf), Axon text (atf), HEKA (dat),
......
......@@ -8,7 +8,7 @@
export DH_VERBOSE=1
DEBPREFIX=$(CURDIR)/debian/tmp/usr
PYVER := $(shell pyversions -vd)
PYVER := $(shell py3versions -vd)
# Whenever libwxgtk3.0-gtk3-dev installed and wx-config present, need custom opts
WXCONFIG_OPTS=$(shell wx-config --toolkit=gtk3 2>/dev/null 1>&2 && echo '--with-wx-config="wx-config --toolkit=gtk3"' || echo '')
......@@ -92,7 +92,7 @@ binary-arch: build install
# dh_lintian
# dh_bugfiles
# dh_undocumented
dh_python2
dh_python3
dh_installman $(CURDIR)/man/stimfit.1
dh_install --sourcedir=$(CURDIR)/debian/tmp
dh_link
......@@ -101,7 +101,7 @@ binary-arch: build install
dh_fixperms
dh_icons
# dh_perl
[ -x /usr/bin/dh_python2 ] && dh_python2 -V$(PYVER) --no-ext-rename || :
[ -x /usr/bin/dh_python3 ] && dh_python3 -V$(PYVER) --no-ext-rename || :
[ -x /usr/bin/dh_numpy ] && dh_numpy || :
dh_makeshlibs
dh_shlibdeps
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment