[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2024-03-06 Thread Zac Medico
commit: f5cb62bafa6dcb1d18ce781c7e69be6e11af743b
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Mar  7 03:57:20 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Mar  7 03:59:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cb62ba

net-misc/electron-cash: enable PEP517 build

Closes: https://bugs.gentoo.org/910005
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/electron-cash-4.2.11.ebuild | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-4.2.11.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
index 8028eb404b26..993cd0db3cc4 100644
--- a/net-misc/electron-cash/electron-cash-4.2.11.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI="8"
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
 
 PYTHON_REQ_USE="ncurses?"
 
@@ -32,6 +33,8 @@ REQUIRED_USE="
vkb? ( qt5 )
 "
 
+BDEPEND="${DISTUTILS_DEPS}"
+
 RDEPEND="
dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/ecdsa[${PYTHON_USEDEP}]
@@ -65,7 +68,9 @@ src_prepare() {
eapply "${FILESDIR}/3.3.6-no-user-root.patch"
 
# Prevent icon from being installed in the wrong location
-   sed -i '/icons/d' setup.py || die
+   sed -e '/icons/d' \
+   -e "s:\\(os.path.join(\\)share_dir:\\1'share':" \
+   -i setup.py || die
 
if use qt5; then
pyrcc5 icons.qrc -o electroncash_gui/qt/icons_rc.py || die



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2023-05-03 Thread Zac Medico
commit: d16156f55876a931ff43063c76dff2ca957d1065
Author: Zac Medico  gentoo  org>
AuthorDate: Thu May  4 05:27:04 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu May  4 05:29:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16156f5

net-misc/electron-cash: enable py3.11

Closes: https://bugs.gentoo.org/897122
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/electron-cash-4.2.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/electron-cash/electron-cash-4.2.11.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
index a0a595b84faf..8028eb404b26 100644
--- a/net-misc/electron-cash/electron-cash-4.2.11.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 PYTHON_REQ_USE="ncurses?"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2023-05-03 Thread Zac Medico
commit: bf94dd592ed275b3c482b245178dc0a8b0c45959
Author: Zac Medico  gentoo  org>
AuthorDate: Thu May  4 05:20:01 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu May  4 05:29:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf94dd59

net-misc/electron-cash: drop 4.2.9, 4.2.10

Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   2 -
 net-misc/electron-cash/electron-cash-4.2.10.ebuild | 157 -
 net-misc/electron-cash/electron-cash-4.2.9.ebuild  | 154 
 3 files changed, 313 deletions(-)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index d1815a77271e..ac4a3f1698a5 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1,3 +1 @@
-DIST electron-cash-4.2.10.tar.gz 8023055 BLAKE2B 
e79c000f4278c323a8f14aa8d960c25c2971a8c5736e31a6f18f4b5faae11a8ff5339de3193e191c21373075bd6472570770d14262c9b5d41e3eca2b91e633d3
 SHA512 
f90a11f6a5d79024f982f8ab148c9c079049114bcb0c405da9f54b62620afbda462e074abde01bed7fa12d0090a842e393e24e66ff74031a87f0c79f6323895a
 DIST electron-cash-4.2.11.tar.gz 8039918 BLAKE2B 
3139647fd22aaa88ff9a514b83e12dd3b36abb6affe9b51b270e1936f4d37ec3ea867ebcfe388f428392093996d2bf7d1268ee0b2447c5d559a39c3e35745dfc
 SHA512 
7b01d2d94b29a3f054738cd89344a7c15136f90d6aa66dd587da315471aeb053bee1d7bbeab46016054b7dd98915bb2225a381d082a8fd137997c05957e2d44a
-DIST electron-cash-4.2.9.tar.gz 8023098 BLAKE2B 
37a55e2161a8f7c2d9b11c1bc564d77ace84ad745be677bb41f07af2b8c18c223e6cf37c7df42dea170341f276babd8eda4bd9564e9069fc9623a059cc92f09b
 SHA512 
e27dda4a4c8b81ad7b303652fdb2d893c3d53e76eb0f7e295753a7f92676c895ea8087e424a43bbb2d32db9a4f0e8c03b779cf9daf2ff8e51d4813a097ac9c6c

diff --git a/net-misc/electron-cash/electron-cash-4.2.10.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.10.ebuild
deleted file mode 100644
index a0a595b84faf..
--- a/net-misc/electron-cash/electron-cash-4.2.10.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-PYTHON_REQ_USE="ncurses?"
-
-inherit desktop distutils-r1 xdg-utils
-
-MY_P="Electron-Cash-${PV}"
-DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
-HOMEPAGE="https://github.com/Electron-Cash/Electron-Cash;
-SRC_URI="https://github.com/Electron-Cash/Electron-Cash/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="amodem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
-   l10n_es l10n_ja l10n_pt l10n_zh-CN"
-RESTRICT+=" test"
-
-REQUIRED_USE="
-   || ( cli ncurses qt5 )
-   amodem? ( qt5 )
-   cosign? ( qt5 )
-   digitalbitbox? ( qt5 )
-   email? ( qt5 )
-   qrcode? ( qt5 )
-   sync? ( qt5 )
-   vkb? ( qt5 )
-"
-
-RDEPEND="
-   dev-python/dnspython[${PYTHON_USEDEP}]
-   dev-python/ecdsa[${PYTHON_USEDEP}]
-   dev-python/jsonrpclib[${PYTHON_USEDEP}]
-   dev-python/pathvalidate[${PYTHON_USEDEP}]
-   dev-python/pbkdf2[${PYTHON_USEDEP}]
-   dev-python/pyaes[${PYTHON_USEDEP}]
-   dev-python/PySocks[${PYTHON_USEDEP}]
-   dev-python/qrcode[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/protobuf-python[${PYTHON_USEDEP}]
-   net-libs/stem[${PYTHON_USEDEP}]
-   amodem? ( dev-python/amodem[${PYTHON_USEDEP}] )
-   qrcode? ( media-gfx/zbar[v4l] )
-   qt5? (
-   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
-   )
-   ncurses? ( dev-lang/python )
-   dev-libs/libsecp256k1
-"
-
-distutils_enable_tests pytest
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="RELEASE-NOTES"
-
-src_prepare() {
-   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
-
-   # Prevent icon from being installed in the wrong location
-   sed -i '/icons/d' setup.py || die
-
-   if use qt5; then
-   pyrcc5 icons.qrc -o electroncash_gui/qt/icons_rc.py || die
-   else
-   sed "s|'electroncash_gui.qt',||" -i setup.py || die
-   fi
-
-   local wordlist=
-   for wordlist in  \
-   $(usex l10n_ja '' japanese) \
-   $(usex l10n_pt '' portuguese) \
-   $(usex l10n_es '' spanish) \
-   $(usex l10n_zh-CN '' chinese_simplified) \
-   ; do
-   rm -f "electroncash/wordlist/${wordlist}.txt" || die
-   sed -i "/${wordlist}\\.txt/d" electroncash/mnemonic.py || die
-   done
-
-   # Remove unrequested GUI implementations:
-   local gui setup_py_gui
-   for gui in  \
-   $(usex cli  '' stdio)  \
-   $(usex qt5  '' qt   )  \
-   $(usex ncurses  '' text )  \
-   ; do
-   rm electroncash_gui/"${gui}"* -r 

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-08-26 Thread Zac Medico
commit: ef91f08185d2c40fe4ba34d4e5bb8db4f1ddb9cc
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Aug 26 20:43:21 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Aug 26 20:43:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef91f081

net-misc/electron-cash: add 4.2.11

Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   1 +
 net-misc/electron-cash/electron-cash-4.2.11.ebuild | 157 +
 2 files changed, 158 insertions(+)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index 7d6de4e7a6ff..d1815a77271e 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1,2 +1,3 @@
 DIST electron-cash-4.2.10.tar.gz 8023055 BLAKE2B 
e79c000f4278c323a8f14aa8d960c25c2971a8c5736e31a6f18f4b5faae11a8ff5339de3193e191c21373075bd6472570770d14262c9b5d41e3eca2b91e633d3
 SHA512 
f90a11f6a5d79024f982f8ab148c9c079049114bcb0c405da9f54b62620afbda462e074abde01bed7fa12d0090a842e393e24e66ff74031a87f0c79f6323895a
+DIST electron-cash-4.2.11.tar.gz 8039918 BLAKE2B 
3139647fd22aaa88ff9a514b83e12dd3b36abb6affe9b51b270e1936f4d37ec3ea867ebcfe388f428392093996d2bf7d1268ee0b2447c5d559a39c3e35745dfc
 SHA512 
7b01d2d94b29a3f054738cd89344a7c15136f90d6aa66dd587da315471aeb053bee1d7bbeab46016054b7dd98915bb2225a381d082a8fd137997c05957e2d44a
 DIST electron-cash-4.2.9.tar.gz 8023098 BLAKE2B 
37a55e2161a8f7c2d9b11c1bc564d77ace84ad745be677bb41f07af2b8c18c223e6cf37c7df42dea170341f276babd8eda4bd9564e9069fc9623a059cc92f09b
 SHA512 
e27dda4a4c8b81ad7b303652fdb2d893c3d53e76eb0f7e295753a7f92676c895ea8087e424a43bbb2d32db9a4f0e8c03b779cf9daf2ff8e51d4813a097ac9c6c

diff --git a/net-misc/electron-cash/electron-cash-4.2.11.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
new file mode 100644
index ..fc56ca7c306e
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+PYTHON_REQ_USE="ncurses?"
+
+inherit desktop distutils-r1 xdg-utils
+
+MY_P="Electron-Cash-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/Electron-Cash/Electron-Cash;
+SRC_URI="https://github.com/Electron-Cash/Electron-Cash/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="amodem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
+RESTRICT+=" test"
+
+REQUIRED_USE="
+   || ( cli ncurses qt5 )
+   amodem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/dnspython[${PYTHON_USEDEP}]
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pathvalidate[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   net-libs/stem[${PYTHON_USEDEP}]
+   amodem? ( dev-python/amodem[${PYTHON_USEDEP}] )
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+   dev-libs/libsecp256k1
+"
+
+distutils_enable_tests pytest
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   if use qt5; then
+   pyrcc5 icons.qrc -o electroncash_gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
+
+   local wordlist=
+   for wordlist in  \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
+   ; do
+   rm -f "electroncash/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" electroncash/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm electroncash_gui/"${gui}"* -r || die
+   done
+
+   # And install requested ones...
+   for gui in  \
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-28 Thread Zac Medico
commit: be2405cdcb375edabfa0d5ff55abf80758996fb3
Author: Zac Medico  gentoo  org>
AuthorDate: Sat May 28 18:59:15 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat May 28 18:59:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2405cd

net-misc/electron-cash: add 4.2.10

Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   1 +
 net-misc/electron-cash/electron-cash-4.2.10.ebuild | 157 +
 2 files changed, 158 insertions(+)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index b4e99b7f9172..7d6de4e7a6ff 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1 +1,2 @@
+DIST electron-cash-4.2.10.tar.gz 8023055 BLAKE2B 
e79c000f4278c323a8f14aa8d960c25c2971a8c5736e31a6f18f4b5faae11a8ff5339de3193e191c21373075bd6472570770d14262c9b5d41e3eca2b91e633d3
 SHA512 
f90a11f6a5d79024f982f8ab148c9c079049114bcb0c405da9f54b62620afbda462e074abde01bed7fa12d0090a842e393e24e66ff74031a87f0c79f6323895a
 DIST electron-cash-4.2.9.tar.gz 8023098 BLAKE2B 
37a55e2161a8f7c2d9b11c1bc564d77ace84ad745be677bb41f07af2b8c18c223e6cf37c7df42dea170341f276babd8eda4bd9564e9069fc9623a059cc92f09b
 SHA512 
e27dda4a4c8b81ad7b303652fdb2d893c3d53e76eb0f7e295753a7f92676c895ea8087e424a43bbb2d32db9a4f0e8c03b779cf9daf2ff8e51d4813a097ac9c6c

diff --git a/net-misc/electron-cash/electron-cash-4.2.10.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.10.ebuild
new file mode 100644
index ..fc56ca7c306e
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-4.2.10.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+PYTHON_REQ_USE="ncurses?"
+
+inherit desktop distutils-r1 xdg-utils
+
+MY_P="Electron-Cash-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/Electron-Cash/Electron-Cash;
+SRC_URI="https://github.com/Electron-Cash/Electron-Cash/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="amodem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
+RESTRICT+=" test"
+
+REQUIRED_USE="
+   || ( cli ncurses qt5 )
+   amodem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/dnspython[${PYTHON_USEDEP}]
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pathvalidate[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   net-libs/stem[${PYTHON_USEDEP}]
+   amodem? ( dev-python/amodem[${PYTHON_USEDEP}] )
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+   dev-libs/libsecp256k1
+"
+
+distutils_enable_tests pytest
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   if use qt5; then
+   pyrcc5 icons.qrc -o electroncash_gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
+
+   local wordlist=
+   for wordlist in  \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
+   ; do
+   rm -f "electroncash/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" electroncash/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm electroncash_gui/"${gui}"* -r || die
+   done
+
+   # And install requested ones...
+   for gui in  \
+   $(usex qt5  qt   '')  \
+   ; do
+   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
+   done
+
+   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
+
+   local bestgui
+   if use qt5; then
+   bestgui=qt
+   elif use ncurses; then
+  

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-28 Thread Zac Medico
commit: 8b9f641a07db8d203f422979b2f219f6148a743a
Author: Zac Medico  gentoo  org>
AuthorDate: Sat May 28 18:41:06 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat May 28 18:44:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9f641a

net-misc/electron-cash: fix QA warnings

Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/electron-cash-4.2.9.ebuild | 2 +-
 net-misc/electron-cash/metadata.xml   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-4.2.9.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
index b8d2681f9c71..ab269027a1f4 100644
--- a/net-misc/electron-cash/electron-cash-4.2.9.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} )
 
 PYTHON_REQ_USE="ncurses?"
 
-inherit desktop distutils-r1 gnome2-utils xdg-utils
+inherit desktop distutils-r1 xdg-utils
 
 MY_P="Electron-Cash-${PV}"
 DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"

diff --git a/net-misc/electron-cash/metadata.xml 
b/net-misc/electron-cash/metadata.xml
index 30b925e7f44d..213f5fe41bbc 100644
--- a/net-misc/electron-cash/metadata.xml
+++ b/net-misc/electron-cash/metadata.xml
@@ -8,7 +8,6 @@

Enables the CLI interface
Enable plugin to support Audio Modem
-   Deprecated name for amodem
Enable plugin to support multisig wallets 
between multiple Electrum clients
Enable plugin to support Digital 
Bitbox hardware wallet
Enable plugin to support emailing 
invoices



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-28 Thread Zac Medico
commit: 39f53025fb572acde23ffc366db36f7b7e8008f1
Author: Zac Medico  gentoo  org>
AuthorDate: Sat May 28 18:20:55 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat May 28 18:22:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f53025

net-misc/electron-cash: remove audio_modem USE flag

Closes: https://bugs.gentoo.org/695092
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/electron-cash-4.2.9.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-4.2.9.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
index 5a6a8226cb0c..b8d2681f9c71 100644
--- a/net-misc/electron-cash/electron-cash-4.2.9.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
@@ -17,11 +17,10 @@ 
SRC_URI="https://github.com/Electron-Cash/Electron-Cash/archive/refs/tags/${PV}.
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="amodem audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 
sync vkb
+IUSE="amodem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
l10n_es l10n_ja l10n_pt l10n_zh-CN"
 
 REQUIRED_USE="
-   !audio_modem
|| ( cli ncurses qt5 )
amodem? ( qt5 )
cosign? ( qt5 )



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-19 Thread Zac Medico
commit: 233d82ecca56ddef35e05679a783f17b89575029
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May 20 01:34:31 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri May 20 01:34:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233d82ec

net-misc/electron-cash: xdg_icon_cache_update

Closes: https://bugs.gentoo.org/809269
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/electron-cash-4.2.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-4.2.9.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
index 5798da537b10..5a6a8226cb0c 100644
--- a/net-misc/electron-cash/electron-cash-4.2.9.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
@@ -145,11 +145,11 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
xdg_desktop_database_update
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
xdg_desktop_database_update
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-18 Thread Zac Medico
commit: 1ff19cdebdb4a346b7d79972876d5a59c41a46c5
Author: Zac Medico  gentoo  org>
AuthorDate: Thu May 19 04:00:48 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu May 19 04:00:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff19cde

net-misc/electron-cash: update upstream metadata

Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/electron-cash/metadata.xml 
b/net-misc/electron-cash/metadata.xml
index 1b7e4b952e85..30b925e7f44d 100644
--- a/net-misc/electron-cash/metadata.xml
+++ b/net-misc/electron-cash/metadata.xml
@@ -17,6 +17,6 @@
Enable plugin for virtual keyboard


-   fyookball/electrum
+   Electron-Cash/Electron-Cash

 



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-18 Thread Zac Medico
commit: bda14af925343f211917ba9f791407ee6bc6106e
Author: Zac Medico  gentoo  org>
AuthorDate: Thu May 19 03:59:48 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu May 19 03:59:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda14af9

net-misc/electron-cash: drop 4.0.2-r2, 4.2.3

Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   2 -
 .../electron-cash/electron-cash-4.0.2-r2.ebuild| 152 
 net-misc/electron-cash/electron-cash-4.2.3.ebuild  | 154 -
 3 files changed, 308 deletions(-)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index a30bdd058ddc..b4e99b7f9172 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1,3 +1 @@
-DIST electron-cash-4.0.2.tar.gz 8967992 BLAKE2B 
081546d148dbc7da5e192154818831e125437c00093e1fe434ef0a67f8c06ceb1d2b1f44de9e71aac5786f995aeffd8fb6b74c64f6aa249f5cc9c06c9a276845
 SHA512 
dad17906f1dc2e53d4c6bff15a38d3276d16377f71b4d4e260b7b667f2b045da49f504483606d4515cdf71300b67108301b6cce971d1cca16c3856023b3e3f3a
-DIST electron-cash-4.2.3.tar.gz 7593885 BLAKE2B 
902e1b93958b2796e2679327e81c9c5637f57ac1a840291b30a515bcd8c2b12724dfa075e38f1265eebc2a734bc715ddcbd98eaf13903d99b78fa3dd4f704d03
 SHA512 
0917d67501bb29dc49be25d7845a892c42f08718e7ff0560c27e34a6ba093acfd7ccf15cd1f5d09b03ff01b41c8d9cce84a9968388fae3d52f6a13f1cfb01a0a
 DIST electron-cash-4.2.9.tar.gz 8023098 BLAKE2B 
37a55e2161a8f7c2d9b11c1bc564d77ace84ad745be677bb41f07af2b8c18c223e6cf37c7df42dea170341f276babd8eda4bd9564e9069fc9623a059cc92f09b
 SHA512 
e27dda4a4c8b81ad7b303652fdb2d893c3d53e76eb0f7e295753a7f92676c895ea8087e424a43bbb2d32db9a4f0e8c03b779cf9daf2ff8e51d4813a097ac9c6c

diff --git a/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
deleted file mode 100644
index 35dac74afdd3..
--- a/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-PYTHON_REQ_USE="ncurses?"
-
-inherit desktop distutils-r1 gnome2-utils xdg-utils
-
-MY_P="Electron-Cash-${PV}"
-DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
-HOMEPAGE="https://github.com/fyookball/electrum/;
-SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
-   l10n_es l10n_ja l10n_pt l10n_zh-CN"
-
-REQUIRED_USE="
-   || ( cli ncurses qt5 )
-   audio_modem? ( qt5 )
-   cosign? ( qt5 )
-   digitalbitbox? ( qt5 )
-   email? ( qt5 )
-   qrcode? ( qt5 )
-   sync? ( qt5 )
-   vkb? ( qt5 )
-"
-
-RDEPEND="
-   dev-python/dnspython[${PYTHON_USEDEP}]
-   dev-python/ecdsa[${PYTHON_USEDEP}]
-   dev-python/jsonrpclib[${PYTHON_USEDEP}]
-   dev-python/pbkdf2[${PYTHON_USEDEP}]
-   dev-python/pyaes[${PYTHON_USEDEP}]
-   dev-python/PySocks[${PYTHON_USEDEP}]
-   dev-python/qrcode[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/protobuf-python[${PYTHON_USEDEP}]
-   qrcode? ( media-gfx/zbar[v4l] )
-   qt5? (
-   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
-   )
-   ncurses? ( dev-lang/python )
-   dev-libs/libsecp256k1
-"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="RELEASE-NOTES"
-
-src_prepare() {
-   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
-
-   # Prevent icon from being installed in the wrong location
-   sed -i '/icons/d' setup.py || die
-
-   if use qt5; then
-   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
-   else
-   sed "s|'electroncash_gui.qt',||" -i setup.py || die
-   fi
-
-   local wordlist=
-   for wordlist in  \
-   $(usex l10n_ja '' japanese) \
-   $(usex l10n_pt '' portuguese) \
-   $(usex l10n_es '' spanish) \
-   $(usex l10n_zh-CN '' chinese_simplified) \
-   ; do
-   rm -f "lib/wordlist/${wordlist}.txt" || die
-   sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die
-   done
-
-   # Remove unrequested GUI implementations:
-   local gui setup_py_gui
-   for gui in  \
-   $(usex cli  '' stdio)  \
-   kivy \
-   $(usex qt5  '' qt   )  \
-   $(usex ncurses  '' text )  \
-   ; do
-   rm gui/"${gui}"* -r || die
-   done
-
-   # And install requested ones...
-   for gui in  \
-   $(usex qt5  qt   '')  \
-   ; do
-   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2022-05-18 Thread Zac Medico
commit: de05b26f36067e3bbf7d30b4048fbe14801c0c3f
Author: Zac Medico  gentoo  org>
AuthorDate: Thu May 19 03:14:25 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu May 19 03:58:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de05b26f

net-misc/electron-cash: add 4.2.9

Closes: https://bugs.gentoo.org/846155
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest   |   1 +
 net-misc/electron-cash/electron-cash-4.2.9.ebuild | 155 ++
 2 files changed, 156 insertions(+)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index a58a2b1edc16..a30bdd058ddc 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1,2 +1,3 @@
 DIST electron-cash-4.0.2.tar.gz 8967992 BLAKE2B 
081546d148dbc7da5e192154818831e125437c00093e1fe434ef0a67f8c06ceb1d2b1f44de9e71aac5786f995aeffd8fb6b74c64f6aa249f5cc9c06c9a276845
 SHA512 
dad17906f1dc2e53d4c6bff15a38d3276d16377f71b4d4e260b7b667f2b045da49f504483606d4515cdf71300b67108301b6cce971d1cca16c3856023b3e3f3a
 DIST electron-cash-4.2.3.tar.gz 7593885 BLAKE2B 
902e1b93958b2796e2679327e81c9c5637f57ac1a840291b30a515bcd8c2b12724dfa075e38f1265eebc2a734bc715ddcbd98eaf13903d99b78fa3dd4f704d03
 SHA512 
0917d67501bb29dc49be25d7845a892c42f08718e7ff0560c27e34a6ba093acfd7ccf15cd1f5d09b03ff01b41c8d9cce84a9968388fae3d52f6a13f1cfb01a0a
+DIST electron-cash-4.2.9.tar.gz 8023098 BLAKE2B 
37a55e2161a8f7c2d9b11c1bc564d77ace84ad745be677bb41f07af2b8c18c223e6cf37c7df42dea170341f276babd8eda4bd9564e9069fc9623a059cc92f09b
 SHA512 
e27dda4a4c8b81ad7b303652fdb2d893c3d53e76eb0f7e295753a7f92676c895ea8087e424a43bbb2d32db9a4f0e8c03b779cf9daf2ff8e51d4813a097ac9c6c

diff --git a/net-misc/electron-cash/electron-cash-4.2.9.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
new file mode 100644
index ..5798da537b10
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+PYTHON_REQ_USE="ncurses?"
+
+inherit desktop distutils-r1 gnome2-utils xdg-utils
+
+MY_P="Electron-Cash-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/Electron-Cash/Electron-Cash;
+SRC_URI="https://github.com/Electron-Cash/Electron-Cash/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="amodem audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 
sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
+
+REQUIRED_USE="
+   !audio_modem
+   || ( cli ncurses qt5 )
+   amodem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/dnspython[${PYTHON_USEDEP}]
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pathvalidate[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   net-libs/stem[${PYTHON_USEDEP}]
+   amodem? ( dev-python/amodem[${PYTHON_USEDEP}] )
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+   dev-libs/libsecp256k1
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   if use qt5; then
+   pyrcc5 icons.qrc -o electroncash_gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
+
+   local wordlist=
+   for wordlist in  \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
+   ; do
+   rm -f "electroncash/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" electroncash/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm electroncash_gui/"${gui}"* -r || die
+   done
+
+   # And install requested 

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2020-12-30 Thread Zac Medico
commit: fe37ca202ac02e251e491429911bfce5eb45c782
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Dec 30 22:35:48 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Dec 30 23:02:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe37ca20

net-misc/electron-cash: Bump to version 4.2.3

Closes: https://bugs.gentoo.org/762607
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest   |   1 +
 net-misc/electron-cash/electron-cash-4.2.3.ebuild | 154 ++
 net-misc/electron-cash/metadata.xml   |   3 +-
 3 files changed, 157 insertions(+), 1 deletion(-)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index 8e8f1267347..a58a2b1edc1 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1 +1,2 @@
 DIST electron-cash-4.0.2.tar.gz 8967992 BLAKE2B 
081546d148dbc7da5e192154818831e125437c00093e1fe434ef0a67f8c06ceb1d2b1f44de9e71aac5786f995aeffd8fb6b74c64f6aa249f5cc9c06c9a276845
 SHA512 
dad17906f1dc2e53d4c6bff15a38d3276d16377f71b4d4e260b7b667f2b045da49f504483606d4515cdf71300b67108301b6cce971d1cca16c3856023b3e3f3a
+DIST electron-cash-4.2.3.tar.gz 7593885 BLAKE2B 
902e1b93958b2796e2679327e81c9c5637f57ac1a840291b30a515bcd8c2b12724dfa075e38f1265eebc2a734bc715ddcbd98eaf13903d99b78fa3dd4f704d03
 SHA512 
0917d67501bb29dc49be25d7845a892c42f08718e7ff0560c27e34a6ba093acfd7ccf15cd1f5d09b03ff01b41c8d9cce84a9968388fae3d52f6a13f1cfb01a0a

diff --git a/net-misc/electron-cash/electron-cash-4.2.3.ebuild 
b/net-misc/electron-cash/electron-cash-4.2.3.ebuild
new file mode 100644
index 000..2bd6c9e8666
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-4.2.3.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+PYTHON_REQ_USE="ncurses?"
+
+inherit desktop distutils-r1 gnome2-utils xdg-utils
+
+MY_P="Electron-Cash-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/fyookball/electrum/;
+SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="amodem audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 
sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
+
+REQUIRED_USE="
+   !audio_modem
+   || ( cli ncurses qt5 )
+   amodem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/dnspython[${PYTHON_USEDEP}]
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   net-libs/stem[${PYTHON_USEDEP}]
+   amodem? ( dev-python/amodem[${PYTHON_USEDEP}] )
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+   dev-libs/libsecp256k1
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   if use qt5; then
+   pyrcc5 icons.qrc -o electroncash_gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
+
+   local wordlist=
+   for wordlist in  \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
+   ; do
+   rm -f "electroncash/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" electroncash/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm electroncash_gui/"${gui}"* -r || die
+   done
+
+   # And install requested ones...
+   for gui in  \
+   $(usex qt5  qt   '')  \
+   ; do
+   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
+   done
+
+   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
+
+   local bestgui
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2020-12-05 Thread Aaron Bauman
commit: 5e72a7399f6867bdc4fd274c0c4a8a29681f4371
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Dec  6 00:00:37 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Dec  6 00:00:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e72a739

net-misc/electron-cash: add py3_{8,9}

Signed-off-by: Aaron Bauman  gentoo.org>

 net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
index c1e564a5b3e..5af410c2a3d 100644
--- a/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
@@ -3,7 +3,8 @@
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_6 python3_7 )
+PYTHON_COMPAT=( python3_{6..9} )
+
 PYTHON_REQ_USE="ncurses?"
 
 inherit desktop distutils-r1 gnome2-utils xdg-utils



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2020-05-24 Thread Zac Medico
commit: 6d76bcb0ad3ae029307e823f6f816885f3d32c6d
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May 24 13:35:38 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun May 24 19:08:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d76bcb0

net-misc/electron-cash: add missing desktop inherit

Closes: https://github.com/gentoo/gentoo/pull/15952
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
index 87c2b57dd7c..c1e564a5b3e 100644
--- a/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
@@ -6,7 +6,7 @@ EAPI="7"
 PYTHON_COMPAT=( python3_6 python3_7 )
 PYTHON_REQ_USE="ncurses?"
 
-inherit distutils-r1 gnome2-utils xdg-utils
+inherit desktop distutils-r1 gnome2-utils xdg-utils
 
 MY_P="Electron-Cash-${PV}"
 DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2020-02-17 Thread Zac Medico
commit: 99745f2bf07eb45234fbf5de9e36383641ec207b
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Feb 17 08:48:20 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Feb 17 08:57:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99745f2b

net-misc/electron-cash: Drop tlslite dependency

Closes: https://bugs.gentoo.org/709922
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Zac Medico  gentoo.org>

 ...electron-cash-4.0.2-r1.ebuild => electron-cash-4.0.2-r2.ebuild} | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-4.0.2-r1.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
similarity index 96%
rename from net-misc/electron-cash/electron-cash-4.0.2-r1.ebuild
rename to net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
index 39e50d7d405..87c2b57dd7c 100644
--- a/net-misc/electron-cash/electron-cash-4.0.2-r1.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.0.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_6 python3_7 )
 PYTHON_REQ_USE="ncurses?"
 
 inherit distutils-r1 gnome2-utils xdg-utils
@@ -41,7 +41,6 @@ RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
-   dev-python/tlslite[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
qrcode? ( media-gfx/zbar[v4l] )
qt5? (



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2020-02-17 Thread Zac Medico
commit: 8f5486fac00989c3c1bc71a747cb0d26815f1f9a
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Feb 17 08:37:23 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Feb 17 08:57:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5486fa

net-misc/electron-cash: Remove old version 3.3.6-r1

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   1 -
 .../electron-cash/electron-cash-3.3.6-r1.ebuild| 151 -
 2 files changed, 152 deletions(-)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index db05b98f221..8e8f1267347 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1,2 +1 @@
-DIST electron-cash-3.3.6.tar.gz 8506610 BLAKE2B 
85f61ec0c95e41c5fc170c3419317e077c3e871ee90db7f4e7ebbf6e931950746798efe9b4b6e7c6e0992a52165772a699d8220e1a21ff597f024084929afddc
 SHA512 
993829ce29013e26f219bbd41d13c8d399920ee4c1e5fcae3c4fb298c766228766e93b559db1de3c14bd5add6f651c83655afb32bf173bacdaddf83a8a941f18
 DIST electron-cash-4.0.2.tar.gz 8967992 BLAKE2B 
081546d148dbc7da5e192154818831e125437c00093e1fe434ef0a67f8c06ceb1d2b1f44de9e71aac5786f995aeffd8fb6b74c64f6aa249f5cc9c06c9a276845
 SHA512 
dad17906f1dc2e53d4c6bff15a38d3276d16377f71b4d4e260b7b667f2b045da49f504483606d4515cdf71300b67108301b6cce971d1cca16c3856023b3e3f3a

diff --git a/net-misc/electron-cash/electron-cash-3.3.6-r1.ebuild 
b/net-misc/electron-cash/electron-cash-3.3.6-r1.ebuild
deleted file mode 100644
index ce2b8f67d14..000
--- a/net-misc/electron-cash/electron-cash-3.3.6-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="ncurses?"
-
-inherit distutils-r1 gnome2-utils xdg-utils
-
-MY_P="Electron-Cash-${PV}"
-DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
-HOMEPAGE="https://github.com/fyookball/electrum/;
-SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
-   l10n_es l10n_ja l10n_pt l10n_zh-CN"
-
-REQUIRED_USE="
-   || ( cli ncurses qt5 )
-   audio_modem? ( qt5 )
-   cosign? ( qt5 )
-   digitalbitbox? ( qt5 )
-   email? ( qt5 )
-   qrcode? ( qt5 )
-   sync? ( qt5 )
-   vkb? ( qt5 )
-"
-
-RDEPEND="
-   dev-python/dnspython[${PYTHON_USEDEP}]
-   dev-python/ecdsa[${PYTHON_USEDEP}]
-   dev-python/jsonrpclib[${PYTHON_USEDEP}]
-   dev-python/pbkdf2[${PYTHON_USEDEP}]
-   dev-python/pyaes[${PYTHON_USEDEP}]
-   dev-python/PySocks[${PYTHON_USEDEP}]
-   dev-python/qrcode[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/tlslite[${PYTHON_USEDEP}]
-   dev-python/protobuf-python[${PYTHON_USEDEP}]
-   qrcode? ( media-gfx/zbar[v4l] )
-   qt5? (
-   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
-   )
-   ncurses? ( dev-lang/python )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="RELEASE-NOTES"
-
-src_prepare() {
-   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
-
-   # Prevent icon from being installed in the wrong location
-   sed -i '/icons/d' setup.py || die
-
-   if use qt5; then
-   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
-   else
-   sed "s|'electroncash_gui.qt',||" -i setup.py || die
-   fi
-
-   local wordlist=
-   for wordlist in  \
-   $(usex l10n_ja '' japanese) \
-   $(usex l10n_pt '' portuguese) \
-   $(usex l10n_es '' spanish) \
-   $(usex l10n_zh-CN '' chinese_simplified) \
-   ; do
-   rm -f "lib/wordlist/${wordlist}.txt" || die
-   sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die
-   done
-
-   # Remove unrequested GUI implementations:
-   local gui setup_py_gui
-   for gui in  \
-   $(usex cli  '' stdio)  \
-   kivy \
-   $(usex qt5  '' qt   )  \
-   $(usex ncurses  '' text )  \
-   ; do
-   rm gui/"${gui}"* -r || die
-   done
-
-   # And install requested ones...
-   for gui in  \
-   $(usex qt5  qt   '')  \
-   ; do
-   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
-   done
-
-   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
-
-   local bestgui
-   if use qt5; then
-   bestgui=qt
-   elif use ncurses; then
-   bestgui=text
-   else
-   bestgui=stdio
-   fi
-   sed -i 's/^\([[:space:]]*\)\(config_options\['\''cwd'\''\] = 

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2019-07-30 Thread Michał Górny
commit: 9fbb8c8de921a026e3544955a77dc81d1229ea2a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 30 06:04:11 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 30 06:04:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbb8c8d

net-misc/electron-cash: Revbump post dep changes

Signed-off-by: Michał Górny  gentoo.org>

 .../{electron-cash-3.3.6.ebuild => electron-cash-3.3.6-r1.ebuild} | 0
 .../{electron-cash-4.0.2.ebuild => electron-cash-4.0.2-r1.ebuild} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-3.3.6.ebuild 
b/net-misc/electron-cash/electron-cash-3.3.6-r1.ebuild
similarity index 100%
rename from net-misc/electron-cash/electron-cash-3.3.6.ebuild
rename to net-misc/electron-cash/electron-cash-3.3.6-r1.ebuild

diff --git a/net-misc/electron-cash/electron-cash-4.0.2.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2-r1.ebuild
similarity index 100%
rename from net-misc/electron-cash/electron-cash-4.0.2.ebuild
rename to net-misc/electron-cash/electron-cash-4.0.2-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2019-07-30 Thread Michał Górny
commit: 260b2210a447d5648141cc75eeeb12f4999dbbcb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 30 05:39:58 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 30 05:39:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260b2210

net-misc/electron-cash: Retire virtual/python-dnspython

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/electron-cash/electron-cash-3.3.6.ebuild | 2 +-
 net-misc/electron-cash/electron-cash-4.0.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-3.3.6.ebuild 
b/net-misc/electron-cash/electron-cash-3.3.6.ebuild
index 7c1417f1166..ce2b8f67d14 100644
--- a/net-misc/electron-cash/electron-cash-3.3.6.ebuild
+++ b/net-misc/electron-cash/electron-cash-3.3.6.ebuild
@@ -31,6 +31,7 @@ REQUIRED_USE="
 "
 
 RDEPEND="
+   dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/ecdsa[${PYTHON_USEDEP}]
dev-python/jsonrpclib[${PYTHON_USEDEP}]
dev-python/pbkdf2[${PYTHON_USEDEP}]
@@ -42,7 +43,6 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/tlslite[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
-   virtual/python-dnspython[${PYTHON_USEDEP}]
qrcode? ( media-gfx/zbar[v4l] )
qt5? (
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]

diff --git a/net-misc/electron-cash/electron-cash-4.0.2.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2.ebuild
index 3b33abcf417..39e50d7d405 100644
--- a/net-misc/electron-cash/electron-cash-4.0.2.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.0.2.ebuild
@@ -31,6 +31,7 @@ REQUIRED_USE="
 "
 
 RDEPEND="
+   dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/ecdsa[${PYTHON_USEDEP}]
dev-python/jsonrpclib[${PYTHON_USEDEP}]
dev-python/pbkdf2[${PYTHON_USEDEP}]
@@ -42,7 +43,6 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/tlslite[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
-   virtual/python-dnspython[${PYTHON_USEDEP}]
qrcode? ( media-gfx/zbar[v4l] )
qt5? (
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2019-04-24 Thread Zac Medico
commit: 603459de713f54a93d9752244aa79091835425db
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Apr 25 04:33:34 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Apr 25 04:51:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603459de

net-misc/electron-cash: version bump to 4.0.2

Bug: https://bugs.gentoo.org/670070
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest   |   1 +
 net-misc/electron-cash/electron-cash-4.0.2.ebuild | 152 ++
 2 files changed, 153 insertions(+)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index 331080c9b62..db05b98f221 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1 +1,2 @@
 DIST electron-cash-3.3.6.tar.gz 8506610 BLAKE2B 
85f61ec0c95e41c5fc170c3419317e077c3e871ee90db7f4e7ebbf6e931950746798efe9b4b6e7c6e0992a52165772a699d8220e1a21ff597f024084929afddc
 SHA512 
993829ce29013e26f219bbd41d13c8d399920ee4c1e5fcae3c4fb298c766228766e93b559db1de3c14bd5add6f651c83655afb32bf173bacdaddf83a8a941f18
+DIST electron-cash-4.0.2.tar.gz 8967992 BLAKE2B 
081546d148dbc7da5e192154818831e125437c00093e1fe434ef0a67f8c06ceb1d2b1f44de9e71aac5786f995aeffd8fb6b74c64f6aa249f5cc9c06c9a276845
 SHA512 
dad17906f1dc2e53d4c6bff15a38d3276d16377f71b4d4e260b7b667f2b045da49f504483606d4515cdf71300b67108301b6cce971d1cca16c3856023b3e3f3a

diff --git a/net-misc/electron-cash/electron-cash-4.0.2.ebuild 
b/net-misc/electron-cash/electron-cash-4.0.2.ebuild
new file mode 100644
index 000..3b33abcf417
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-4.0.2.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="ncurses?"
+
+inherit distutils-r1 gnome2-utils xdg-utils
+
+MY_P="Electron-Cash-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/fyookball/electrum/;
+SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
+
+REQUIRED_USE="
+   || ( cli ncurses qt5 )
+   audio_modem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/tlslite[${PYTHON_USEDEP}]
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   virtual/python-dnspython[${PYTHON_USEDEP}]
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+   dev-libs/libsecp256k1
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   if use qt5; then
+   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
+
+   local wordlist=
+   for wordlist in  \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
+   ; do
+   rm -f "lib/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   kivy \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm gui/"${gui}"* -r || die
+   done
+
+   # And install requested ones...
+   for gui in  \
+   $(usex qt5  qt   '')  \
+   ; do
+   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
+   done
+
+   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
+
+   local bestgui
+   if use qt5; then
+   bestgui=qt
+   elif use ncurses; then
+   bestgui=text
+   else
+   bestgui=stdio
+   fi
+   sed -i 

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/files/, net-misc/electron-cash/

2019-04-24 Thread Zac Medico
commit: 75cf0c1c488a0a75d571b4bb02c1fa443d543500
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Apr 25 04:22:20 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Apr 25 04:26:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cf0c1c

net-misc/electron-cash: remove old version

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   1 -
 net-misc/electron-cash/electron-cash-3.1.3.ebuild  | 151 -
 .../electron-cash/files/2.8.0-no-user-root.patch   |  15 --
 3 files changed, 167 deletions(-)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index 0d7de87b798..331080c9b62 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1,2 +1 @@
-DIST electron-cash-3.1.3.tar.gz 1643903 BLAKE2B 
ff7c4f8d10b680c9fe3fcb949349cdbc84acb49939b33af2816f8154c3675241e3637bc326af9c2a662588571aeab37de86eb89a627e934b824114c3907a8158
 SHA512 
267f434ef09bea23b79a9ad8cb8e734a7e1ece7d17d2e2cc91496af3d0fcb035256ec3977c2fbeff4c7ac16193a0a185041fd526c46129fcea62bcdfe043a208
 DIST electron-cash-3.3.6.tar.gz 8506610 BLAKE2B 
85f61ec0c95e41c5fc170c3419317e077c3e871ee90db7f4e7ebbf6e931950746798efe9b4b6e7c6e0992a52165772a699d8220e1a21ff597f024084929afddc
 SHA512 
993829ce29013e26f219bbd41d13c8d399920ee4c1e5fcae3c4fb298c766228766e93b559db1de3c14bd5add6f651c83655afb32bf173bacdaddf83a8a941f18

diff --git a/net-misc/electron-cash/electron-cash-3.1.3.ebuild 
b/net-misc/electron-cash/electron-cash-3.1.3.ebuild
deleted file mode 100644
index facc0d00e50..000
--- a/net-misc/electron-cash/electron-cash-3.1.3.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_{5,6} )
-PYTHON_REQ_USE="ncurses?"
-
-inherit distutils-r1 gnome2-utils xdg-utils
-
-MY_P="electrum-${PV}"
-DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
-HOMEPAGE="https://github.com/fyookball/electrum/;
-SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
-   l10n_es l10n_ja l10n_pt l10n_zh-CN"
-
-REQUIRED_USE="
-   || ( cli ncurses qt5 )
-   audio_modem? ( qt5 )
-   cosign? ( qt5 )
-   digitalbitbox? ( qt5 )
-   email? ( qt5 )
-   qrcode? ( qt5 )
-   sync? ( qt5 )
-   vkb? ( qt5 )
-"
-
-RDEPEND="
-   dev-python/ecdsa[${PYTHON_USEDEP}]
-   dev-python/jsonrpclib[${PYTHON_USEDEP}]
-   dev-python/pbkdf2[${PYTHON_USEDEP}]
-   dev-python/pyaes[${PYTHON_USEDEP}]
-   dev-python/PySocks[${PYTHON_USEDEP}]
-   dev-python/qrcode[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/tlslite[${PYTHON_USEDEP}]
-   dev-python/protobuf-python[${PYTHON_USEDEP}]
-   virtual/python-dnspython[${PYTHON_USEDEP}]
-   qrcode? ( media-gfx/zbar[v4l] )
-   qt5? (
-   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
-   )
-   ncurses? ( dev-lang/python )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="RELEASE-NOTES"
-
-src_prepare() {
-   eapply "${FILESDIR}/2.8.0-no-user-root.patch"
-
-   # Prevent icon from being installed in the wrong location
-   sed -i '/icons/d' setup.py || die
-
-   if use qt5; then
-   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
-   else
-   sed "s|'electroncash_gui.qt',||" -i setup.py || die
-   fi
-
-   local wordlist=
-   for wordlist in  \
-   $(usex l10n_ja '' japanese) \
-   $(usex l10n_pt '' portuguese) \
-   $(usex l10n_es '' spanish) \
-   $(usex l10n_zh-CN '' chinese_simplified) \
-   ; do
-   rm -f "lib/wordlist/${wordlist}.txt" || die
-   sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die
-   done
-
-   # Remove unrequested GUI implementations:
-   local gui setup_py_gui
-   for gui in  \
-   $(usex cli  '' stdio)  \
-   kivy \
-   $(usex qt5  '' qt   )  \
-   $(usex ncurses  '' text )  \
-   ; do
-   rm gui/"${gui}"* -r || die
-   done
-
-   # And install requested ones...
-   for gui in  \
-   $(usex qt5  qt   '')  \
-   ; do
-   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
-   done
-
-   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
-
-   local bestgui
-   if use qt5; then
-   bestgui=qt
-   elif use ncurses; then
-   bestgui=text
-   else
-   bestgui=stdio
-   fi
-   sed -i 

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/, net-misc/electron-cash/files/

2019-04-24 Thread Zac Medico
commit: 0b9196e0375c2e24ad585a05791f585c63598e98
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Apr 25 04:18:14 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Apr 25 04:26:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9196e0

net-misc/electron-cash: version bump to 3.3.6

Reported-by: Kete Tefid  gmail.com>
Closes: https://bugs.gentoo.org/670070
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 net-misc/electron-cash/Manifest|   1 +
 net-misc/electron-cash/electron-cash-3.3.6.ebuild  | 151 +
 .../electron-cash/files/3.3.6-no-user-root.patch   |  27 
 3 files changed, 179 insertions(+)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index 9e516e83c80..0d7de87b798 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1 +1,2 @@
 DIST electron-cash-3.1.3.tar.gz 1643903 BLAKE2B 
ff7c4f8d10b680c9fe3fcb949349cdbc84acb49939b33af2816f8154c3675241e3637bc326af9c2a662588571aeab37de86eb89a627e934b824114c3907a8158
 SHA512 
267f434ef09bea23b79a9ad8cb8e734a7e1ece7d17d2e2cc91496af3d0fcb035256ec3977c2fbeff4c7ac16193a0a185041fd526c46129fcea62bcdfe043a208
+DIST electron-cash-3.3.6.tar.gz 8506610 BLAKE2B 
85f61ec0c95e41c5fc170c3419317e077c3e871ee90db7f4e7ebbf6e931950746798efe9b4b6e7c6e0992a52165772a699d8220e1a21ff597f024084929afddc
 SHA512 
993829ce29013e26f219bbd41d13c8d399920ee4c1e5fcae3c4fb298c766228766e93b559db1de3c14bd5add6f651c83655afb32bf173bacdaddf83a8a941f18

diff --git a/net-misc/electron-cash/electron-cash-3.3.6.ebuild 
b/net-misc/electron-cash/electron-cash-3.3.6.ebuild
new file mode 100644
index 000..7c1417f1166
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-3.3.6.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="ncurses?"
+
+inherit distutils-r1 gnome2-utils xdg-utils
+
+MY_P="Electron-Cash-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/fyookball/electrum/;
+SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
+
+REQUIRED_USE="
+   || ( cli ncurses qt5 )
+   audio_modem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/tlslite[${PYTHON_USEDEP}]
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   virtual/python-dnspython[${PYTHON_USEDEP}]
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/3.3.6-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   if use qt5; then
+   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
+
+   local wordlist=
+   for wordlist in  \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
+   ; do
+   rm -f "lib/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   kivy \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm gui/"${gui}"* -r || die
+   done
+
+   # And install requested ones...
+   for gui in  \
+   $(usex qt5  qt   '')  \
+   ; do
+   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
+   done
+
+   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
+
+   local bestgui
+   if use qt5; then
+   bestgui=qt
+   elif use ncurses; then
+   bestgui=text
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2018-04-30 Thread Mike Gilbert
commit: c52dd182814e9e0219c4fbaaa9e07b3c8fe72833
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Apr 30 15:05:50 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Apr 30 15:39:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c52dd182

net-misc/electron-cash: Clean dev-libs/protobuf dependencies.

 net-misc/electron-cash/electron-cash-3.1.3.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-3.1.3.ebuild 
b/net-misc/electron-cash/electron-cash-3.1.3.ebuild
index bdee3e7c9c5..cf6422809dd 100644
--- a/net-misc/electron-cash/electron-cash-3.1.3.ebuild
+++ b/net-misc/electron-cash/electron-cash-3.1.3.ebuild
@@ -41,10 +41,7 @@ RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/tlslite[${PYTHON_USEDEP}]
-   || (
-   dev-python/protobuf-python[${PYTHON_USEDEP}]
-   dev-libs/protobuf[python,${PYTHON_USEDEP}]
-   )
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
virtual/python-dnspython[${PYTHON_USEDEP}]
qrcode? ( media-gfx/zbar[v4l] )
qt5? (



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2018-02-19 Thread Zac Medico
commit: c9e0d98411cd021dce8c2992fe13c0d070be3040
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Feb 19 08:49:17 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Feb 19 08:55:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e0d984

net-misc/electron-cash: version bump to 3.1.3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/electron-cash/Manifest | 2 +-
 .../{electron-cash-3.0.ebuild => electron-cash-3.1.3.ebuild}| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
index 9d2539917da..9e516e83c80 100644
--- a/net-misc/electron-cash/Manifest
+++ b/net-misc/electron-cash/Manifest
@@ -1 +1 @@
-DIST electron-cash-3.0.tar.gz 1623371 BLAKE2B 
3311ce41dd40de82ce9f96763fd527505eabda0c9ac10e5076c5dbc3ed73c4f1f299a62e39b5fd696468408bd3764c7dceca36b006d18394d72f61e14f6417b5
 SHA512 
b136d9099e8cc3b248a4cb525c6aeb4a38a57809a66dc8e897bee34fde071b5a14bbe6283ad3bf50087be8544508e078824c249ead0e1914ef7622688fef7e5e
+DIST electron-cash-3.1.3.tar.gz 1643903 BLAKE2B 
ff7c4f8d10b680c9fe3fcb949349cdbc84acb49939b33af2816f8154c3675241e3637bc326af9c2a662588571aeab37de86eb89a627e934b824114c3907a8158
 SHA512 
267f434ef09bea23b79a9ad8cb8e734a7e1ece7d17d2e2cc91496af3d0fcb035256ec3977c2fbeff4c7ac16193a0a185041fd526c46129fcea62bcdfe043a208

diff --git a/net-misc/electron-cash/electron-cash-3.0.ebuild 
b/net-misc/electron-cash/electron-cash-3.1.3.ebuild
similarity index 99%
rename from net-misc/electron-cash/electron-cash-3.0.ebuild
rename to net-misc/electron-cash/electron-cash-3.1.3.ebuild
index f8603f1296c..bdee3e7c9c5 100644
--- a/net-misc/electron-cash/electron-cash-3.0.ebuild
+++ b/net-misc/electron-cash/electron-cash-3.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-PYTHON_COMPAT=( python3_{4,5} )
+PYTHON_COMPAT=( python3_{4,5,6} )
 PYTHON_REQ_USE="ncurses?"
 
 inherit distutils-r1 gnome2-utils xdg-utils



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2018-01-07 Thread Ulrich Müller
commit: 5061d59e088a681caabcd9c2c25957ad3d42c134
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Jan  7 20:50:08 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Jan  7 20:50:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5061d59e

net-misc/electron-cash: Migrate from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/electron-cash/electron-cash-3.0.ebuild | 17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-3.0.ebuild 
b/net-misc/electron-cash/electron-cash-3.0.ebuild
index 742fcd67f94..f8603f1296c 100644
--- a/net-misc/electron-cash/electron-cash-3.0.ebuild
+++ b/net-misc/electron-cash/electron-cash-3.0.ebuild
@@ -16,13 +16,8 @@ 
SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> ${P}.tar.
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-LINGUAS="es_ES ja_JP pt_BR pt_PT zh_CN"
-
-IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb"
-
-for lingua in ${LINGUAS}; do
-   IUSE+=" linguas_${lingua}"
-done
+IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb
+   l10n_es l10n_ja l10n_pt l10n_zh-CN"
 
 REQUIRED_USE="
|| ( cli ncurses qt5 )
@@ -76,10 +71,10 @@ src_prepare() {
 
local wordlist=
for wordlist in  \
-   $(usex linguas_ja_JP '' japanese) \
-   $(usex linguas_pt_BR '' $(usex linguas_pt_PT '' portuguese)) \
-   $(usex linguas_es_ES '' spanish) \
-   $(usex linguas_zh_CN '' chinese_simplified) \
+   $(usex l10n_ja '' japanese) \
+   $(usex l10n_pt '' portuguese) \
+   $(usex l10n_es '' spanish) \
+   $(usex l10n_zh-CN '' chinese_simplified) \
; do
rm -f "lib/wordlist/${wordlist}.txt" || die
sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/

2018-01-06 Thread Zac Medico
commit: 56204685beaa524ee15f791ef996d06e9010454b
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Jan  6 12:04:28 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Jan  6 12:07:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56204685

net-misc/electron-cash: fix for qt5 disabled

Closes: https://bugs.gentoo.org/642344
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/electron-cash/electron-cash-3.0.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-misc/electron-cash/electron-cash-3.0.ebuild 
b/net-misc/electron-cash/electron-cash-3.0.ebuild
index 74a0b17301d..742fcd67f94 100644
--- a/net-misc/electron-cash/electron-cash-3.0.ebuild
+++ b/net-misc/electron-cash/electron-cash-3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -68,7 +68,11 @@ src_prepare() {
# Prevent icon from being installed in the wrong location
sed -i '/icons/d' setup.py || die
 
-   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+   if use qt5; then
+   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+   else
+   sed "s|'electroncash_gui.qt',||" -i setup.py || die
+   fi
 
local wordlist=
for wordlist in  \



[gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/files/, net-misc/electron-cash/

2017-12-23 Thread Zac Medico
commit: c5af5f0d482540243b7c92d636fd5982aa51353a
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Dec 23 23:15:06 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Dec 23 23:20:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5af5f0d

net-misc/electron-cash: new package

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/electron-cash/Manifest|   1 +
 net-misc/electron-cash/electron-cash-3.0.ebuild| 155 +
 .../electron-cash/files/2.8.0-no-user-root.patch   |  15 ++
 net-misc/electron-cash/metadata.xml|  21 +++
 4 files changed, 192 insertions(+)

diff --git a/net-misc/electron-cash/Manifest b/net-misc/electron-cash/Manifest
new file mode 100644
index 000..9d2539917da
--- /dev/null
+++ b/net-misc/electron-cash/Manifest
@@ -0,0 +1 @@
+DIST electron-cash-3.0.tar.gz 1623371 BLAKE2B 
3311ce41dd40de82ce9f96763fd527505eabda0c9ac10e5076c5dbc3ed73c4f1f299a62e39b5fd696468408bd3764c7dceca36b006d18394d72f61e14f6417b5
 SHA512 
b136d9099e8cc3b248a4cb525c6aeb4a38a57809a66dc8e897bee34fde071b5a14bbe6283ad3bf50087be8544508e078824c249ead0e1914ef7622688fef7e5e

diff --git a/net-misc/electron-cash/electron-cash-3.0.ebuild 
b/net-misc/electron-cash/electron-cash-3.0.ebuild
new file mode 100644
index 000..74a0b17301d
--- /dev/null
+++ b/net-misc/electron-cash/electron-cash-3.0.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5} )
+PYTHON_REQ_USE="ncurses?"
+
+inherit distutils-r1 gnome2-utils xdg-utils
+
+MY_P="electrum-${PV}"
+DESCRIPTION="Lightweight Bitcoin Cash client (BCH fork of Electrum)"
+HOMEPAGE="https://github.com/fyookball/electrum/;
+SRC_URI="https://github.com/fyookball/electrum/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LINGUAS="es_ES ja_JP pt_BR pt_PT zh_CN"
+
+IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb"
+
+for lingua in ${LINGUAS}; do
+   IUSE+=" linguas_${lingua}"
+done
+
+REQUIRED_USE="
+   || ( cli ncurses qt5 )
+   audio_modem? ( qt5 )
+   cosign? ( qt5 )
+   digitalbitbox? ( qt5 )
+   email? ( qt5 )
+   qrcode? ( qt5 )
+   sync? ( qt5 )
+   vkb? ( qt5 )
+"
+
+RDEPEND="
+   dev-python/ecdsa[${PYTHON_USEDEP}]
+   dev-python/jsonrpclib[${PYTHON_USEDEP}]
+   dev-python/pbkdf2[${PYTHON_USEDEP}]
+   dev-python/pyaes[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/qrcode[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/tlslite[${PYTHON_USEDEP}]
+   || (
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   dev-libs/protobuf[python,${PYTHON_USEDEP}]
+   )
+   virtual/python-dnspython[${PYTHON_USEDEP}]
+   qrcode? ( media-gfx/zbar[v4l] )
+   qt5? (
+   dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+   )
+   ncurses? ( dev-lang/python )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="RELEASE-NOTES"
+
+src_prepare() {
+   eapply "${FILESDIR}/2.8.0-no-user-root.patch"
+
+   # Prevent icon from being installed in the wrong location
+   sed -i '/icons/d' setup.py || die
+
+   pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+
+   local wordlist=
+   for wordlist in  \
+   $(usex linguas_ja_JP '' japanese) \
+   $(usex linguas_pt_BR '' $(usex linguas_pt_PT '' portuguese)) \
+   $(usex linguas_es_ES '' spanish) \
+   $(usex linguas_zh_CN '' chinese_simplified) \
+   ; do
+   rm -f "lib/wordlist/${wordlist}.txt" || die
+   sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die
+   done
+
+   # Remove unrequested GUI implementations:
+   local gui setup_py_gui
+   for gui in  \
+   $(usex cli  '' stdio)  \
+   kivy \
+   $(usex qt5  '' qt   )  \
+   $(usex ncurses  '' text )  \
+   ; do
+   rm gui/"${gui}"* -r || die
+   done
+
+   # And install requested ones...
+   for gui in  \
+   $(usex qt5  qt   '')  \
+   ; do
+   setup_py_gui="${setup_py_gui}'electrum_gui.${gui}',"
+   done
+
+   sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die
+
+   local bestgui
+   if use qt5; then
+   bestgui=qt
+   elif use ncurses; then
+   bestgui=text
+   else
+   bestgui=stdio
+   fi
+   sed -i 's/^\([[:space:]]*\)\(config_options\['\''cwd'\''\] = 
.*\)$/\1\2\n\1config_options.setdefault("gui", "'"${bestgui}"'")\n/' "${PN}" || 
die
+
+   local plugin
+   # trezor requires python trezorlib module
+   # keepkey requires trezor
+