[Pkg-bitcoin-commits] [electrum] 06/10: Switch to Python 3.
Tristan Seligmann
mithrandi at moszumanska.debian.org
Tue Dec 12 07:44:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
mithrandi pushed a commit to branch master
in repository electrum.
commit ba298e57f39fb9e69c733274e6c389fda1f22e33
Author: Tristan Seligmann <mithrandi at debian.org>
Date: Sat Nov 18 12:52:13 2017 +0200
Switch to Python 3.
---
debian/control | 44 ++++++++++++++++++++++----------------------
debian/rules | 8 ++++----
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/debian/control b/debian/control
index fdb46bd..c0634f4 100644
--- a/debian/control
+++ b/debian/control
@@ -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
diff --git a/debian/rules b/debian/rules
index 83fa9f3..da790aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/electrum.git
More information about the Pkg-bitcoin-commits
mailing list