Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
Date: Sat, 31 Dec 2022 13:31:52
Message-Id: 1672493502.98f17fb68173e4337e0108259cb7c2b092d6dfd3.mgorny@gentoo
1 commit: 98f17fb68173e4337e0108259cb7c2b092d6dfd3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 13:29:28 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 31 13:31:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f17fb6
7
8 net-misc/electrum: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-misc/electrum/Manifest | 1 -
13 net-misc/electrum/electrum-4.3.1.ebuild | 95 ---------------------------------
14 2 files changed, 96 deletions(-)
15
16 diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest
17 index 2031ec8d4ea7..764d2fca0cee 100644
18 --- a/net-misc/electrum/Manifest
19 +++ b/net-misc/electrum/Manifest
20 @@ -1,2 +1 @@
21 -DIST electrum-4.3.1.gh.tar.gz 5444509 BLAKE2B 68d63b730396c229bcb09262740a7d3ef322fce7fd16265d352e3eb2039e123d043307036d906b1688cc43d33620cf1b8f7aaa03ac9f5d68e5f9a2b84e6d44a7 SHA512 038b7c643ed11fe14e368be91bc09e5f043d4ae86cdf0ad0d80861ffa47aececcc4b0bec5a8596a8d78590b859bf302ed99d2d57bab1a2a053677fc7fa190e06
22 DIST electrum-4.3.2.gh.tar.gz 5460546 BLAKE2B b2367116aef2a2a76dca30a635188bcd99f0fdd46ce6e8c5a2d6608fbb8f0a58e88b8352c5db92b7c8709f7bbc420fc1860204aca1efc2f2c4be2c788bfa1909 SHA512 dfb137e01ca6e511fb5ac70c34dcb01f36bdb209d7d290bd53c8fa5f95783f346898478d6e58435b241928dfe05ff46455e2e587520d47892c66b3198ab89c82
23
24 diff --git a/net-misc/electrum/electrum-4.3.1.ebuild b/net-misc/electrum/electrum-4.3.1.ebuild
25 deleted file mode 100644
26 index 719d71694cf4..000000000000
27 --- a/net-misc/electrum/electrum-4.3.1.ebuild
28 +++ /dev/null
29 @@ -1,95 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -DISTUTILS_USE_PEP517=setuptools
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -PYTHON_REQ_USE="ncurses?"
38 -
39 -inherit distutils-r1 xdg-utils
40 -
41 -DESCRIPTION="User friendly Bitcoin client"
42 -HOMEPAGE="
43 - https://electrum.org/
44 - https://github.com/spesmilo/electrum/
45 -"
46 -SRC_URI="
47 - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz
48 - -> ${P}.gh.tar.gz
49 -"
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -KEYWORDS="amd64 x86"
54 -IUSE="cli ncurses qrcode +qt5"
55 -REQUIRED_USE="|| ( cli ncurses qt5 )"
56 -
57 -RDEPEND="
58 - ${PYTHON_DEPS}
59 - dev-libs/libsecp256k1
60 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}]
61 - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}]
62 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
63 - dev-python/bitstring[${PYTHON_USEDEP}]
64 - dev-python/cryptography[${PYTHON_USEDEP}]
65 - >=dev-python/dnspython-2[${PYTHON_USEDEP}]
66 - dev-python/pbkdf2[${PYTHON_USEDEP}]
67 - dev-python/PySocks[${PYTHON_USEDEP}]
68 - dev-python/qrcode[${PYTHON_USEDEP}]
69 - dev-python/requests[${PYTHON_USEDEP}]
70 - dev-python/setuptools[${PYTHON_USEDEP}]
71 - dev-python/six[${PYTHON_USEDEP}]
72 - >=dev-python/protobuf-python-3.12[${PYTHON_USEDEP}]
73 - qrcode? ( media-gfx/zbar[v4l] )
74 - qt5? (
75 - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
76 - )
77 - ncurses? ( $(python_gen_impl_dep 'ncurses') )
78 -"
79 -BDEPEND="
80 - test? (
81 - dev-python/pyaes[${PYTHON_USEDEP}]
82 - dev-python/pycryptodome[${PYTHON_USEDEP}]
83 - )
84 -"
85 -
86 -distutils_enable_tests pytest
87 -
88 -src_prepare() {
89 - # use backwards-compatible cryptodome API
90 - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die
91 -
92 - # make qdarkstyle dep optional
93 - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die
94 -
95 - local bestgui
96 - if use qt5; then
97 - bestgui=qt
98 - elif use ncurses; then
99 - bestgui=text
100 - else
101 - bestgui=stdio
102 - fi
103 - sed -i 's/^\([[:space:]]*\)\(config_options\['\''cwd'\''\] = .*\)$/\1\2\n\1config_options.setdefault("gui", "'"${bestgui}"'")\n/' ${PN}/${PN} || die
104 -
105 - eapply_user
106 -
107 - xdg_environment_reset
108 - distutils-r1_src_prepare
109 -}
110 -
111 -src_install() {
112 - dodoc RELEASE-NOTES
113 - distutils-r1_src_install
114 -}
115 -
116 -pkg_postinst() {
117 - xdg_icon_cache_update
118 - xdg_desktop_database_update
119 -}
120 -
121 -pkg_postrm() {
122 - xdg_icon_cache_update
123 - xdg_desktop_database_update
124 -}