Commit ba298e57 authored by Tristan Seligmann's avatar Tristan Seligmann

Switch to Python 3.

parent bc8ac50e
......@@ -7,32 +7,32 @@ Build-Depends:
debhelper (>= 9),
devscripts,
dh-python,
pyqt4-dev-tools,
python,
python-dnspython,
python-ecdsa,
python-jsonrpclib,
python-pbkdf2,
python-protobuf,
python-pycryptodome,
python-pyaes,
python-qrcode,
python-qt4,
python-requests,
python-setuptools,
python-socks,
pyqt5-dev-tools,
python3,
python3-dnspython,
python3-ecdsa,
python3-jsonrpclib-pelix,
python3-pbkdf2,
python3-protobuf,
python3-pycryptodome,
python3-pyaes,
python3-qrcode,
python3-pyqt5,
python3-requests,
python3-setuptools,
python3-socks,
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/git/pkg-bitcoin/electrum.git
Vcs-Git: https://anonscm.debian.org/git/pkg-bitcoin/electrum.git
Homepage: http://electrum.org/
X-Python-Version: >= 2.6
Package: python-electrum
Package: python3-electrum
Architecture: all
Section: python
Depends: ${misc:Depends}, ${python:Depends}
Breaks: electrum (<= 2.3.1~)
Replaces: electrum
Depends: ${misc:Depends}, ${python3:Depends}
Breaks: electrum (<= 2.3.1~), python-electrum (<= 2.9.3~)
Replaces: electrum, python-electrum
Description: Easy to use Bitcoin client - Python module
This package provides a lightweight Bitcoin client which protects
you from losing your bitcoins in a backup mistake or computer
......@@ -45,11 +45,11 @@ Description: Easy to use Bitcoin client - Python module
Package: electrum
Architecture: all
Depends:
python-electrum (= ${binary:Version}),
python3-electrum (= ${binary:Version}),
${misc:Depends},
${python:Depends},
Recommends: python-qt4
Suggests: python-btchip, python-trezor, python-zbar
${python3:Depends},
Recommends: python3-pyqt5
Suggests: python3-btchip, python3-trezor, python3-zbar
Description: Easy to use Bitcoin client
This package provides a lightweight Bitcoin client which protects
you from losing your bitcoins in a backup mistake or computer
......
......@@ -6,18 +6,18 @@ export PYBUILD_NAME=electrum
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(locale/.*/.*\.mo|data/dark/.*\.png|icons/.*\.png|LICENSE|debian/(changelog|copyright(|_hints|_newhints)|electrum.translations))$
%:
dh $@ --with python2 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
override_dh_installchangelogs::
dh_installchangelogs -k RELEASE-NOTES
override_dh_auto_build::
pyrcc4 icons.qrc -o gui/icons_rc.py
pyrcc5 icons.qrc -o gui/icons_rc.py
dh_auto_build
override_dh_auto_install::
dh_auto_install
mkdir -p debian/electrum/usr/bin debian/electrum/usr/share
mv debian/python-electrum/usr/bin debian/electrum/usr
mv debian/python-electrum/usr/share/applications \
mv debian/python3-electrum/usr/bin debian/electrum/usr
mv debian/python3-electrum/usr/share/applications \
debian/electrum/usr/share
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