public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2018-01-06 12:07 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2018-01-06 12:07 UTC (permalink / raw
  To: gentoo-commits

commit:     56204685beaa524ee15f791ef996d06e9010454b
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 12:04:28 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 12:07:01 2018 +0000
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  \


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2018-01-07 20:51 Ulrich Müller
  0 siblings, 0 replies; 24+ messages in thread
From: Ulrich Müller @ 2018-01-07 20:51 UTC (permalink / raw
  To: gentoo-commits

commit:     5061d59e088a681caabcd9c2c25957ad3d42c134
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 20:50:08 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 20:50:57 2018 +0000
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


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2018-02-19  8:55 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2018-02-19  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     c9e0d98411cd021dce8c2992fe13c0d070be3040
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 08:49:17 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 08:55:39 2018 +0000
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


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2018-04-30 15:58 Mike Gilbert
  0 siblings, 0 replies; 24+ messages in thread
From: Mike Gilbert @ 2018-04-30 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     c52dd182814e9e0219c4fbaaa9e07b3c8fe72833
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Apr 30 15:05:50 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Apr 30 15:39:51 2018 +0000
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? (


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2019-04-25  4:51 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2019-04-25  4:51 UTC (permalink / raw
  To: gentoo-commits

commit:     603459de713f54a93d9752244aa79091835425db
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 04:33:34 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 04:51:32 2019 +0000
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 <zmedico <AT> 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 00000000000..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 '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
+	for plugin in  \
+		$(usex audio_modem     '' audio_modem          ) \
+		$(usex cosign          '' cosigner_pool        ) \
+		$(usex digitalbitbox   '' digitalbitbox        ) \
+		$(usex email           '' email_requests       ) \
+		hw_wallet \
+		ledger \
+		keepkey \
+		$(usex sync            '' labels               ) \
+		trezor  \
+		$(usex vkb             '' virtualkeyboard      ) \
+	; do
+		rm -r plugins/"${plugin}"* || die
+		sed -i "/${plugin}/d" setup.py || die
+	done
+
+	eapply_user
+
+	distutils-r1_src_prepare
+}
+
+src_install() {
+	doicon -s 128 icons/${PN}.png
+	distutils-r1_src_install
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2019-07-30  6:00 Michał Górny
  0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2019-07-30  6:00 UTC (permalink / raw
  To: gentoo-commits

commit:     260b2210a447d5648141cc75eeeb12f4999dbbcb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 05:39:58 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 05:39:58 2019 +0000
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 <mgorny <AT> 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}]


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2019-07-30  6:04 Michał Górny
  0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2019-07-30  6:04 UTC (permalink / raw
  To: gentoo-commits

commit:     9fbb8c8de921a026e3544955a77dc81d1229ea2a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 06:04:11 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 06:04:11 2019 +0000
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 <mgorny <AT> 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


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2020-02-17  8:57 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2020-02-17  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     99745f2bf07eb45234fbf5de9e36383641ec207b
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 08:48:20 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 08:57:30 2020 +0000
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 <zmedico <AT> 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? (


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2020-02-17  8:57 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2020-02-17  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     8f5486fac00989c3c1bc71a747cb0d26815f1f9a
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 08:37:23 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 08:57:30 2020 +0000
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 <zmedico <AT> 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..00000000000
--- 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'\''\] = .*\)$/\1\2\n\1config_options.setdefault("gui", "'"${bestgui}"'")\n/' "${PN}" || die
-
-	local plugin
-	# trezor requires python trezorlib module
-	# keepkey requires trezor
-	for plugin in  \
-		$(usex audio_modem     '' audio_modem          ) \
-		$(usex cosign          '' cosigner_pool        ) \
-		$(usex digitalbitbox   '' digitalbitbox        ) \
-		$(usex email           '' email_requests       ) \
-		hw_wallet \
-		ledger \
-		keepkey \
-		$(usex sync            '' labels               ) \
-		trezor  \
-		$(usex vkb             '' virtualkeyboard      ) \
-	; do
-		rm -r plugins/"${plugin}"* || die
-		sed -i "/${plugin}/d" setup.py || die
-	done
-
-	eapply_user
-
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	doicon -s 128 icons/${PN}.png
-	distutils-r1_src_install
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2020-05-24 19:08 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2020-05-24 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     6d76bcb0ad3ae029307e823f6f816885f3d32c6d
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun May 24 13:35:38 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun May 24 19:08:29 2020 +0000
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 <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> 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)"


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2020-12-06  0:01 Aaron Bauman
  0 siblings, 0 replies; 24+ messages in thread
From: Aaron Bauman @ 2020-12-06  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     5e72a7399f6867bdc4fd274c0c4a8a29681f4371
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 00:00:37 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 00:00:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e72a739

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

Signed-off-by: Aaron Bauman <bman <AT> 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


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2020-12-30 23:02 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2020-12-30 23:02 UTC (permalink / raw
  To: gentoo-commits

commit:     fe37ca202ac02e251e491429911bfce5eb45c782
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 30 22:35:48 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Dec 30 23:02:00 2020 +0000
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 <zmedico <AT> 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 00000000000..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
+	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
+	for plugin in  \
+		$(usex amodem          '' audio_modem          ) \
+		$(usex cosign          '' cosigner_pool        ) \
+		$(usex digitalbitbox   '' digitalbitbox        ) \
+		$(usex email           '' email_requests       ) \
+		hw_wallet \
+		ledger \
+		keepkey \
+		$(usex sync            '' labels               ) \
+		trezor  \
+		$(usex vkb             '' virtualkeyboard      ) \
+	; do
+		rm -r electroncash_plugins/"${plugin}"* || die
+		sed -i "/${plugin}/d" setup.py || die
+	done
+
+	eapply_user
+
+	distutils-r1_src_prepare
+}
+
+src_install() {
+	doicon -s 128 icons/${PN}.png
+	distutils-r1_src_install
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}

diff --git a/net-misc/electron-cash/metadata.xml b/net-misc/electron-cash/metadata.xml
index c3d5eefc5be..cdb10e31e10 100644
--- a/net-misc/electron-cash/metadata.xml
+++ b/net-misc/electron-cash/metadata.xml
@@ -7,7 +7,8 @@
 	</maintainer>
 	<use>
 		<flag name="cli">Enables the CLI interface</flag>
-		<flag name="audio_modem">Enable plugin to support Audio Modem</flag>
+		<flag name="amodem">Enable plugin to support Audio Modem</flag>
+		<flag name="audio_modem">Deprecated name for amodem</flag>
 		<flag name="cosign">Enable plugin to support multisig wallets between multiple Electrum clients</flag>
 		<flag name="digitalbitbox">Enable plugin to support Digital Bitbox hardware wallet</flag>
 		<flag name="email">Enable plugin to support emailing invoices</flag>


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-19  3:58 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-19  3:58 UTC (permalink / raw
  To: gentoo-commits

commit:     de05b26f36067e3bbf7d30b4048fbe14801c0c3f
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 03:14:25 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 19 03:58:00 2022 +0000
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 <zmedico <AT> 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 000000000000..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 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
+	for plugin in  \
+		$(usex amodem          '' audio_modem          ) \
+		$(usex cosign          '' cosigner_pool        ) \
+		$(usex digitalbitbox   '' digitalbitbox        ) \
+		$(usex email           '' email_requests       ) \
+		hw_wallet \
+		ledger \
+		keepkey \
+		$(usex sync            '' labels               ) \
+		trezor  \
+		$(usex vkb             '' virtualkeyboard      ) \
+	; do
+		rm -r electroncash_plugins/"${plugin}"* || die
+		sed -i "/${plugin}/d" setup.py || die
+	done
+
+	eapply_user
+
+	distutils-r1_src_prepare
+}
+
+src_install() {
+	doicon -s 128 icons/${PN}.png
+	distutils-r1_src_install
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-19  3:59 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-19  3:59 UTC (permalink / raw
  To: gentoo-commits

commit:     bda14af925343f211917ba9f791407ee6bc6106e
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 03:59:48 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 19 03:59:48 2022 +0000
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 <zmedico <AT> 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..000000000000
--- 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}',"
-	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
-	for plugin in  \
-		$(usex audio_modem     '' audio_modem          ) \
-		$(usex cosign          '' cosigner_pool        ) \
-		$(usex digitalbitbox   '' digitalbitbox        ) \
-		$(usex email           '' email_requests       ) \
-		hw_wallet \
-		ledger \
-		keepkey \
-		$(usex sync            '' labels               ) \
-		trezor  \
-		$(usex vkb             '' virtualkeyboard      ) \
-	; do
-		rm -r plugins/"${plugin}"* || die
-		sed -i "/${plugin}/d" setup.py || die
-	done
-
-	eapply_user
-
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	doicon -s 128 icons/${PN}.png
-	distutils-r1_src_install
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}

diff --git a/net-misc/electron-cash/electron-cash-4.2.3.ebuild b/net-misc/electron-cash/electron-cash-4.2.3.ebuild
deleted file mode 100644
index 2bd6c9e8666a..000000000000
--- a/net-misc/electron-cash/electron-cash-4.2.3.ebuild
+++ /dev/null
@@ -1,154 +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="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
-	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
-	for plugin in  \
-		$(usex amodem          '' audio_modem          ) \
-		$(usex cosign          '' cosigner_pool        ) \
-		$(usex digitalbitbox   '' digitalbitbox        ) \
-		$(usex email           '' email_requests       ) \
-		hw_wallet \
-		ledger \
-		keepkey \
-		$(usex sync            '' labels               ) \
-		trezor  \
-		$(usex vkb             '' virtualkeyboard      ) \
-	; do
-		rm -r electroncash_plugins/"${plugin}"* || die
-		sed -i "/${plugin}/d" setup.py || die
-	done
-
-	eapply_user
-
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	doicon -s 128 icons/${PN}.png
-	distutils-r1_src_install
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-19  4:00 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-19  4:00 UTC (permalink / raw
  To: gentoo-commits

commit:     1ff19cdebdb4a346b7d79972876d5a59c41a46c5
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 04:00:48 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 19 04:00:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff19cde

net-misc/electron-cash: update upstream metadata

Signed-off-by: Zac Medico <zmedico <AT> 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 @@
 		<flag name="vkb">Enable plugin for virtual keyboard</flag>
 	</use>
 	<upstream>
-		<remote-id type="github">fyookball/electrum</remote-id>
+		<remote-id type="github">Electron-Cash/Electron-Cash</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-20  1:35 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-20  1:35 UTC (permalink / raw
  To: gentoo-commits

commit:     233d82ecca56ddef35e05679a783f17b89575029
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri May 20 01:34:31 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri May 20 01:34:31 2022 +0000
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 <zmedico <AT> 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
 }


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-28 18:22 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-28 18:22 UTC (permalink / raw
  To: gentoo-commits

commit:     39f53025fb572acde23ffc366db36f7b7e8008f1
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 18:20:55 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat May 28 18:22:14 2022 +0000
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 <zmedico <AT> 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 )


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-28 18:44 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-28 18:44 UTC (permalink / raw
  To: gentoo-commits

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

net-misc/electron-cash: fix QA warnings

Signed-off-by: Zac Medico <zmedico <AT> 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 @@
 	<use>
 		<flag name="cli">Enables the CLI interface</flag>
 		<flag name="amodem">Enable plugin to support Audio Modem</flag>
-		<flag name="audio_modem">Deprecated name for amodem</flag>
 		<flag name="cosign">Enable plugin to support multisig wallets between multiple Electrum clients</flag>
 		<flag name="digitalbitbox">Enable plugin to support Digital Bitbox hardware wallet</flag>
 		<flag name="email">Enable plugin to support emailing invoices</flag>


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-05-28 18:59 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-05-28 18:59 UTC (permalink / raw
  To: gentoo-commits

commit:     be2405cdcb375edabfa0d5ff55abf80758996fb3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 18:59:15 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat May 28 18:59:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2405cd

net-misc/electron-cash: add 4.2.10

Signed-off-by: Zac Medico <zmedico <AT> 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 000000000000..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
+		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
+	for plugin in  \
+		$(usex amodem          '' audio_modem          ) \
+		$(usex cosign          '' cosigner_pool        ) \
+		$(usex digitalbitbox   '' digitalbitbox        ) \
+		$(usex email           '' email_requests       ) \
+		hw_wallet \
+		ledger \
+		keepkey \
+		$(usex sync            '' labels               ) \
+		trezor  \
+		$(usex vkb             '' virtualkeyboard      ) \
+	; do
+		rm -r electroncash_plugins/"${plugin}"* || die
+		sed -i "/${plugin}/d" setup.py || die
+	done
+
+	eapply_user
+
+	distutils-r1_src_prepare
+}
+
+src_install() {
+	doicon -s 128 icons/${PN}.png
+	distutils-r1_src_install
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2022-08-26 20:43 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2022-08-26 20:43 UTC (permalink / raw
  To: gentoo-commits

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

net-misc/electron-cash: add 4.2.11

Signed-off-by: Zac Medico <zmedico <AT> 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 000000000000..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  \
+		$(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
+	for plugin in  \
+		$(usex amodem          '' audio_modem          ) \
+		$(usex cosign          '' cosigner_pool        ) \
+		$(usex digitalbitbox   '' digitalbitbox        ) \
+		$(usex email           '' email_requests       ) \
+		hw_wallet \
+		ledger \
+		keepkey \
+		$(usex sync            '' labels               ) \
+		trezor  \
+		$(usex vkb             '' virtualkeyboard      ) \
+	; do
+		rm -r electroncash_plugins/"${plugin}"* || die
+		sed -i "/${plugin}/d" setup.py || die
+	done
+
+	eapply_user
+
+	distutils-r1_src_prepare
+}
+
+src_install() {
+	doicon -s 128 icons/${PN}.png
+	distutils-r1_src_install
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2023-05-04  5:29 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2023-05-04  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     d16156f55876a931ff43063c76dff2ca957d1065
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May  4 05:27:04 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May  4 05:29:07 2023 +0000
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 <zmedico <AT> 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?"
 


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2023-05-04  5:29 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2023-05-04  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     bf94dd592ed275b3c482b245178dc0a8b0c45959
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May  4 05:20:01 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May  4 05:29:07 2023 +0000
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 <zmedico <AT> 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..000000000000
--- 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 || 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
-	for plugin in  \
-		$(usex amodem          '' audio_modem          ) \
-		$(usex cosign          '' cosigner_pool        ) \
-		$(usex digitalbitbox   '' digitalbitbox        ) \
-		$(usex email           '' email_requests       ) \
-		hw_wallet \
-		ledger \
-		keepkey \
-		$(usex sync            '' labels               ) \
-		trezor  \
-		$(usex vkb             '' virtualkeyboard      ) \
-	; do
-		rm -r electroncash_plugins/"${plugin}"* || die
-		sed -i "/${plugin}/d" setup.py || die
-	done
-
-	eapply_user
-
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	doicon -s 128 icons/${PN}.png
-	distutils-r1_src_install
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-}

diff --git a/net-misc/electron-cash/electron-cash-4.2.9.ebuild b/net-misc/electron-cash/electron-cash-4.2.9.ebuild
deleted file mode 100644
index a3c9f12450d9..000000000000
--- a/net-misc/electron-cash/electron-cash-4.2.9.ebuild
+++ /dev/null
@@ -1,154 +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"
-
-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
-"
-
-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
-		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
-	for plugin in  \
-		$(usex amodem          '' audio_modem          ) \
-		$(usex cosign          '' cosigner_pool        ) \
-		$(usex digitalbitbox   '' digitalbitbox        ) \
-		$(usex email           '' email_requests       ) \
-		hw_wallet \
-		ledger \
-		keepkey \
-		$(usex sync            '' labels               ) \
-		trezor  \
-		$(usex vkb             '' virtualkeyboard      ) \
-	; do
-		rm -r electroncash_plugins/"${plugin}"* || die
-		sed -i "/${plugin}/d" setup.py || die
-	done
-
-	eapply_user
-
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	doicon -s 128 icons/${PN}.png
-	distutils-r1_src_install
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2024-03-07  3:59 Zac Medico
  0 siblings, 0 replies; 24+ messages in thread
From: Zac Medico @ 2024-03-07  3:59 UTC (permalink / raw
  To: gentoo-commits

commit:     f5cb62bafa6dcb1d18ce781c7e69be6e11af743b
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  7 03:57:20 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Mar  7 03:59:17 2024 +0000
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 <zmedico <AT> 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


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/
@ 2024-06-08 14:45 David Seifert
  0 siblings, 0 replies; 24+ messages in thread
From: David Seifert @ 2024-06-08 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     ae02a0a876f45a7e7e490278a8f22dd8f1a67e13
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  8 14:44:20 2024 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jun  8 14:44:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae02a0a8

net-misc/electron-cash: remove gnome2_icon_savelist call

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-misc/electron-cash/electron-cash-4.2.11.ebuild | 4 ----
 1 file changed, 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 993cd0db3cc4..8ca0f0b82471 100644
--- a/net-misc/electron-cash/electron-cash-4.2.11.ebuild
+++ b/net-misc/electron-cash/electron-cash-4.2.11.ebuild
@@ -147,10 +147,6 @@ src_install() {
 	distutils-r1_src_install
 }
 
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
 pkg_postinst() {
 	xdg_icon_cache_update
 	xdg_desktop_database_update


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-06-08 14:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-30 23:02 [gentoo-commits] repo/gentoo:master commit in: net-misc/electron-cash/ Zac Medico
  -- strict thread matches above, loose matches on Subject: below --
2024-06-08 14:45 David Seifert
2024-03-07  3:59 Zac Medico
2023-05-04  5:29 Zac Medico
2023-05-04  5:29 Zac Medico
2022-08-26 20:43 Zac Medico
2022-05-28 18:59 Zac Medico
2022-05-28 18:44 Zac Medico
2022-05-28 18:22 Zac Medico
2022-05-20  1:35 Zac Medico
2022-05-19  4:00 Zac Medico
2022-05-19  3:59 Zac Medico
2022-05-19  3:58 Zac Medico
2020-12-06  0:01 Aaron Bauman
2020-05-24 19:08 Zac Medico
2020-02-17  8:57 Zac Medico
2020-02-17  8:57 Zac Medico
2019-07-30  6:04 Michał Górny
2019-07-30  6:00 Michał Górny
2019-04-25  4:51 Zac Medico
2018-04-30 15:58 Mike Gilbert
2018-02-19  8:55 Zac Medico
2018-01-07 20:51 Ulrich Müller
2018-01-06 12:07 Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox