[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 151d18356a84c81117eff6e3f23169948114f205 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 15 09:40:14 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 09:40:14 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151d1835 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 - net-misc/electrum/electrum-4.5.4.ebuild | 119 2 files changed, 120 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 614a43a5cafc..dabbb482a982 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1 @@ -DIST electrum-4.5.4.gh.tar.gz 4911082 BLAKE2B 89a58966426b705e0ddfadd75d4c2996976abb66695edd5d426c0232f58a2da701f20112f31a2498858c61a4a1cd9e048b44072bad128b54651929b96341c1c3 SHA512 3fda9a931067e35d8bc11da883a1208428975fe65b0fc20eb26bdd2c3840b5c3ed4261e60344c7256461887d286e432568ef385d9c6b1216e708e099b34b DIST electrum-4.5.5.gh.tar.gz 4927614 BLAKE2B 9b0bdf4f79ed15279bd8485b9d7fd1d911a5cdc6c3a2deb5e72dad7cd232c87d3f41f10ab572ab3969c9d1ddc65742d1983369a43946ab7f321d49975a50b41a SHA512 28121665cad7bc540600562d4d3e72e20108785c096647fdcc9eb8c26616a04730f53ba53b19f6a332eadc8e20a5524b33dab3719421aeb2b51a0531f9e8ef11 diff --git a/net-misc/electrum/electrum-4.5.4.ebuild b/net-misc/electrum/electrum-4.5.4.ebuild deleted file mode 100644 index 2c984c185636.. --- a/net-misc/electrum/electrum-4.5.4.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] - =dev-python/aiorpcx-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/pbkdf2[${PYTHON_USEDEP}] - dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # test for qml/PyQt6 GUI that doesn't work anyway - tests/test_qml_types.py -) - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die - - # remove upper bounds from deps - sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - - local v - for v in ${REPLACING_VERSIONS}; do - ver_test "${v}" -ge 4.3.4 && return - done - - ewarn "If you are new to BitCoin, please be aware that:" - ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" - ewarn " changes of value in the past." - ewarn "2. Cryptocurrency ownership is determined solely by the access to" - ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" - ewarn " lost." - ewarn "3. Proof-of-work based cryptocu
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 3f4ff019c3f8a57c7cc0e58560826f314a467656 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jun 15 08:50:00 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jun 15 08:50:00 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4ff019 net-misc/electrum: Stabilize 4.5.5 ALLARCHES, #934354 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/electrum/electrum-4.5.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.5.5.ebuild b/net-misc/electrum/electrum-4.5.5.ebuild index 85c8d7cc1e8f..404378f8879a 100644 --- a/net-misc/electrum/electrum-4.5.5.ebuild +++ b/net-misc/electrum/electrum-4.5.5.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 1156591e7d79fb95241f75d55602ae48b06f00f3 Author: Michał Górny gentoo org> AuthorDate: Thu May 30 03:51:04 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu May 30 04:03:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1156591e net-misc/electrum: Bump to 4.5.5 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.5.5.ebuild | 118 2 files changed, 119 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index fac2490a9d79..614a43a5cafc 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.5.4.gh.tar.gz 4911082 BLAKE2B 89a58966426b705e0ddfadd75d4c2996976abb66695edd5d426c0232f58a2da701f20112f31a2498858c61a4a1cd9e048b44072bad128b54651929b96341c1c3 SHA512 3fda9a931067e35d8bc11da883a1208428975fe65b0fc20eb26bdd2c3840b5c3ed4261e60344c7256461887d286e432568ef385d9c6b1216e708e099b34b +DIST electrum-4.5.5.gh.tar.gz 4927614 BLAKE2B 9b0bdf4f79ed15279bd8485b9d7fd1d911a5cdc6c3a2deb5e72dad7cd232c87d3f41f10ab572ab3969c9d1ddc65742d1983369a43946ab7f321d49975a50b41a SHA512 28121665cad7bc540600562d4d3e72e20108785c096647fdcc9eb8c26616a04730f53ba53b19f6a332eadc8e20a5524b33dab3719421aeb2b51a0531f9e8ef11 diff --git a/net-misc/electrum/electrum-4.5.5.ebuild b/net-misc/electrum/electrum-4.5.5.ebuild new file mode 100644 index ..85c8d7cc1e8f --- /dev/null +++ b/net-misc/electrum/electrum-4.5.5.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] + =dev-python/aiorpcx-0.23*[${PYTHON_USEDEP}] + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # test for qml/PyQt6 GUI that doesn't work anyway + tests/test_qml_types.py +) + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" + ewarn " lost." + ewarn "3. Proof-of-work based cryptocurrencies have negative environmental" +
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: bd1fc5d104c7b3537f1db3529e3d5ec2b6756274 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 30 13:59:52 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 30 13:59:52 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd1fc5d1 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 2 - net-misc/electrum/electrum-4.5.2.ebuild | 114 -- net-misc/electrum/electrum-4.5.3.ebuild | 119 3 files changed, 235 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 519d573c3821..fac2490a9d79 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1 @@ -DIST electrum-4.5.2.gh.tar.gz 4831743 BLAKE2B 862afbe9d0bfef8f6799441f62f2f36958048262a46254afb67ff6c8838e708fe1d7c53b780a6710941cb04000732c2889e77deb2363fef65c89a9ca840e5987 SHA512 c72b576a4c054fb713600751dfdfd520a4c7fe68676eb8877fc6a744f2a3716ae5d49de8229787d1da8d284ac9d89515404ab17daa9bc860d05d54b5184eaa6d -DIST electrum-4.5.3.gh.tar.gz 4857951 BLAKE2B fcca35b2d5bb1ab9cc47440cd72d6a6615436d93fba752c4efe9badb7570247ae06ac678e83957da8aaedf1d12ebe7badfaef7768ef7508ee9fd4725e2785cc3 SHA512 da9bd0b3719c7f57a1885e2029540a718236c82dde14b6efa5a49e18481b559f5082ea9518ad40f5f9f1ceb1ee9f8b968bd5f4f51be7f71862e763f7f273b601 DIST electrum-4.5.4.gh.tar.gz 4911082 BLAKE2B 89a58966426b705e0ddfadd75d4c2996976abb66695edd5d426c0232f58a2da701f20112f31a2498858c61a4a1cd9e048b44072bad128b54651929b96341c1c3 SHA512 3fda9a931067e35d8bc11da883a1208428975fe65b0fc20eb26bdd2c3840b5c3ed4261e60344c7256461887d286e432568ef385d9c6b1216e708e099b34b diff --git a/net-misc/electrum/electrum-4.5.2.ebuild b/net-misc/electrum/electrum-4.5.2.ebuild deleted file mode 100644 index 11f819f51246.. --- a/net-misc/electrum/electrum-4.5.2.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcx-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/pbkdf2[${PYTHON_USEDEP}] - dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die - - # remove upper bounds from deps - sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - - local v - for v in ${REPLACING_VERSIONS}; do - ver_test "${v}" -ge 4.3.4 && return - done - - ewarn "If you are new to BitCoin, please be aware that:" - ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" - ewarn
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 0b42792ee71b1c711c82f843314b3f9f1e008b54 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 30 13:58:50 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 30 13:58:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b42792e net-misc/electrum: Stabilize 4.5.4 ALLARCHES, #928167 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.5.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.5.4.ebuild b/net-misc/electrum/electrum-4.5.4.ebuild index 4727ed6b3ce7..2c984c185636 100644 --- a/net-misc/electrum/electrum-4.5.4.ebuild +++ b/net-misc/electrum/electrum-4.5.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 5b535f4b6c1adb1756d4204141e22510234fa11c Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 17 19:29:25 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 17 19:29:25 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b535f4b net-misc/electrum: Stabilize 4.5.3 ALLARCHES, #926555 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/electrum/electrum-4.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.5.3.ebuild b/net-misc/electrum/electrum-4.5.3.ebuild index b7019b36ca92..5ac3ce1e050c 100644 --- a/net-misc/electrum/electrum-4.5.3.ebuild +++ b/net-misc/electrum/electrum-4.5.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 5be5b80fcbbafd807ad8a8890514c34200116794 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 17 16:59:08 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 17 16:59:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be5b80f net-misc/electrum: Ignore test_qml_types Closes: https://bugs.gentoo.org/927043 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.5.3.ebuild | 5 + net-misc/electrum/electrum-4.5.4.ebuild | 5 + 2 files changed, 10 insertions(+) diff --git a/net-misc/electrum/electrum-4.5.3.ebuild b/net-misc/electrum/electrum-4.5.3.ebuild index df962b238b68..b7019b36ca92 100644 --- a/net-misc/electrum/electrum-4.5.3.ebuild +++ b/net-misc/electrum/electrum-4.5.3.ebuild @@ -58,6 +58,11 @@ BDEPEND=" distutils_enable_tests pytest +EPYTEST_IGNORE=( + # test for qml/PyQt6 GUI that doesn't work anyway + tests/test_qml_types.py +) + src_prepare() { # use backwards-compatible cryptodome API sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die diff --git a/net-misc/electrum/electrum-4.5.4.ebuild b/net-misc/electrum/electrum-4.5.4.ebuild index b3fc1328b161..4727ed6b3ce7 100644 --- a/net-misc/electrum/electrum-4.5.4.ebuild +++ b/net-misc/electrum/electrum-4.5.4.ebuild @@ -58,6 +58,11 @@ BDEPEND=" distutils_enable_tests pytest +EPYTEST_IGNORE=( + # test for qml/PyQt6 GUI that doesn't work anyway + tests/test_qml_types.py +) + src_prepare() { # use backwards-compatible cryptodome API sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/, dev-python/aiorpcx/, dev-python/aiorpcX/, ...
commit: 0050a78b78b7ea37ae0c985fb703fa61432ecfd9 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 17 16:27:16 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 17 16:41:12 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0050a78b Rename dev-python/{aiorpcX → aiorpcx} Signed-off-by: Michał Górny gentoo.org> dev-python/{aiorpcX => aiorpcx}/Manifest | 0 .../aiorpcX-0.22.1-r1.ebuild => aiorpcx/aiorpcx-0.22.1-r1.ebuild} | 2 +- dev-python/{aiorpcX => aiorpcx}/metadata.xml | 0 net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild | 4 ++-- net-misc/electrum/electrum-4.5.2.ebuild | 2 +- net-misc/electrum/electrum-4.5.3.ebuild | 2 +- net-misc/electrum/electrum-4.5.4.ebuild | 2 +- profiles/updates/1Q-2024 | 1 + 8 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dev-python/aiorpcX/Manifest b/dev-python/aiorpcx/Manifest similarity index 100% rename from dev-python/aiorpcX/Manifest rename to dev-python/aiorpcx/Manifest diff --git a/dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild b/dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild similarity index 95% rename from dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild rename to dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild index 8b4ba2b07ed9..7c72f73f9006 100644 --- a/dev-python/aiorpcX/aiorpcX-0.22.1-r1.ebuild +++ b/dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/aiorpcX/metadata.xml b/dev-python/aiorpcx/metadata.xml similarity index 100% rename from dev-python/aiorpcX/metadata.xml rename to dev-python/aiorpcx/metadata.xml diff --git a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild index 64c650229a76..bc67b230cfc0 100644 --- a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,7 @@ RDEPEND=" dev-libs/libsecp256k1 dev-python/scrypt[${PYTHON_USEDEP}] >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + =dev-python/aiorpcx-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] dev-python/bitstring[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/net-misc/electrum/electrum-4.5.2.ebuild b/net-misc/electrum/electrum-4.5.2.ebuild index 21bf715e2a29..11f819f51246 100644 --- a/net-misc/electrum/electrum-4.5.2.ebuild +++ b/net-misc/electrum/electrum-4.5.2.ebuild @@ -29,7 +29,7 @@ RDEPEND=" ${PYTHON_DEPS} =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + =dev-python/aiorpcx-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] dev-python/bitstring[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/net-misc/electrum/electrum-4.5.3.ebuild b/net-misc/electrum/electrum-4.5.3.ebuild index e0ecd85aaf03..df962b238b68 100644 --- a/net-misc/electrum/electrum-4.5.3.ebuild +++ b/net-misc/electrum/electrum-4.5.3.ebuild @@ -29,7 +29,7 @@ RDEPEND=" ${PYTHON_DEPS} =dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + =dev-python/aiorpcx-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] dev-python/bitstring[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/net-misc/electrum/electrum-4.5.4.ebuild b/net-misc/electrum/electrum-4.5.4.ebuild index 7262370c6fc3..b3fc1328b161 100644 --- a/net-misc/electrum/electrum-4.5.4.ebuild +++ b/net-misc/electrum/electrum-4.5.4.ebuild @@ -29,7 +29,7 @@ RDEPEND=" ${PYTHON_DEPS} =dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + =dev-python/aiorpcx-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] dev-python/bitstring[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/profiles/updates/1Q-2024 b/profiles/updates/1Q-2024 index 7cdd99abd872..9fbf3b9d261c 100644 --- a/profiles/updates/1Q-2024 +++ b/profiles/updates/1Q-2024 @@ -91,3 +91,4 @@ move sys-auth/AusweisApp2 sys-auth/AusweisApp move sci-libs/scikit-learn dev-python/scikit-learn slotmove =dev-ruby/launchy-3.0.0 0 3 move dev-python/DBUtils dev-python/dbutils +move dev-python/aiorpcX dev-python/aiorpcx
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: bad803901565c5a7eff447958b47bdfaf036ce2a Author: Michał Górny gentoo org> AuthorDate: Thu Mar 14 11:32:51 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 14 11:42:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad80390 net-misc/electrum: Bump to 4.5.4 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.5.4.ebuild | 114 2 files changed, 115 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 5998ba06e481..519d573c3821 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.5.2.gh.tar.gz 4831743 BLAKE2B 862afbe9d0bfef8f6799441f62f2f36958048262a46254afb67ff6c8838e708fe1d7c53b780a6710941cb04000732c2889e77deb2363fef65c89a9ca840e5987 SHA512 c72b576a4c054fb713600751dfdfd520a4c7fe68676eb8877fc6a744f2a3716ae5d49de8229787d1da8d284ac9d89515404ab17daa9bc860d05d54b5184eaa6d DIST electrum-4.5.3.gh.tar.gz 4857951 BLAKE2B fcca35b2d5bb1ab9cc47440cd72d6a6615436d93fba752c4efe9badb7570247ae06ac678e83957da8aaedf1d12ebe7badfaef7768ef7508ee9fd4725e2785cc3 SHA512 da9bd0b3719c7f57a1885e2029540a718236c82dde14b6efa5a49e18481b559f5082ea9518ad40f5f9f1ceb1ee9f8b968bd5f4f51be7f71862e763f7f273b601 +DIST electrum-4.5.4.gh.tar.gz 4911082 BLAKE2B 89a58966426b705e0ddfadd75d4c2996976abb66695edd5d426c0232f58a2da701f20112f31a2498858c61a4a1cd9e048b44072bad128b54651929b96341c1c3 SHA512 3fda9a931067e35d8bc11da883a1208428975fe65b0fc20eb26bdd2c3840b5c3ed4261e60344c7256461887d286e432568ef385d9c6b1216e708e099b34b diff --git a/net-misc/electrum/electrum-4.5.4.ebuild b/net-misc/electrum/electrum-4.5.4.ebuild new file mode 100644 index ..7262370c6fc3 --- /dev/null +++ b/net-misc/electrum/electrum-4.5.4.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency own
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: a994f13a6ef65cf5123742c0b02f2698ea14dc9d Author: Michał Górny gentoo org> AuthorDate: Fri Feb 23 03:27:37 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Feb 23 03:37:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a994f13a net-misc/electrum: Bump to 4.5.3 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.5.3.ebuild | 114 2 files changed, 115 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 4c6607b4ca9e..5998ba06e481 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.5.2.gh.tar.gz 4831743 BLAKE2B 862afbe9d0bfef8f6799441f62f2f36958048262a46254afb67ff6c8838e708fe1d7c53b780a6710941cb04000732c2889e77deb2363fef65c89a9ca840e5987 SHA512 c72b576a4c054fb713600751dfdfd520a4c7fe68676eb8877fc6a744f2a3716ae5d49de8229787d1da8d284ac9d89515404ab17daa9bc860d05d54b5184eaa6d +DIST electrum-4.5.3.gh.tar.gz 4857951 BLAKE2B fcca35b2d5bb1ab9cc47440cd72d6a6615436d93fba752c4efe9badb7570247ae06ac678e83957da8aaedf1d12ebe7badfaef7768ef7508ee9fd4725e2785cc3 SHA512 da9bd0b3719c7f57a1885e2029540a718236c82dde14b6efa5a49e18481b559f5082ea9518ad40f5f9f1ceb1ee9f8b968bd5f4f51be7f71862e763f7f273b601 diff --git a/net-misc/electrum/electrum-4.5.3.ebuild b/net-misc/electrum/electrum-4.5.3.ebuild new file mode 100644 index ..e0ecd85aaf03 --- /dev/null +++ b/net-misc/electrum/electrum-4.5.3.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" + ewarn " lost." + ewarn "3. Proof-of-work based cryptocurrencies have negative environmental" + ewarn " impact. BTC mining is consuming huge amounts of elect
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 12a010df5b6f8f440085080877c6a5ff68fd6006 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 9 03:35:28 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Feb 9 03:35:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a010df net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 3 - net-misc/electrum/electrum-4.4.6.ebuild | 113 --- net-misc/electrum/electrum-4.5.0.ebuild | 114 net-misc/electrum/electrum-4.5.1.ebuild | 114 4 files changed, 344 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 2366163f07e6..4c6607b4ca9e 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,4 +1 @@ -DIST electrum-4.4.6.gh.tar.gz 5637532 BLAKE2B c6b7667c7699f9eb11013c446e203ac4205df1d78e2fb8d44309bd6340c85bd9b4f6aef364f9bf9da4f262b58c74a7830c290c0659cd388b4a50863926dffa67 SHA512 e643a7119a8746d0f9ae02888bcdcf5ab4216ea19483113cf270b2cf23c8c615f0013a2aaf2c5f488655bf52cd190ab76761fa54f4b851039bc7add0c05ad320 -DIST electrum-4.5.0.gh.tar.gz 4829345 BLAKE2B cd3de793df68af81ce1d9d5dfce62b433d4f8d23ebaaef63926c1be665770b16095ce59f4e89ec27aee29f5d814d154163748330bbb5428f406ba64eaeebd54e SHA512 237f87b3b527099e2e9dadbe5ae422075a4aea64dd434c31859fc032239e810e1c6641f4966dcd9ddfe396a31a67dc2fb4d4c8d5b1912b321a3408ccb805bd37 -DIST electrum-4.5.1.gh.tar.gz 4830405 BLAKE2B 8cc925b282f0401654653c525289c92a6d771d171191e40ce932b391a0946f8e0dce514e0aa45d8b4179739f7dfe52215c995b21d140227c2d5b5d21f9afaed1 SHA512 bfe3d89e1f8a96004175137105e7503fab431bd798ca5457d70d8ca50a1250ede81a426bf15f02e7c384ffdaf303ce4187971a79ca76019715136d3a3914d136 DIST electrum-4.5.2.gh.tar.gz 4831743 BLAKE2B 862afbe9d0bfef8f6799441f62f2f36958048262a46254afb67ff6c8838e708fe1d7c53b780a6710941cb04000732c2889e77deb2363fef65c89a9ca840e5987 SHA512 c72b576a4c054fb713600751dfdfd520a4c7fe68676eb8877fc6a744f2a3716ae5d49de8229787d1da8d284ac9d89515404ab17daa9bc860d05d54b5184eaa6d diff --git a/net-misc/electrum/electrum-4.4.6.ebuild b/net-misc/electrum/electrum-4.4.6.ebuild deleted file mode 100644 index 78458a0ccfd1.. --- a/net-misc/electrum/electrum-4.4.6.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${PYTHON_USEDEP}] - dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die - - # remove upper bounds from deps - sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { -
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 3f18eec3ed4033863056f73b4b2f187cbb0eb01f Author: Sam James gentoo org> AuthorDate: Fri Feb 9 01:03:31 2024 + Commit: Sam James gentoo org> CommitDate: Fri Feb 9 01:03:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f18eec3 net-misc/electrum: Stabilize 4.5.2 ALLARCHES, #924098 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.5.2.ebuild b/net-misc/electrum/electrum-4.5.2.ebuild index 467eb433585d..21bf715e2a29 100644 --- a/net-misc/electrum/electrum-4.5.2.ebuild +++ b/net-misc/electrum/electrum-4.5.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 96a28c49b6ef6e24ae72bb417536017ce2296231 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 20 06:30:38 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 20 07:08:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a28c49 net-misc/electrum: Bump to 4.5.2 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.5.2.ebuild | 114 2 files changed, 115 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 0d966188278f..2366163f07e6 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1,4 @@ DIST electrum-4.4.6.gh.tar.gz 5637532 BLAKE2B c6b7667c7699f9eb11013c446e203ac4205df1d78e2fb8d44309bd6340c85bd9b4f6aef364f9bf9da4f262b58c74a7830c290c0659cd388b4a50863926dffa67 SHA512 e643a7119a8746d0f9ae02888bcdcf5ab4216ea19483113cf270b2cf23c8c615f0013a2aaf2c5f488655bf52cd190ab76761fa54f4b851039bc7add0c05ad320 DIST electrum-4.5.0.gh.tar.gz 4829345 BLAKE2B cd3de793df68af81ce1d9d5dfce62b433d4f8d23ebaaef63926c1be665770b16095ce59f4e89ec27aee29f5d814d154163748330bbb5428f406ba64eaeebd54e SHA512 237f87b3b527099e2e9dadbe5ae422075a4aea64dd434c31859fc032239e810e1c6641f4966dcd9ddfe396a31a67dc2fb4d4c8d5b1912b321a3408ccb805bd37 DIST electrum-4.5.1.gh.tar.gz 4830405 BLAKE2B 8cc925b282f0401654653c525289c92a6d771d171191e40ce932b391a0946f8e0dce514e0aa45d8b4179739f7dfe52215c995b21d140227c2d5b5d21f9afaed1 SHA512 bfe3d89e1f8a96004175137105e7503fab431bd798ca5457d70d8ca50a1250ede81a426bf15f02e7c384ffdaf303ce4187971a79ca76019715136d3a3914d136 +DIST electrum-4.5.2.gh.tar.gz 4831743 BLAKE2B 862afbe9d0bfef8f6799441f62f2f36958048262a46254afb67ff6c8838e708fe1d7c53b780a6710941cb04000732c2889e77deb2363fef65c89a9ca840e5987 SHA512 c72b576a4c054fb713600751dfdfd520a4c7fe68676eb8877fc6a744f2a3716ae5d49de8229787d1da8d284ac9d89515404ab17daa9bc860d05d54b5184eaa6d diff --git a/net-misc/electrum/electrum-4.5.2.ebuild b/net-misc/electrum/electrum-4.5.2.ebuild new file mode 100644 index ..467eb433585d --- /dev/null +++ b/net-misc/electrum/electrum-4.5.2.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: c00cfe6d5c4e03d04080170066c00b23b985d03e Author: Michał Górny gentoo org> AuthorDate: Fri Jan 19 05:17:46 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 19 05:28:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00cfe6d net-misc/electrum: Bump to 4.5.1 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.5.1.ebuild | 114 2 files changed, 115 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index c69f1d7a66ff..0d966188278f 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.4.6.gh.tar.gz 5637532 BLAKE2B c6b7667c7699f9eb11013c446e203ac4205df1d78e2fb8d44309bd6340c85bd9b4f6aef364f9bf9da4f262b58c74a7830c290c0659cd388b4a50863926dffa67 SHA512 e643a7119a8746d0f9ae02888bcdcf5ab4216ea19483113cf270b2cf23c8c615f0013a2aaf2c5f488655bf52cd190ab76761fa54f4b851039bc7add0c05ad320 DIST electrum-4.5.0.gh.tar.gz 4829345 BLAKE2B cd3de793df68af81ce1d9d5dfce62b433d4f8d23ebaaef63926c1be665770b16095ce59f4e89ec27aee29f5d814d154163748330bbb5428f406ba64eaeebd54e SHA512 237f87b3b527099e2e9dadbe5ae422075a4aea64dd434c31859fc032239e810e1c6641f4966dcd9ddfe396a31a67dc2fb4d4c8d5b1912b321a3408ccb805bd37 +DIST electrum-4.5.1.gh.tar.gz 4830405 BLAKE2B 8cc925b282f0401654653c525289c92a6d771d171191e40ce932b391a0946f8e0dce514e0aa45d8b4179739f7dfe52215c995b21d140227c2d5b5d21f9afaed1 SHA512 bfe3d89e1f8a96004175137105e7503fab431bd798ca5457d70d8ca50a1250ede81a426bf15f02e7c384ffdaf303ce4187971a79ca76019715136d3a3914d136 diff --git a/net-misc/electrum/electrum-4.5.1.ebuild b/net-misc/electrum/electrum-4.5.1.ebuild new file mode 100644 index ..467eb433585d --- /dev/null +++ b/net-misc/electrum/electrum-4.5.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency owner
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 96d2c1f987b5a1b5dc0f8dc2a82a11811aee8cd9 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 12 04:15:41 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 12 04:15:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d2c1f9 net-misc/electrum: Bump to 4.5.0 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.5.0.ebuild | 114 2 files changed, 115 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 37e638aaaf9c..c69f1d7a66ff 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.4.6.gh.tar.gz 5637532 BLAKE2B c6b7667c7699f9eb11013c446e203ac4205df1d78e2fb8d44309bd6340c85bd9b4f6aef364f9bf9da4f262b58c74a7830c290c0659cd388b4a50863926dffa67 SHA512 e643a7119a8746d0f9ae02888bcdcf5ab4216ea19483113cf270b2cf23c8c615f0013a2aaf2c5f488655bf52cd190ab76761fa54f4b851039bc7add0c05ad320 +DIST electrum-4.5.0.gh.tar.gz 4829345 BLAKE2B cd3de793df68af81ce1d9d5dfce62b433d4f8d23ebaaef63926c1be665770b16095ce59f4e89ec27aee29f5d814d154163748330bbb5428f406ba64eaeebd54e SHA512 237f87b3b527099e2e9dadbe5ae422075a4aea64dd434c31859fc032239e810e1c6641f4966dcd9ddfe396a31a67dc2fb4d4c8d5b1912b321a3408ccb805bd37 diff --git a/net-misc/electrum/electrum-4.5.0.ebuild b/net-misc/electrum/electrum-4.5.0.ebuild new file mode 100644 index ..467eb433585d --- /dev/null +++ b/net-misc/electrum/electrum-4.5.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" + ewarn " lost." + ewarn "3. Proof-of-work based cryptocurrencies have negative environmental" + ewarn " impact. BTC mining is consuming huge amounts of electri
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 5237e3d3cc9591a8b8182152bd61993f30a2fb84 Author: Sam James gentoo org> AuthorDate: Fri Oct 6 16:04:32 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 6 16:04:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5237e3d3 net-misc/electrum: Stabilize 4.4.6 ALLARCHES, #915255 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.4.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.4.6.ebuild b/net-misc/electrum/electrum-4.4.6.ebuild index 1cc9eb1f94ba..78458a0ccfd1 100644 --- a/net-misc/electrum/electrum-4.4.6.ebuild +++ b/net-misc/electrum/electrum-4.4.6.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 4d4acd087ac04e928ab04adea372cbee2f294d56 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 17 18:46:29 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Aug 17 18:54:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4acd08 net-misc/electrum: Bump to 4.4.6 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.6.ebuild | 113 2 files changed, 114 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 33d17870c7bb..7d5ce8d29252 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.4.5.gh.tar.gz 5631717 BLAKE2B d780f3f466a337476e235bdb1eb6cd2eddb30bb3f4d9e28510f46594dab444e96d0515cea93ceb7ad4fcaa4b6372aaa80625cdfd3c137fe12e5410489582f5e6 SHA512 6eb91e51a2a0de440e0fe5407a6081a6e5ddd833b528f4a175d17d1b8799eb372f0ef0fa3f66a9b0136e39a7e83f238d33edc33c9bcc32e080f3fa9ac0166e24 +DIST electrum-4.4.6.gh.tar.gz 5637532 BLAKE2B c6b7667c7699f9eb11013c446e203ac4205df1d78e2fb8d44309bd6340c85bd9b4f6aef364f9bf9da4f262b58c74a7830c290c0659cd388b4a50863926dffa67 SHA512 e643a7119a8746d0f9ae02888bcdcf5ab4216ea19483113cf270b2cf23c8c615f0013a2aaf2c5f488655bf52cd190ab76761fa54f4b851039bc7add0c05ad320 diff --git a/net-misc/electrum/electrum-4.4.6.ebuild b/net-misc/electrum/electrum-4.4.6.ebuild new file mode 100644 index ..1cc9eb1f94ba --- /dev/null +++ b/net-misc/electrum/electrum-4.4.6.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" + ewarn " lost." + ewarn "3. Proof-of-work based cryptocurrencies have negative environmental" + ewarn " impact. BTC mining is consuming huge amounts of electricity." +} + +pkg_postrm() { + xdg_icon_ca
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 399a42a151a346faba0a1535b44e9c646db8c129 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 24 11:04:04 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 24 11:06:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399a42a1 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 2 - net-misc/electrum/electrum-4.4.3.ebuild| 112 net-misc/electrum/electrum-4.4.4-r1.ebuild | 113 - 3 files changed, 227 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 3854f7f3a589..33d17870c7bb 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1 @@ -DIST electrum-4.4.3.gh.tar.gz 5629690 BLAKE2B 56f1bf2500500eb9fcd3b0397adee2f46865ab628004c62b2ffc36b7a019b1bd94b7c84576b35afda70116fb290476432fb1363eeb511d8cd4e6342c3a920975 SHA512 077742c404cce57fbf330b28a36c277dc22c10027c8f412ea192a7f7b917b37b22bbb85dc6cdc654daaacc28f98659dac406879a183448b20b0377a86697f486 -DIST electrum-4.4.4.gh.tar.gz 5630721 BLAKE2B 89505aee1be9fd66a57544d7fb9dc01b09c121529aebc63021f460a4a210bdce7d911854d3547e4710b6d44f329abe8fdc3c59d2a2776b1f470cf26c91de6e6a SHA512 cb59ee0f0a427bf6aa3d6d707a4a188aa0e4c9e957af748908c1f617ac49416a0015a6c5f4763b6ef5e4f67a7fcb827f2bd31825e8b42ebc3cca7da0c72a1bc0 DIST electrum-4.4.5.gh.tar.gz 5631717 BLAKE2B d780f3f466a337476e235bdb1eb6cd2eddb30bb3f4d9e28510f46594dab444e96d0515cea93ceb7ad4fcaa4b6372aaa80625cdfd3c137fe12e5410489582f5e6 SHA512 6eb91e51a2a0de440e0fe5407a6081a6e5ddd833b528f4a175d17d1b8799eb372f0ef0fa3f66a9b0136e39a7e83f238d33edc33c9bcc32e080f3fa9ac0166e24 diff --git a/net-misc/electrum/electrum-4.4.3.ebuild b/net-misc/electrum/electrum-4.4.3.ebuild deleted file mode 100644 index 5911651fe934.. --- a/net-misc/electrum/electrum-4.4.3.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.20[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die - - # remove upper bounds from deps - sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - - local v - for v in ${REPLACING_VERSIONS}; do - ver_test "${v}" -ge 4.3.4 && return - done - - ewarn "If you are new to BitCoin, please be aware that:" - ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" - ewarn " changes of value in the past." - ewarn "2. Cryptocurrency ownership is determine
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: d70bd1a191e7d3653cc8733cd11fbe62b83fc708 Author: Jakov Smolić gentoo org> AuthorDate: Mon Jul 24 10:05:18 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Jul 24 10:05:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70bd1a1 net-misc/electrum: Stabilize 4.4.5 ALLARCHES, #911100 Signed-off-by: Jakov Smolić gentoo.org> net-misc/electrum/electrum-4.4.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.4.5.ebuild b/net-misc/electrum/electrum-4.4.5.ebuild index 1cc9eb1f94ba..78458a0ccfd1 100644 --- a/net-misc/electrum/electrum-4.4.5.ebuild +++ b/net-misc/electrum/electrum-4.4.5.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 4c3ccb9c645195e57f97066e86940d99ad5565ae Author: Michał Górny gentoo org> AuthorDate: Tue Jun 20 05:08:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 20 05:38:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3ccb9c net-misc/electrum: Bump to 4.4.5 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.5.ebuild | 113 2 files changed, 114 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 3bbcfd8dcd37..3854f7f3a589 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.4.3.gh.tar.gz 5629690 BLAKE2B 56f1bf2500500eb9fcd3b0397adee2f46865ab628004c62b2ffc36b7a019b1bd94b7c84576b35afda70116fb290476432fb1363eeb511d8cd4e6342c3a920975 SHA512 077742c404cce57fbf330b28a36c277dc22c10027c8f412ea192a7f7b917b37b22bbb85dc6cdc654daaacc28f98659dac406879a183448b20b0377a86697f486 DIST electrum-4.4.4.gh.tar.gz 5630721 BLAKE2B 89505aee1be9fd66a57544d7fb9dc01b09c121529aebc63021f460a4a210bdce7d911854d3547e4710b6d44f329abe8fdc3c59d2a2776b1f470cf26c91de6e6a SHA512 cb59ee0f0a427bf6aa3d6d707a4a188aa0e4c9e957af748908c1f617ac49416a0015a6c5f4763b6ef5e4f67a7fcb827f2bd31825e8b42ebc3cca7da0c72a1bc0 +DIST electrum-4.4.5.gh.tar.gz 5631717 BLAKE2B d780f3f466a337476e235bdb1eb6cd2eddb30bb3f4d9e28510f46594dab444e96d0515cea93ceb7ad4fcaa4b6372aaa80625cdfd3c137fe12e5410489582f5e6 SHA512 6eb91e51a2a0de440e0fe5407a6081a6e5ddd833b528f4a175d17d1b8799eb372f0ef0fa3f66a9b0136e39a7e83f238d33edc33c9bcc32e080f3fa9ac0166e24 diff --git a/net-misc/electrum/electrum-4.4.5.ebuild b/net-misc/electrum/electrum-4.4.5.ebuild new file mode 100644 index ..1cc9eb1f94ba --- /dev/null +++ b/net-misc/electrum/electrum-4.4.5.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" +
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: f2aa3a1f2d911b24b21ad80891b194d36722eaf0 Author: Efe İzbudak metu edu tr> AuthorDate: Mon Jun 5 06:44:28 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 5 18:34:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2aa3a1f net-misc/electrum: missing dependency pyperclip The program was failing to run with the following error: ``` 1.66 | E | daemon.Daemon | GUI raised exception: ModuleNotFoundError("No module named 'pyperclip'"). shutting down. 1.66 | E | __main__ | daemon.run_gui errored Traceback (most recent call last): File "/usr/lib/python-exec/python3.11/electrum", line 461, in handle_cmd d.run_gui(config, plugins) File "/usr/lib/python3.11/site-packages/electrum/daemon.py", line 591, in run_gui gui = __import__('electrum.gui.' + gui_name, fromlist=['electrum']) ^ File "/usr/lib/python3.11/site-packages/electrum/gui/text.py", line 9, in import pyperclip ModuleNotFoundError: No module named 'pyperclip' ``` which has been fixed by adding the dependency dev-python/pyperclip. Signed-off-by: Efe İzbudak metu.edu.tr> Closes: https://github.com/gentoo/gentoo/pull/31314 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.4.4.ebuild => electrum-4.4.4-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) diff --git a/net-misc/electrum/electrum-4.4.4.ebuild b/net-misc/electrum/electrum-4.4.4-r1.ebuild similarity index 98% rename from net-misc/electrum/electrum-4.4.4.ebuild rename to net-misc/electrum/electrum-4.4.4-r1.ebuild index 693674eca7e3..1cc9eb1f94ba 100644 --- a/net-misc/electrum/electrum-4.4.4.ebuild +++ b/net-misc/electrum/electrum-4.4.4-r1.ebuild @@ -35,6 +35,7 @@ RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] >=dev-python/dnspython-2[${PYTHON_USEDEP}] dev-python/pbkdf2[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] dev-python/PySocks[${PYTHON_USEDEP}] dev-python/qrcode[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: c8627cbcffa21e316a791470253b0eef5eeff18a Author: Michał Górny gentoo org> AuthorDate: Thu Jun 1 17:23:10 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 1 17:23:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8627cbc net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 4 -- net-misc/electrum/electrum-4.3.4-r1.ebuild | 112 - net-misc/electrum/electrum-4.4.0.ebuild| 112 - net-misc/electrum/electrum-4.4.1.ebuild| 112 - net-misc/electrum/electrum-4.4.2-r1.ebuild | 112 - 5 files changed, 452 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 9abb413f6976..3bbcfd8dcd37 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,6 +1,2 @@ -DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe06323e7c8ab708d49e1301356fdcc0204e8126894c3c4b6dd790bd8e64cabc84a410592ea94b361cc553d4dcaa5921f50e SHA512 dc821cbda2e95853627b141292da5a07d8a672cfaabb0b160c67b3020442416593136984b42bf021f815e22671fbded67e6d2dee95e4e46f63e5c9a8fe01ebc9 -DIST electrum-4.4.0.gh.tar.gz 5627801 BLAKE2B 27ed9fff7586f9efe18a76f3cfa6d0cc4df4d5bc542b68ce9cd78ac5d6b033114b9caea23edbbd2a531d6f877a8891a02fc321741d8ecf4eb473894f1d9c94a6 SHA512 dfa5020a2609b8faa21c1ae97e152b89cd235151c18bb2b6a0bb4b9cd5217697e3c6515d832c8f04291fb10e062c3a4d9a92c48874687ef99adfd7cf04f363f8 -DIST electrum-4.4.1.gh.tar.gz 5631256 BLAKE2B cefa27c7b770429004a221143f4291285f2ad6f3ca6f1f58c5c98ce6b6efbc316ea6b857a6abf8ed899cf5feac1f3505fd83189849aab72f144af9e7ce4d546d SHA512 075253fc89063d8fa6adcdc9d3e4c7cbd5caa27efe9f5dca8ddf5ef3863ca25690f2a4280a4999d6d3da7d32ece10dd9faf2ba560d2b13a0c9887237daa6382e -DIST electrum-4.4.2.gh.tar.gz 5635869 BLAKE2B 7ba1941a59e5db7578d2b7fe26997c9bda92467362422fc3b3741eefc5c52b872cbb0c9c5caf7454ae4b6136a37b498ba2afd1b0f19ace0f566de68a9e40b3bb SHA512 50509a7890a9697dfb59ec6d8cb3f2d5243b37acbff2c322cb7a6f4b350dd18fc5a963a30af6cd4e918ea02306df4da7252158ddf268fc87762ff598e2eb33e8 DIST electrum-4.4.3.gh.tar.gz 5629690 BLAKE2B 56f1bf2500500eb9fcd3b0397adee2f46865ab628004c62b2ffc36b7a019b1bd94b7c84576b35afda70116fb290476432fb1363eeb511d8cd4e6342c3a920975 SHA512 077742c404cce57fbf330b28a36c277dc22c10027c8f412ea192a7f7b917b37b22bbb85dc6cdc654daaacc28f98659dac406879a183448b20b0377a86697f486 DIST electrum-4.4.4.gh.tar.gz 5630721 BLAKE2B 89505aee1be9fd66a57544d7fb9dc01b09c121529aebc63021f460a4a210bdce7d911854d3547e4710b6d44f329abe8fdc3c59d2a2776b1f470cf26c91de6e6a SHA512 cb59ee0f0a427bf6aa3d6d707a4a188aa0e4c9e957af748908c1f617ac49416a0015a6c5f4763b6ef5e4f67a7fcb827f2bd31825e8b42ebc3cca7da0c72a1bc0 diff --git a/net-misc/electrum/electrum-4.3.4-r1.ebuild b/net-misc/electrum/electrum-4.3.4-r1.ebuild deleted file mode 100644 index fe4eb6f62155.. --- a/net-misc/electrum/electrum-4.3.4-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6650dba7ec788005a0b988039b7f3a01649d50d4 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jun 1 17:22:09 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jun 1 17:22:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6650dba7 net-misc/electrum: Stabilize 4.4.3 ALLARCHES, #907649 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/electrum/electrum-4.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.4.3.ebuild b/net-misc/electrum/electrum-4.4.3.ebuild index 151ffd5e2cfe..5911651fe934 100644 --- a/net-misc/electrum/electrum-4.4.3.ebuild +++ b/net-misc/electrum/electrum-4.4.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 3048cee3dfc124bca78fbc4c218711030416cc3b Author: Michał Górny gentoo org> AuthorDate: Thu Jun 1 03:38:22 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 1 04:07:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3048cee3 net-misc/electrum: Bump to 4.4.4 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.4.ebuild | 112 2 files changed, 113 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 9d43c6ed3568..9abb413f6976 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -3,3 +3,4 @@ DIST electrum-4.4.0.gh.tar.gz 5627801 BLAKE2B 27ed9fff7586f9efe18a76f3cfa6d0cc4d DIST electrum-4.4.1.gh.tar.gz 5631256 BLAKE2B cefa27c7b770429004a221143f4291285f2ad6f3ca6f1f58c5c98ce6b6efbc316ea6b857a6abf8ed899cf5feac1f3505fd83189849aab72f144af9e7ce4d546d SHA512 075253fc89063d8fa6adcdc9d3e4c7cbd5caa27efe9f5dca8ddf5ef3863ca25690f2a4280a4999d6d3da7d32ece10dd9faf2ba560d2b13a0c9887237daa6382e DIST electrum-4.4.2.gh.tar.gz 5635869 BLAKE2B 7ba1941a59e5db7578d2b7fe26997c9bda92467362422fc3b3741eefc5c52b872cbb0c9c5caf7454ae4b6136a37b498ba2afd1b0f19ace0f566de68a9e40b3bb SHA512 50509a7890a9697dfb59ec6d8cb3f2d5243b37acbff2c322cb7a6f4b350dd18fc5a963a30af6cd4e918ea02306df4da7252158ddf268fc87762ff598e2eb33e8 DIST electrum-4.4.3.gh.tar.gz 5629690 BLAKE2B 56f1bf2500500eb9fcd3b0397adee2f46865ab628004c62b2ffc36b7a019b1bd94b7c84576b35afda70116fb290476432fb1363eeb511d8cd4e6342c3a920975 SHA512 077742c404cce57fbf330b28a36c277dc22c10027c8f412ea192a7f7b917b37b22bbb85dc6cdc654daaacc28f98659dac406879a183448b20b0377a86697f486 +DIST electrum-4.4.4.gh.tar.gz 5630721 BLAKE2B 89505aee1be9fd66a57544d7fb9dc01b09c121529aebc63021f460a4a210bdce7d911854d3547e4710b6d44f329abe8fdc3c59d2a2776b1f470cf26c91de6e6a SHA512 cb59ee0f0a427bf6aa3d6d707a4a188aa0e4c9e957af748908c1f617ac49416a0015a6c5f4763b6ef5e4f67a7fcb827f2bd31825e8b42ebc3cca7da0c72a1bc0 diff --git a/net-misc/electrum/electrum-4.4.4.ebuild b/net-misc/electrum/electrum-4.4.4.ebuild new file mode 100644 index ..693674eca7e3 --- /dev/null +++ b/net-misc/electrum/electrum-4.4.4.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS};
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 546b252c7a169e512264291641aafb373d309751 Author: Michał Górny gentoo org> AuthorDate: Thu May 11 16:15:48 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu May 11 17:58:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546b252c net-misc/electrum: Bump to 4.4.3 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.3.ebuild | 112 2 files changed, 113 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 6544e8a38f95..9d43c6ed3568 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -2,3 +2,4 @@ DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe0632 DIST electrum-4.4.0.gh.tar.gz 5627801 BLAKE2B 27ed9fff7586f9efe18a76f3cfa6d0cc4df4d5bc542b68ce9cd78ac5d6b033114b9caea23edbbd2a531d6f877a8891a02fc321741d8ecf4eb473894f1d9c94a6 SHA512 dfa5020a2609b8faa21c1ae97e152b89cd235151c18bb2b6a0bb4b9cd5217697e3c6515d832c8f04291fb10e062c3a4d9a92c48874687ef99adfd7cf04f363f8 DIST electrum-4.4.1.gh.tar.gz 5631256 BLAKE2B cefa27c7b770429004a221143f4291285f2ad6f3ca6f1f58c5c98ce6b6efbc316ea6b857a6abf8ed899cf5feac1f3505fd83189849aab72f144af9e7ce4d546d SHA512 075253fc89063d8fa6adcdc9d3e4c7cbd5caa27efe9f5dca8ddf5ef3863ca25690f2a4280a4999d6d3da7d32ece10dd9faf2ba560d2b13a0c9887237daa6382e DIST electrum-4.4.2.gh.tar.gz 5635869 BLAKE2B 7ba1941a59e5db7578d2b7fe26997c9bda92467362422fc3b3741eefc5c52b872cbb0c9c5caf7454ae4b6136a37b498ba2afd1b0f19ace0f566de68a9e40b3bb SHA512 50509a7890a9697dfb59ec6d8cb3f2d5243b37acbff2c322cb7a6f4b350dd18fc5a963a30af6cd4e918ea02306df4da7252158ddf268fc87762ff598e2eb33e8 +DIST electrum-4.4.3.gh.tar.gz 5629690 BLAKE2B 56f1bf2500500eb9fcd3b0397adee2f46865ab628004c62b2ffc36b7a019b1bd94b7c84576b35afda70116fb290476432fb1363eeb511d8cd4e6342c3a920975 SHA512 077742c404cce57fbf330b28a36c277dc22c10027c8f412ea192a7f7b917b37b22bbb85dc6cdc654daaacc28f98659dac406879a183448b20b0377a86697f486 diff --git a/net-misc/electrum/electrum-4.4.3.ebuild b/net-misc/electrum/electrum-4.4.3.ebuild new file mode 100644 index ..151ffd5e2cfe --- /dev/null +++ b/net-misc/electrum/electrum-4.4.3.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; d
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 033942e7fc7943c2812beee8d3f30a8ab5c5f83a Author: Michał Górny gentoo org> AuthorDate: Tue May 9 15:38:36 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue May 9 15:53:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033942e7 net-misc/electrum: Allow https://bugs.gentoo.org/905984 Closes: https://bugs.gentoo.org/893250 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.4.2.ebuild => electrum-4.4.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.4.2.ebuild b/net-misc/electrum/electrum-4.4.2-r1.ebuild similarity index 99% rename from net-misc/electrum/electrum-4.4.2.ebuild rename to net-misc/electrum/electrum-4.4.2-r1.ebuild index ac6a564b7be2..151ffd5e2cfe 100644 --- a/net-misc/electrum/electrum-4.4.2.ebuild +++ b/net-misc/electrum/electrum-4.4.2-r1.ebuild @@ -27,7 +27,7 @@ REQUIRED_USE="|| ( cli ncurses qt5 )" RDEPEND=" ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: 6503dd5de3b41994feff7f13b9dc0d26138bee43 Author: Sam James gentoo org> AuthorDate: Sat May 6 13:15:10 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 6 13:15:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6503dd5d net-misc/electrum-ltc: add github upstream metadata Signed-off-by: Sam James gentoo.org> net-misc/electrum-ltc/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/electrum-ltc/metadata.xml b/net-misc/electrum-ltc/metadata.xml index 34dfbc02bb8e..ba01051095fc 100644 --- a/net-misc/electrum-ltc/metadata.xml +++ b/net-misc/electrum-ltc/metadata.xml @@ -9,4 +9,7 @@ Enables the CLI interface Enable QR code scanning with media-gfx/zbar + + pooler/electrum-ltc +
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: 70320cacd8e497268b65f3cb5b3135c41b4b95db Author: Sam James gentoo org> AuthorDate: Sat May 6 12:53:52 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 6 13:13:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70320cac net-misc/electrum-ltc: enable py3.11 Closes: https://bugs.gentoo.org/897124 Signed-off-by: Sam James gentoo.org> net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild index 25bf90e5643a..64c650229a76 100644 --- a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="ncurses?" inherit distutils-r1 xdg-utils desktop
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 1696ecbb48eef58c6c4d8c382bc942255f1dbc11 Author: Michał Górny gentoo org> AuthorDate: Fri May 5 05:09:56 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri May 5 05:21:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1696ecbb net-misc/electrum: Bump to 4.4.2 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.2.ebuild | 112 2 files changed, 113 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 2924e3168dd8..6544e8a38f95 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1,4 @@ DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe06323e7c8ab708d49e1301356fdcc0204e8126894c3c4b6dd790bd8e64cabc84a410592ea94b361cc553d4dcaa5921f50e SHA512 dc821cbda2e95853627b141292da5a07d8a672cfaabb0b160c67b3020442416593136984b42bf021f815e22671fbded67e6d2dee95e4e46f63e5c9a8fe01ebc9 DIST electrum-4.4.0.gh.tar.gz 5627801 BLAKE2B 27ed9fff7586f9efe18a76f3cfa6d0cc4df4d5bc542b68ce9cd78ac5d6b033114b9caea23edbbd2a531d6f877a8891a02fc321741d8ecf4eb473894f1d9c94a6 SHA512 dfa5020a2609b8faa21c1ae97e152b89cd235151c18bb2b6a0bb4b9cd5217697e3c6515d832c8f04291fb10e062c3a4d9a92c48874687ef99adfd7cf04f363f8 DIST electrum-4.4.1.gh.tar.gz 5631256 BLAKE2B cefa27c7b770429004a221143f4291285f2ad6f3ca6f1f58c5c98ce6b6efbc316ea6b857a6abf8ed899cf5feac1f3505fd83189849aab72f144af9e7ce4d546d SHA512 075253fc89063d8fa6adcdc9d3e4c7cbd5caa27efe9f5dca8ddf5ef3863ca25690f2a4280a4999d6d3da7d32ece10dd9faf2ba560d2b13a0c9887237daa6382e +DIST electrum-4.4.2.gh.tar.gz 5635869 BLAKE2B 7ba1941a59e5db7578d2b7fe26997c9bda92467362422fc3b3741eefc5c52b872cbb0c9c5caf7454ae4b6136a37b498ba2afd1b0f19ace0f566de68a9e40b3bb SHA512 50509a7890a9697dfb59ec6d8cb3f2d5243b37acbff2c322cb7a6f4b350dd18fc5a963a30af6cd4e918ea02306df4da7252158ddf268fc87762ff598e2eb33e8 diff --git a/net-misc/electrum/electrum-4.4.2.ebuild b/net-misc/electrum/electrum-4.4.2.ebuild new file mode 100644 index ..ac6a564b7be2 --- /dev/null +++ b/net-misc/electrum/electrum-4.4.2.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6a64cad57e5adcb87f43d1ea712073ccd79ec968 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 27 16:06:25 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 27 17:24:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a64cad5 net-misc/electrum: Bump to 4.4.1 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.1.ebuild | 112 2 files changed, 113 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 278b987bebc0..2924e3168dd8 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe06323e7c8ab708d49e1301356fdcc0204e8126894c3c4b6dd790bd8e64cabc84a410592ea94b361cc553d4dcaa5921f50e SHA512 dc821cbda2e95853627b141292da5a07d8a672cfaabb0b160c67b3020442416593136984b42bf021f815e22671fbded67e6d2dee95e4e46f63e5c9a8fe01ebc9 DIST electrum-4.4.0.gh.tar.gz 5627801 BLAKE2B 27ed9fff7586f9efe18a76f3cfa6d0cc4df4d5bc542b68ce9cd78ac5d6b033114b9caea23edbbd2a531d6f877a8891a02fc321741d8ecf4eb473894f1d9c94a6 SHA512 dfa5020a2609b8faa21c1ae97e152b89cd235151c18bb2b6a0bb4b9cd5217697e3c6515d832c8f04291fb10e062c3a4d9a92c48874687ef99adfd7cf04f363f8 +DIST electrum-4.4.1.gh.tar.gz 5631256 BLAKE2B cefa27c7b770429004a221143f4291285f2ad6f3ca6f1f58c5c98ce6b6efbc316ea6b857a6abf8ed899cf5feac1f3505fd83189849aab72f144af9e7ce4d546d SHA512 075253fc89063d8fa6adcdc9d3e4c7cbd5caa27efe9f5dca8ddf5ef3863ca25690f2a4280a4999d6d3da7d32ece10dd9faf2ba560d2b13a0c9887237daa6382e diff --git a/net-misc/electrum/electrum-4.4.1.ebuild b/net-misc/electrum/electrum-4.4.1.ebuild new file mode 100644 index ..ac6a564b7be2 --- /dev/null +++ b/net-misc/electrum/electrum-4.4.1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6686572ecadb4a761af73eb003e8f457c071ade1 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 19 06:07:34 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 19 06:16:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6686572e net-misc/electrum: Bump to 4.4.0 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.4.0.ebuild | 112 2 files changed, 113 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index ba23417517ff..278b987bebc0 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe06323e7c8ab708d49e1301356fdcc0204e8126894c3c4b6dd790bd8e64cabc84a410592ea94b361cc553d4dcaa5921f50e SHA512 dc821cbda2e95853627b141292da5a07d8a672cfaabb0b160c67b3020442416593136984b42bf021f815e22671fbded67e6d2dee95e4e46f63e5c9a8fe01ebc9 +DIST electrum-4.4.0.gh.tar.gz 5627801 BLAKE2B 27ed9fff7586f9efe18a76f3cfa6d0cc4df4d5bc542b68ce9cd78ac5d6b033114b9caea23edbbd2a531d6f877a8891a02fc321741d8ecf4eb473894f1d9c94a6 SHA512 dfa5020a2609b8faa21c1ae97e152b89cd235151c18bb2b6a0bb4b9cd5217697e3c6515d832c8f04291fb10e062c3a4d9a92c48874687ef99adfd7cf04f363f8 diff --git a/net-misc/electrum/electrum-4.4.0.ebuild b/net-misc/electrum/electrum-4.4.0.ebuild new file mode 100644 index ..ac6a564b7be2 --- /dev/null +++ b/net-misc/electrum/electrum-4.4.0.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.20[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" + ewarn " lost." + ewarn "3. Proof-of-work based cryptocurrencies have negative environmental" + ewarn " impact. BTC mining is consuming huge amounts of electricity." +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 0a419eed25c34586dab65405583ff84120d27aae Author: Michał Górny gentoo org> AuthorDate: Sun Apr 9 06:02:51 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 9 06:08:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a419eed net-misc/electrum: Remove upper bounds from deps Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.3.4.ebuild => electrum-4.3.4-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/electrum/electrum-4.3.4.ebuild b/net-misc/electrum/electrum-4.3.4-r1.ebuild similarity index 96% rename from net-misc/electrum/electrum-4.3.4.ebuild rename to net-misc/electrum/electrum-4.3.4-r1.ebuild index b2dd93e1a839..fe4eb6f62155 100644 --- a/net-misc/electrum/electrum-4.3.4.ebuild +++ b/net-misc/electrum/electrum-4.3.4-r1.ebuild @@ -63,6 +63,9 @@ src_prepare() { # make qdarkstyle dep optional sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + # remove upper bounds from deps + sed -i -e 's:,<[0-9.]*::' contrib/requirements/requirements.txt || die + local bestgui if use qt5; then bestgui=qt
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: e6c5ec30f5404f3402fad9f0725a4540ced92f86 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 8 18:46:32 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 8 18:46:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c5ec30 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 2 - net-misc/electrum/electrum-4.3.2-r1.ebuild | 95 -- net-misc/electrum/electrum-4.3.3-r1.ebuild | 95 -- 3 files changed, 192 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index c70dd058d84d..ba23417517ff 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1 @@ -DIST electrum-4.3.2.gh.tar.gz 5460546 BLAKE2B b2367116aef2a2a76dca30a635188bcd99f0fdd46ce6e8c5a2d6608fbb8f0a58e88b8352c5db92b7c8709f7bbc420fc1860204aca1efc2f2c4be2c788bfa1909 SHA512 dfb137e01ca6e511fb5ac70c34dcb01f36bdb209d7d290bd53c8fa5f95783f346898478d6e58435b241928dfe05ff46455e2e587520d47892c66b3198ab89c82 -DIST electrum-4.3.3.gh.tar.gz 5511225 BLAKE2B dd7700d185ad1d8d58c609a3b388fc4764eca68eb20bb2254046daa5faa5e790fe31a61536ab086a6f632f42346cf22121a3b85b85ae1d45ab8f59ad49e66455 SHA512 33e357d49a0839b269bf8eb5a617b9a866a85a4953a109a382930718ce204a36a93638be1d9111ca9a5349f0aed496e86f5f2b43ffa8b1ce6683c50a8b76ec6c DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe06323e7c8ab708d49e1301356fdcc0204e8126894c3c4b6dd790bd8e64cabc84a410592ea94b361cc553d4dcaa5921f50e SHA512 dc821cbda2e95853627b141292da5a07d8a672cfaabb0b160c67b3020442416593136984b42bf021f815e22671fbded67e6d2dee95e4e46f63e5c9a8fe01ebc9 diff --git a/net-misc/electrum/electrum-4.3.2-r1.ebuild b/net-misc/electrum/electrum-4.3.2-r1.ebuild deleted file mode 100644 index 7dae01a5ebe4.. --- a/net-misc/electrum/electrum-4.3.2-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -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/electrum/electrum-4.3.3-r1.ebuild b/net-misc/electrum/electrum-4.3.3-r1.ebuild deleted file mode 100644 index b6b87e979a15.. --- a/net-misc/electrum/electrum-4.3.3-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_C
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 2e087861f5ee9a3fab640c029cd557d2d199260b Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 8 17:37:29 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 8 17:37:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e087861 net-misc/electrum: Stabilize 4.3.4 ALLARCHES, #904031 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/electrum/electrum-4.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.3.4.ebuild b/net-misc/electrum/electrum-4.3.4.ebuild index eed810484cf7..b2dd93e1a839 100644 --- a/net-misc/electrum/electrum-4.3.4.ebuild +++ b/net-misc/electrum/electrum-4.3.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 31a4951ee60874cadda4e82d023e7b77ec17baf1 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 8 13:58:40 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 8 13:59:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a4951e net-misc/electrum: Enable py3.11 Closes: https://bugs.gentoo.org/896454 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.3.4.ebuild b/net-misc/electrum/electrum-4.3.4.ebuild index 526eb9a1a6bd..eed810484cf7 100644 --- a/net-misc/electrum/electrum-4.3.4.ebuild +++ b/net-misc/electrum/electrum-4.3.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="ncurses?" inherit distutils-r1 xdg-utils
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 31164c99dd4f773f633fe7fc0ec97c2d0f5839b9 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 27 10:46:09 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 27 10:51:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31164c99 net-misc/electrum: Require old dev-libs/libsecp256k1 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.3.2.ebuild => electrum-4.3.2-r1.ebuild} | 2 +- net-misc/electrum/{electrum-4.3.3.ebuild => electrum-4.3.3-r1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/electrum/electrum-4.3.2.ebuild b/net-misc/electrum/electrum-4.3.2-r1.ebuild similarity index 98% rename from net-misc/electrum/electrum-4.3.2.ebuild rename to net-misc/electrum/electrum-4.3.2-r1.ebuild index 1c171c339456..7dae01a5ebe4 100644 --- a/net-misc/electrum/electrum-4.3.2.ebuild +++ b/net-misc/electrum/electrum-4.3.2-r1.ebuild @@ -27,7 +27,7 @@ REQUIRED_USE="|| ( cli ncurses qt5 )" RDEPEND=" ${PYTHON_DEPS} - dev-libs/libsecp256k1 + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] diff --git a/net-misc/electrum/electrum-4.3.3.ebuild b/net-misc/electrum/electrum-4.3.3-r1.ebuild similarity index 98% rename from net-misc/electrum/electrum-4.3.3.ebuild rename to net-misc/electrum/electrum-4.3.3-r1.ebuild index 3904438f56bc..b6b87e979a15 100644 --- a/net-misc/electrum/electrum-4.3.3.ebuild +++ b/net-misc/electrum/electrum-4.3.3-r1.ebuild @@ -27,7 +27,7 @@ REQUIRED_USE="|| ( cli ncurses qt5 )" RDEPEND=" ${PYTHON_DEPS} - dev-libs/libsecp256k1 + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: ce1ffc855e423e2dd653a4930e511c34dd19a6ea Author: Michał Górny gentoo org> AuthorDate: Fri Jan 27 09:05:17 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 27 10:51:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1ffc85 net-misc/electrum: Bump to 4.3.4 Closes: https://bugs.gentoo.org/867817 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.3.4.ebuild | 109 2 files changed, 110 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index ba5e6e950a80..c70dd058d84d 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.3.2.gh.tar.gz 5460546 BLAKE2B b2367116aef2a2a76dca30a635188bcd99f0fdd46ce6e8c5a2d6608fbb8f0a58e88b8352c5db92b7c8709f7bbc420fc1860204aca1efc2f2c4be2c788bfa1909 SHA512 dfb137e01ca6e511fb5ac70c34dcb01f36bdb209d7d290bd53c8fa5f95783f346898478d6e58435b241928dfe05ff46455e2e587520d47892c66b3198ab89c82 DIST electrum-4.3.3.gh.tar.gz 5511225 BLAKE2B dd7700d185ad1d8d58c609a3b388fc4764eca68eb20bb2254046daa5faa5e790fe31a61536ab086a6f632f42346cf22121a3b85b85ae1d45ab8f59ad49e66455 SHA512 33e357d49a0839b269bf8eb5a617b9a866a85a4953a109a382930718ce204a36a93638be1d9111ca9a5349f0aed496e86f5f2b43ffa8b1ce6683c50a8b76ec6c +DIST electrum-4.3.4.gh.tar.gz 5512701 BLAKE2B a57e3ffddacfd5c63dc7f5cb59bbfe06323e7c8ab708d49e1301356fdcc0204e8126894c3c4b6dd790bd8e64cabc84a410592ea94b361cc553d4dcaa5921f50e SHA512 dc821cbda2e95853627b141292da5a07d8a672cfaabb0b160c67b3020442416593136984b42bf021f815e22671fbded67e6d2dee95e4e46f63e5c9a8fe01ebc9 diff --git a/net-misc/electrum/electrum-4.3.4.ebuild b/net-misc/electrum/electrum-4.3.4.ebuild new file mode 100644 index ..526eb9a1a6bd --- /dev/null +++ b/net-misc/electrum/electrum-4.3.4.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + =dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 4.3.4 && return + done + + ewarn "If you are new to BitCoin, please be aware that:" + ewarn "1. Cryptocurrencies are volatile. BTC has been subject to rapid" + ewarn " changes of value in the past." + ewarn "2. Cryptocurrency ownership is determined solely by the access to" + ewarn " the private key. If the key is lost or stolen, BTC are unrevocably" + ewarn " lost." + ewarn "3. P
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 52136bf2be45f2b2a4acdb15793b940130694db6 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 3 06:10:16 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 3 06:23:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52136bf2 net-misc/electrum: Bump to 4.3.3 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.3.3.ebuild | 95 + 2 files changed, 96 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 764d2fca0cee..ba5e6e950a80 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.3.2.gh.tar.gz 5460546 BLAKE2B b2367116aef2a2a76dca30a635188bcd99f0fdd46ce6e8c5a2d6608fbb8f0a58e88b8352c5db92b7c8709f7bbc420fc1860204aca1efc2f2c4be2c788bfa1909 SHA512 dfb137e01ca6e511fb5ac70c34dcb01f36bdb209d7d290bd53c8fa5f95783f346898478d6e58435b241928dfe05ff46455e2e587520d47892c66b3198ab89c82 +DIST electrum-4.3.3.gh.tar.gz 5511225 BLAKE2B dd7700d185ad1d8d58c609a3b388fc4764eca68eb20bb2254046daa5faa5e790fe31a61536ab086a6f632f42346cf22121a3b85b85ae1d45ab8f59ad49e66455 SHA512 33e357d49a0839b269bf8eb5a617b9a866a85a4953a109a382930718ce204a36a93638be1d9111ca9a5349f0aed496e86f5f2b43ffa8b1ce6683c50a8b76ec6c diff --git a/net-misc/electrum/electrum-4.3.3.ebuild b/net-misc/electrum/electrum-4.3.3.ebuild new file mode 100644 index ..5beaa51477bc --- /dev/null +++ b/net-misc/electrum/electrum-4.3.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 98f17fb68173e4337e0108259cb7c2b092d6dfd3 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 31 13:29:28 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 31 13:31:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f17fb6 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 - net-misc/electrum/electrum-4.3.1.ebuild | 95 - 2 files changed, 96 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 2031ec8d4ea7..764d2fca0cee 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1 @@ -DIST electrum-4.3.1.gh.tar.gz 5444509 BLAKE2B 68d63b730396c229bcb09262740a7d3ef322fce7fd16265d352e3eb2039e123d043307036d906b1688cc43d33620cf1b8f7aaa03ac9f5d68e5f9a2b84e6d44a7 SHA512 038b7c643ed11fe14e368be91bc09e5f043d4ae86cdf0ad0d80861ffa47aececcc4b0bec5a8596a8d78590b859bf302ed99d2d57bab1a2a053677fc7fa190e06 DIST electrum-4.3.2.gh.tar.gz 5460546 BLAKE2B b2367116aef2a2a76dca30a635188bcd99f0fdd46ce6e8c5a2d6608fbb8f0a58e88b8352c5db92b7c8709f7bbc420fc1860204aca1efc2f2c4be2c788bfa1909 SHA512 dfb137e01ca6e511fb5ac70c34dcb01f36bdb209d7d290bd53c8fa5f95783f346898478d6e58435b241928dfe05ff46455e2e587520d47892c66b3198ab89c82 diff --git a/net-misc/electrum/electrum-4.3.1.ebuild b/net-misc/electrum/electrum-4.3.1.ebuild deleted file mode 100644 index 719d71694cf4.. --- a/net-misc/electrum/electrum-4.3.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE=" - https://electrum.org/ - https://github.com/spesmilo/electrum/ -" -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: ac9229aefd8f3f4d95eb23ce181e63b28619c4f8 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 31 13:31:20 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 31 13:31:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9229ae net-misc/electrum: Add GH remote-id Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/electrum/metadata.xml b/net-misc/electrum/metadata.xml index 8f2706737ba4..b37bf7b5c7ab 100644 --- a/net-misc/electrum/metadata.xml +++ b/net-misc/electrum/metadata.xml @@ -18,4 +18,7 @@ Enables the CLI interface Enable QR code scanning with media-gfx/zbar + + spesmilo/electrum +
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 0cca7976aa7d06c23db48cdb75ac21af5d4bf371 Author: Sam James gentoo org> AuthorDate: Sat Dec 31 13:01:07 2022 + Commit: Sam James gentoo org> CommitDate: Sat Dec 31 13:01:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cca7976 net-misc/electrum: Stabilize 4.3.2 ALLARCHES, #889170 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.3.2.ebuild b/net-misc/electrum/electrum-4.3.2.ebuild index 52e7834f1a47..719d71694cf4 100644 --- a/net-misc/electrum/electrum-4.3.2.ebuild +++ b/net-misc/electrum/electrum-4.3.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: b24e55ab5eded069bcc19ef91b07be92ba5c8660 Author: Sam James gentoo org> AuthorDate: Tue Oct 18 18:51:29 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 18 18:51:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24e55ab net-misc/electrum-ltc: Keyword 4.2.2.1 arm, #877017 Signed-off-by: Sam James gentoo.org> net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild index 43ff09aeef74..f397ad0b62cb 100644 --- a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/pooler/electrum-ltc/archive/refs/tags/${PV}.tar.gz - LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: b2fc422a66626517ae372ca6d46120394b38ebbc Author: Sam James gentoo org> AuthorDate: Mon Oct 17 19:46:55 2022 + Commit: Sam James gentoo org> CommitDate: Mon Oct 17 19:47:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fc422a net-misc/electrum-ltc: Keyword 4.2.2.1 arm64, #877017 Signed-off-by: Sam James gentoo.org> net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild index a6a1b078e2ee..43ff09aeef74 100644 --- a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/pooler/electrum-ltc/archive/refs/tags/${PV}.tar.gz - LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/files/
commit: 5bf4a21c96fd84a38b4737817f38ce1c5bf6272c Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Oct 15 08:02:36 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Oct 15 19:33:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf4a21c net-misc/electrum-ltc: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/27795 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/electrum-ltc/files/3.1.2-no-user-root.patch | 17 - .../electrum-ltc/files/3.2.3-pip-optional-pkgs.patch | 11 --- net-misc/electrum-ltc/files/3.3.2-desktop.patch | 20 3 files changed, 48 deletions(-) diff --git a/net-misc/electrum-ltc/files/3.1.2-no-user-root.patch b/net-misc/electrum-ltc/files/3.1.2-no-user-root.patch deleted file mode 100644 index 0d4781717714.. --- a/net-misc/electrum-ltc/files/3.1.2-no-user-root.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Naur Electrum-3.1.2.orig/setup.py Electrum-3.1.2/setup.py Electrum-3.1.2.orig/setup.py 2018-03-28 04:51:11.0 -0400 -+++ Electrum-3.1.2/setup.py2018-03-31 15:05:45.540757981 -0400 -@@ -28,13 +28,6 @@ - opts, _ = parser.parse_known_args(sys.argv[1:]) - usr_share = os.path.join(sys.prefix, "share") - icons_dirname = 'pixmaps' --if not os.access(opts.root_path + usr_share, os.W_OK) and \ -- not os.access(opts.root_path, os.W_OK): --icons_dirname = 'icons' --if 'XDG_DATA_HOME' in os.environ.keys(): --usr_share = os.environ['XDG_DATA_HOME'] --else: --usr_share = os.path.expanduser('~/.local/share') - data_files += [ - (os.path.join(usr_share, 'applications/'), ['electrum.desktop']), - (os.path.join(usr_share, icons_dirname), ['icons/electrum.png']) diff --git a/net-misc/electrum-ltc/files/3.2.3-pip-optional-pkgs.patch b/net-misc/electrum-ltc/files/3.2.3-pip-optional-pkgs.patch deleted file mode 100644 index 6d62f5675764.. --- a/net-misc/electrum-ltc/files/3.2.3-pip-optional-pkgs.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur a/setup.py b/setup.py a/setup.py 2018-09-17 12:56:34.0 +0100 -+++ b/setup.py 2018-10-14 14:46:16.524385198 +0100 -@@ -72,7 +72,6 @@ - name="Electrum", - version=version.ELECTRUM_VERSION, - install_requires=requirements, --extras_require=extras_require, - packages=[ - 'electrum', - 'electrum.gui', diff --git a/net-misc/electrum-ltc/files/3.3.2-desktop.patch b/net-misc/electrum-ltc/files/3.3.2-desktop.patch deleted file mode 100644 index c75f282182e7.. --- a/net-misc/electrum-ltc/files/3.3.2-desktop.patch +++ /dev/null @@ -1,20 +0,0 @@ a/electrum-ltc.desktop -+++ b/electrum-ltc.desktop -@@ -3,7 +3,7 @@ - - [Desktop Entry] - Comment=Lightweight Litecoin Client --Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum-ltc %u" -+Exec=electrum-ltc %u - GenericName[en_US]=Litecoin Wallet - GenericName=Litecoin Wallet - Icon=electrum-ltc -@@ -15,8 +15,3 @@ - Terminal=false - Type=Application - MimeType=x-scheme-handler/litecoin; --Actions=Testnet; -- --[Desktop Action Testnet] --Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum-ltc --testnet %u" --Name=Testnet mode
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: 14fb747f60ff8e51f21ab6a2214dc8b5087bd1ba Author: Zac Medico gentoo org> AuthorDate: Thu Oct 13 00:14:14 2022 + Commit: Zac Medico gentoo org> CommitDate: Thu Oct 13 00:14:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14fb747f net-misc/electrum-ltc: remove unused USE flags Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/metadata.xml | 5 - 1 file changed, 5 deletions(-) diff --git a/net-misc/electrum-ltc/metadata.xml b/net-misc/electrum-ltc/metadata.xml index 9a3b582dd996..34dfbc02bb8e 100644 --- a/net-misc/electrum-ltc/metadata.xml +++ b/net-misc/electrum-ltc/metadata.xml @@ -7,11 +7,6 @@ Enables the CLI interface - Enable plugin to support multisig wallets between multiple Electrum clients - Enable plugin to support Digital Bitbox hardware wallet - Enable plugin to support emailing invoices Enable QR code scanning with media-gfx/zbar - Enable plugin to sync wallet metadata across multiple Electrum clients - Enable plugin for virtual keyboard
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: dd2dc806143df2df4d99cb29e5b434b4c19ce8d6 Author: Zac Medico gentoo org> AuthorDate: Thu Oct 13 00:09:51 2022 + Commit: Zac Medico gentoo org> CommitDate: Thu Oct 13 00:11:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2dc806 net-misc/electrum-ltc: remove unused audio_modem USE flag Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/net-misc/electrum-ltc/metadata.xml b/net-misc/electrum-ltc/metadata.xml index b26064ef2ca1..9a3b582dd996 100644 --- a/net-misc/electrum-ltc/metadata.xml +++ b/net-misc/electrum-ltc/metadata.xml @@ -7,7 +7,6 @@ Enables the CLI interface - Enable plugin to support Audio Modem 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/electrum-ltc/, profiles/
commit: c2101479695abb32c889bd73f678da0b9cb58e65 Author: Zac Medico gentoo org> AuthorDate: Wed Oct 12 23:50:22 2022 + Commit: Zac Medico gentoo org> CommitDate: Wed Oct 12 23:55:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2101479 net-misc/electrum-ltc: drop 4.0.9.1 Closes: https://bugs.gentoo.org/869506 Closes: https://bugs.gentoo.org/695090 Closes: https://bugs.gentoo.org/792219 Closes: https://bugs.gentoo.org/809272 Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/Manifest| 1 - net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild | 143 -- profiles/package.mask | 6 - 3 files changed, 150 deletions(-) diff --git a/net-misc/electrum-ltc/Manifest b/net-misc/electrum-ltc/Manifest index cdbb25b95e95..37e653f60e61 100644 --- a/net-misc/electrum-ltc/Manifest +++ b/net-misc/electrum-ltc/Manifest @@ -1,2 +1 @@ -DIST electrum-ltc-4.0.9.1.tar.gz 4464915 BLAKE2B 2c328f9fc433f39b11aa2bfc4e397b75aadd07adc66576ae985c5b41b32d663df80bb67dafbbce210f3581f6fb43e666070d090bf189eb4907efd07d306fc945 SHA512 926ad16246d0609a787614b84cadfa893ed792ab2a54a3c0b9d707019e29874b1ae1c42dba098f34b61f915d85578809ff87dc9026c85563264a2d2b583c8823 DIST electrum-ltc-4.2.2.1.tar.gz 5109859 BLAKE2B b3327f6bcf23b5caca6196e380e62f154a9f56a5b636a8d0cc49e08ed0ab5a05b4b1a81d9869b92125526339924ccb9b555a704eb7fa98bce59eac6088c7ebfe SHA512 1ac44a29cd0db7de9570e339892ff42bd72abbe3eeb9f8106eda7be67dbb492cc830881d52f915ffde776892d461f9cff1b88a9ee20bf3c64139c407118e4eb9 diff --git a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild deleted file mode 100644 index 89fa018a6112.. --- a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_8 ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg - -EGIT_COMMIT="${PV}" -DESCRIPTION="Litecoin thin client" -HOMEPAGE="https://electrum-ltc.org/"; -SRC_URI="https://github.com/pooler/electrum-ltc/archive/${EGIT_COMMIT}.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-BR l10n_pt-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="${PYTHON_DEPS} - dev-python/aiohttp-socks[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] - 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 ) -" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -DOCS="RELEASE-NOTES" - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.2.3-pip-optional-pkgs.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # unbind aiorpcX dep - sed -e '/aiorpcx/s:,<0.19::' \ - -i contrib/requirements/requirements.txt || die - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - if ! use qt5; then - sed "/'electrum_ltc.gui.qt',/d" -i setup.py || die - fi - - local wordlist= - for wordlist in \ - $(usex l10n_ja'' japanese) \ - $(usex l10n_pt-BR '' $(usex l10n_pt-PT '' portuguese)) \ - $(usex l10n_es'' spanish) \ - $(usex l10n_zh-CN '' chinese_simplified) \ - ; do - rm -f "${PN}/wordlist/${wordlist}.txt" || die - sed -i "/${wordlist}\\.txt/d" ${PN/-/_}/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 ${PN/-/_}/gui/"${gui}"* -r || die - done - - # And install requested ones... - for gui in \ - $(usex qt5 qt '') \ - ; do -
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: 264405660334ab68ca8f53a41bcd8c2df1ff3387 Author: jeffgazso <95921119+jeffgazso users noreply github com> AuthorDate: Tue Oct 11 00:32:36 2022 + Commit: Zac Medico gentoo org> CommitDate: Wed Oct 12 23:48:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26440566 net-misc/electrum-ltc: add 4.2.2.1 Closes: https://github.com/gentoo/gentoo/pull/27731 Signed-off-by: Jeffery Gazso gmail.com> Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/Manifest| 1 + net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild | 91 +++ 2 files changed, 92 insertions(+) diff --git a/net-misc/electrum-ltc/Manifest b/net-misc/electrum-ltc/Manifest index 52912f963035..cdbb25b95e95 100644 --- a/net-misc/electrum-ltc/Manifest +++ b/net-misc/electrum-ltc/Manifest @@ -1 +1,2 @@ DIST electrum-ltc-4.0.9.1.tar.gz 4464915 BLAKE2B 2c328f9fc433f39b11aa2bfc4e397b75aadd07adc66576ae985c5b41b32d663df80bb67dafbbce210f3581f6fb43e666070d090bf189eb4907efd07d306fc945 SHA512 926ad16246d0609a787614b84cadfa893ed792ab2a54a3c0b9d707019e29874b1ae1c42dba098f34b61f915d85578809ff87dc9026c85563264a2d2b583c8823 +DIST electrum-ltc-4.2.2.1.tar.gz 5109859 BLAKE2B b3327f6bcf23b5caca6196e380e62f154a9f56a5b636a8d0cc49e08ed0ab5a05b4b1a81d9869b92125526339924ccb9b555a704eb7fa98bce59eac6088c7ebfe SHA512 1ac44a29cd0db7de9570e339892ff42bd72abbe3eeb9f8106eda7be67dbb492cc830881d52f915ffde776892d461f9cff1b88a9ee20bf3c64139c407118e4eb9 diff --git a/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild new file mode 100644 index ..a6a1b078e2ee --- /dev/null +++ b/net-misc/electrum-ltc/electrum-ltc-4.2.2.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils desktop + +DESCRIPTION="User friendly Litecoin client" +HOMEPAGE="https://electrum-ltc.org/"; +SRC_URI="https://github.com/pooler/electrum-ltc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/libsecp256k1 + dev-python/scrypt[${PYTHON_USEDEP}] + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum_ltc/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + + local bestgui + if use qt5; then + bestgui=qt + elif use ncurses; then + bestgui=text + else + bestgui=stdio + fi + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install + domenu electrum-ltc.desktop + doicon electrum_ltc/gui/icons/electrum-ltc.png +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 48a931fbe7193a6b1ba092a6f0b66998ef6c1c7f Author: Michał Górny gentoo org> AuthorDate: Tue Sep 27 01:39:23 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Sep 27 02:03:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a931fb net-misc/electrum: Bump to 4.3.2 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.3.2.ebuild | 95 + 2 files changed, 96 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 56775674b3f3..2031ec8d4ea7 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.3.1.gh.tar.gz 5444509 BLAKE2B 68d63b730396c229bcb09262740a7d3ef322fce7fd16265d352e3eb2039e123d043307036d906b1688cc43d33620cf1b8f7aaa03ac9f5d68e5f9a2b84e6d44a7 SHA512 038b7c643ed11fe14e368be91bc09e5f043d4ae86cdf0ad0d80861ffa47aececcc4b0bec5a8596a8d78590b859bf302ed99d2d57bab1a2a053677fc7fa190e06 +DIST electrum-4.3.2.gh.tar.gz 5460546 BLAKE2B b2367116aef2a2a76dca30a635188bcd99f0fdd46ce6e8c5a2d6608fbb8f0a58e88b8352c5db92b7c8709f7bbc420fc1860204aca1efc2f2c4be2c788bfa1909 SHA512 dfb137e01ca6e511fb5ac70c34dcb01f36bdb209d7d290bd53c8fa5f95783f346898478d6e58435b241928dfe05ff46455e2e587520d47892c66b3198ab89c82 diff --git a/net-misc/electrum/electrum-4.3.2.ebuild b/net-misc/electrum/electrum-4.3.2.ebuild new file mode 100644 index ..52e7834f1a47 --- /dev/null +++ b/net-misc/electrum/electrum-4.3.2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/, net-misc/electrum/files/
commit: 2feab18f3a63137901820164ebc318f922403686 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 22 09:44:12 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu Sep 22 09:44:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2feab18f net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 2 - net-misc/electrum/electrum-4.2.2.ebuild | 99 net-misc/electrum/electrum-4.3.0.ebuild | 95 --- net-misc/electrum/files/3.1.2-no-user-root.patch | 17 4 files changed, 213 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index b6a7d360af49..56775674b3f3 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1 @@ -DIST electrum-4.2.2.gh.tar.gz 5071636 BLAKE2B a13ae03e513736e5f24ded46a9b6ce13312a7d9243082f1d5b1948e7519f40f1fab238ec73550f72607ff2463a54a31f47c6ab8e511efddfcec362d5e427c6c1 SHA512 ae39ca0b548f3e4c7454096a7a05f9400a738e3b1c217ae9d41bf6156f7d642d3f1911f97829bfadbf6fdb6873538f38525363d256b363dac41d378c6b41002d -DIST electrum-4.3.0.gh.tar.gz 5436120 BLAKE2B 180fcbd7749888707e9e57a9117b1df98f248584d68a9edcea996a73a0fdbc78f0955f778af50afae1a7a02b0d12b4aefe58b8a63f59a2b220ecddb20126966f SHA512 305ff483de498c93b118422fdff0f67ba9522275d45a5f8b14040697647b58b8113e312fd6b14bf15d3cbba3907d978657dd99d8c02e199d8c936afa2b9a6407 DIST electrum-4.3.1.gh.tar.gz 5444509 BLAKE2B 68d63b730396c229bcb09262740a7d3ef322fce7fd16265d352e3eb2039e123d043307036d906b1688cc43d33620cf1b8f7aaa03ac9f5d68e5f9a2b84e6d44a7 SHA512 038b7c643ed11fe14e368be91bc09e5f043d4ae86cdf0ad0d80861ffa47aececcc4b0bec5a8596a8d78590b859bf302ed99d2d57bab1a2a053677fc7fa190e06 diff --git a/net-misc/electrum/electrum-4.2.2.ebuild b/net-misc/electrum/electrum-4.2.2.ebuild deleted file mode 100644 index 3741fcfc777b.. --- a/net-misc/electrum/electrum-4.2.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - - # Prevent data files from being installed in the wrong location - sed -i -e '/icons_dirname/d' -e '/applications/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - domenu electrum.desktop - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -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/electrum/electrum-4.3.0.ebuild b/net-misc/electrum/
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 227c4c72be2e38cdcbe796004d2a37d79e722809 Author: Jakov Smolić gentoo org> AuthorDate: Thu Sep 22 08:05:06 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Sep 22 08:05:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227c4c72 net-misc/electrum: Stabilize 4.3.1 ALLARCHES, #872293 Signed-off-by: Jakov Smolić gentoo.org> net-misc/electrum/electrum-4.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.3.1.ebuild b/net-misc/electrum/electrum-4.3.1.ebuild index 52e7834f1a47..719d71694cf4 100644 --- a/net-misc/electrum/electrum-4.3.1.ebuild +++ b/net-misc/electrum/electrum-4.3.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 71873b8fb50fd291594eeb8d94d75841ea80bac0 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 30 05:20:48 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 30 05:45:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71873b8f net-misc/electrum: Bump to 4.3.1 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.3.1.ebuild | 95 + 2 files changed, 96 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index b6885a6a7c22..b6a7d360af49 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.2.2.gh.tar.gz 5071636 BLAKE2B a13ae03e513736e5f24ded46a9b6ce13312a7d9243082f1d5b1948e7519f40f1fab238ec73550f72607ff2463a54a31f47c6ab8e511efddfcec362d5e427c6c1 SHA512 ae39ca0b548f3e4c7454096a7a05f9400a738e3b1c217ae9d41bf6156f7d642d3f1911f97829bfadbf6fdb6873538f38525363d256b363dac41d378c6b41002d DIST electrum-4.3.0.gh.tar.gz 5436120 BLAKE2B 180fcbd7749888707e9e57a9117b1df98f248584d68a9edcea996a73a0fdbc78f0955f778af50afae1a7a02b0d12b4aefe58b8a63f59a2b220ecddb20126966f SHA512 305ff483de498c93b118422fdff0f67ba9522275d45a5f8b14040697647b58b8113e312fd6b14bf15d3cbba3907d978657dd99d8c02e199d8c936afa2b9a6407 +DIST electrum-4.3.1.gh.tar.gz 5444509 BLAKE2B 68d63b730396c229bcb09262740a7d3ef322fce7fd16265d352e3eb2039e123d043307036d906b1688cc43d33620cf1b8f7aaa03ac9f5d68e5f9a2b84e6d44a7 SHA512 038b7c643ed11fe14e368be91bc09e5f043d4ae86cdf0ad0d80861ffa47aececcc4b0bec5a8596a8d78590b859bf302ed99d2d57bab1a2a053677fc7fa190e06 diff --git a/net-misc/electrum/electrum-4.3.1.ebuild b/net-misc/electrum/electrum-4.3.1.ebuild new file mode 100644 index ..52e7834f1a47 --- /dev/null +++ b/net-misc/electrum/electrum-4.3.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 7ed0df11b14cdfa8ec8068c8ab102b01896991a2 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 7 08:06:53 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 7 08:11:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed0df11 net-misc/electrum: Bump to 4.3.0 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.3.0.ebuild | 95 + 2 files changed, 96 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index df17044d014a..b6885a6a7c22 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.2.2.gh.tar.gz 5071636 BLAKE2B a13ae03e513736e5f24ded46a9b6ce13312a7d9243082f1d5b1948e7519f40f1fab238ec73550f72607ff2463a54a31f47c6ab8e511efddfcec362d5e427c6c1 SHA512 ae39ca0b548f3e4c7454096a7a05f9400a738e3b1c217ae9d41bf6156f7d642d3f1911f97829bfadbf6fdb6873538f38525363d256b363dac41d378c6b41002d +DIST electrum-4.3.0.gh.tar.gz 5436120 BLAKE2B 180fcbd7749888707e9e57a9117b1df98f248584d68a9edcea996a73a0fdbc78f0955f778af50afae1a7a02b0d12b4aefe58b8a63f59a2b220ecddb20126966f SHA512 305ff483de498c93b118422fdff0f67ba9522275d45a5f8b14040697647b58b8113e312fd6b14bf15d3cbba3907d978657dd99d8c02e199d8c936afa2b9a6407 diff --git a/net-misc/electrum/electrum-4.3.0.ebuild b/net-misc/electrum/electrum-4.3.0.ebuild new file mode 100644 index ..125465b08385 --- /dev/null +++ b/net-misc/electrum/electrum-4.3.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE=" + https://electrum.org/ + https://github.com/spesmilo/electrum/ +" +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 209997f21d87a7cc8435b33385adb3e42baed79a Author: Michał Górny gentoo org> AuthorDate: Sun Jun 19 05:04:16 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 19 05:04:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=209997f2 net-misc/electrum: Remove old Bug: https://bugs.gentoo.org/852842 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 - net-misc/electrum/electrum-4.2.1-r2.ebuild | 99 -- 2 files changed, 100 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 656adb310ef9..df17044d014a 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1 @@ -DIST electrum-4.2.1.gh.tar.gz 5066728 BLAKE2B 66b1ef4ec21f74f2f5c25de97a31c2ec23f907526df2ac661fdcb563e1e857ca88f4f534f2373e809ba978c66b78af72260af27944ac7aa8a92e86531827fef6 SHA512 b32ee5f8779bdb9bcda6a163f3f0a4cd95e91efb37418734c9f08930221ad15e54868fca0d5d0fb1dd3b1fac91b8cdea6c6ec822d98ad6b3d6ee01c841972e88 DIST electrum-4.2.2.gh.tar.gz 5071636 BLAKE2B a13ae03e513736e5f24ded46a9b6ce13312a7d9243082f1d5b1948e7519f40f1fab238ec73550f72607ff2463a54a31f47c6ab8e511efddfcec362d5e427c6c1 SHA512 ae39ca0b548f3e4c7454096a7a05f9400a738e3b1c217ae9d41bf6156f7d642d3f1911f97829bfadbf6fdb6873538f38525363d256b363dac41d378c6b41002d diff --git a/net-misc/electrum/electrum-4.2.1-r2.ebuild b/net-misc/electrum/electrum-4.2.1-r2.ebuild deleted file mode 100644 index 3741fcfc777b.. --- a/net-misc/electrum/electrum-4.2.1-r2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - - # Prevent data files from being installed in the wrong location - sed -i -e '/icons_dirname/d' -e '/applications/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die - - # make qdarkstyle dep optional - sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - domenu electrum.desktop - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 1d85dd357720e1888efdb3bc85ea9de5a9368f86 Author: Sam James gentoo org> AuthorDate: Sat Jun 18 20:25:01 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jun 18 20:25:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d85dd35 net-misc/electrum: Stabilize 4.2.2 ALLARCHES, #852869 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.2.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.2.2.ebuild b/net-misc/electrum/electrum-4.2.2.ebuild index 24459edb0784..3741fcfc777b 100644 --- a/net-misc/electrum/electrum-4.2.2.ebuild +++ b/net-misc/electrum/electrum-4.2.2.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6378f9ea2767792799024ec4390aa9daea0cb2d8 Author: Michał Górny gentoo org> AuthorDate: Sat May 28 04:49:18 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat May 28 05:00:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6378f9ea net-misc/electrum: Bump to 4.2.2 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.2.2.ebuild | 99 + 2 files changed, 100 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 305abd47b912..656adb310ef9 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.2.1.gh.tar.gz 5066728 BLAKE2B 66b1ef4ec21f74f2f5c25de97a31c2ec23f907526df2ac661fdcb563e1e857ca88f4f534f2373e809ba978c66b78af72260af27944ac7aa8a92e86531827fef6 SHA512 b32ee5f8779bdb9bcda6a163f3f0a4cd95e91efb37418734c9f08930221ad15e54868fca0d5d0fb1dd3b1fac91b8cdea6c6ec822d98ad6b3d6ee01c841972e88 +DIST electrum-4.2.2.gh.tar.gz 5071636 BLAKE2B a13ae03e513736e5f24ded46a9b6ce13312a7d9243082f1d5b1948e7519f40f1fab238ec73550f72607ff2463a54a31f47c6ab8e511efddfcec362d5e427c6c1 SHA512 ae39ca0b548f3e4c7454096a7a05f9400a738e3b1c217ae9d41bf6156f7d642d3f1911f97829bfadbf6fdb6873538f38525363d256b363dac41d378c6b41002d diff --git a/net-misc/electrum/electrum-4.2.2.ebuild b/net-misc/electrum/electrum-4.2.2.ebuild new file mode 100644 index ..24459edb0784 --- /dev/null +++ b/net-misc/electrum/electrum-4.2.2.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + + # Prevent data files from being installed in the wrong location + sed -i -e '/icons_dirname/d' -e '/applications/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || 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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + domenu electrum.desktop + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: b3797d250726f95b35d8ae247413117574479b0f Author: Michał Górny gentoo org> AuthorDate: Sat May 21 08:19:58 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat May 21 09:09:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3797d25 net-misc/electrum: Make qdarkstyle dep optional Signed-off-by: Michał Górny gentoo.org> .../electrum/{electrum-4.2.1-r1.ebuild => electrum-4.2.1-r2.ebuild}| 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/electrum/electrum-4.2.1-r1.ebuild b/net-misc/electrum/electrum-4.2.1-r2.ebuild similarity index 95% rename from net-misc/electrum/electrum-4.2.1-r1.ebuild rename to net-misc/electrum/electrum-4.2.1-r2.ebuild index 7811b4d896ad..3741fcfc777b 100644 --- a/net-misc/electrum/electrum-4.2.1-r1.ebuild +++ b/net-misc/electrum/electrum-4.2.1-r2.ebuild @@ -62,6 +62,9 @@ src_prepare() { # use backwards-compatible cryptodome API sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die + # make qdarkstyle dep optional + sed -i -e '/qdarkstyle/d' contrib/requirements/requirements.txt || die + local bestgui if use qt5; then bestgui=qt
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 337cabfb1bbab31a4269ade23c4b859aff0a7cd8 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 27 20:11:20 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 27 20:17:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337cabfb net-misc/electrum: Fix .desktop file install Signed-off-by: Michał Górny gentoo.org> .../electrum/{electrum-4.2.1.ebuild => electrum-4.2.1-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-misc/electrum/electrum-4.2.1.ebuild b/net-misc/electrum/electrum-4.2.1-r1.ebuild similarity index 93% rename from net-misc/electrum/electrum-4.2.1.ebuild rename to net-misc/electrum/electrum-4.2.1-r1.ebuild index 04fce81901f4..7811b4d896ad 100644 --- a/net-misc/electrum/electrum-4.2.1.ebuild +++ b/net-misc/electrum/electrum-4.2.1-r1.ebuild @@ -56,8 +56,8 @@ distutils_enable_tests pytest src_prepare() { eapply "${FILESDIR}/3.1.2-no-user-root.patch" - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die + # Prevent data files from being installed in the wrong location + sed -i -e '/icons_dirname/d' -e '/applications/d' setup.py || die # use backwards-compatible cryptodome API sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die @@ -80,6 +80,7 @@ src_prepare() { src_install() { doicon -s 128 electrum/gui/icons/${PN}.png + domenu electrum.desktop dodoc RELEASE-NOTES distutils-r1_src_install }
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: e9343208f71591b73013fdb7f6e4dc9fd2a09965 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 27 19:59:34 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 27 20:17:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9343208 net-misc/electrum: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.2.1.ebuild | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-misc/electrum/electrum-4.2.1.ebuild b/net-misc/electrum/electrum-4.2.1.ebuild index ec9ee687e2ae..04fce81901f4 100644 --- a/net-misc/electrum/electrum-4.2.1.ebuild +++ b/net-misc/electrum/electrum-4.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="ncurses?" inherit desktop distutils-r1 xdg-utils @@ -13,7 +13,8 @@ DESCRIPTION="User friendly Bitcoin client" HOMEPAGE="https://electrum.org/"; SRC_URI=" https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -21,7 +22,8 @@ KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )" -RDEPEND="${PYTHON_DEPS} +RDEPEND=" + ${PYTHON_DEPS} dev-libs/libsecp256k1 >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/files/, net-misc/electrum/
commit: b7075feccceb71b8c8a986fcfaa66610bbdb9e25 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 27 19:51:16 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 27 19:51:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7075fec net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 2 - net-misc/electrum/electrum-4.1.5.ebuild | 99 - net-misc/electrum/electrum-4.2.0.ebuild | 93 --- net-misc/electrum/files/3.3.2-desktop.patch | 21 -- 4 files changed, 215 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 0de148fa01b2..305abd47b912 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1 @@ -DIST electrum-4.1.5.gh.tar.gz 4998188 BLAKE2B c33f1a8fa2af68370319a4f4fefe4d1814a20870114f4929d53bf90eca6bbb555cf9e52681f329d18dec32642ee21ee0e32558ec817936291296ce8e196c8fb1 SHA512 9430dfde6d6e78bb71db416cd35f474b44e234d69421b370dc7e4b09584ad86e095051dcf1366c142d5e6c3029aca617b4fb383f50904fc43d2f7f99053b1c92 -DIST electrum-4.2.0.gh.tar.gz 5065087 BLAKE2B 800667f2661ef45fae7e7f2d73229810eb490e90a9bea7ff84c04c3cf859f07ac71972658a52f802817a42de7eeb0084c6b0e1aba74733918f250228996f0641 SHA512 72c8afcd2f3fc3de2b8b6516dc82355718c7dc9a88b06ba91d8e3a3d1e2bf329c02cfc8ea9dc22aff88fbde622dd443606f14e11e0bf8050da5765cd9be75a83 DIST electrum-4.2.1.gh.tar.gz 5066728 BLAKE2B 66b1ef4ec21f74f2f5c25de97a31c2ec23f907526df2ac661fdcb563e1e857ca88f4f534f2373e809ba978c66b78af72260af27944ac7aa8a92e86531827fef6 SHA512 b32ee5f8779bdb9bcda6a163f3f0a4cd95e91efb37418734c9f08930221ad15e54868fca0d5d0fb1dd3b1fac91b8cdea6c6ec822d98ad6b3d6ee01c841972e88 diff --git a/net-misc/electrum/electrum-4.1.5.ebuild b/net-misc/electrum/electrum-4.1.5.ebuild deleted file mode 100644 index 1efda47c7185.. --- a/net-misc/electrum/electrum-4.1.5.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # unbind aiorpcX dep - sed -e '/aiorpcx/s:,<0.19::' \ - -i contrib/requirements/requirements.txt || die - sed -e '/aiorpcx/s:raise.*:pass:' \ - -i run_electrum || die - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -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/electrum/electrum-4.
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: cd2d009b9d7a40fa7f64ccd9478d8f65c28770e9 Author: Sam James gentoo org> AuthorDate: Wed Apr 27 18:20:06 2022 + Commit: Sam James gentoo org> CommitDate: Wed Apr 27 18:20:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd2d009b net-misc/electrum: Stabilize 4.2.1 ALLARCHES, #841287 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.2.1.ebuild b/net-misc/electrum/electrum-4.2.1.ebuild index 02786de94c6c..ec9ee687e2ae 100644 --- a/net-misc/electrum/electrum-4.2.1.ebuild +++ b/net-misc/electrum/electrum-4.2.1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: b35fea7fd5b59dec54a5741b4a436d949761a999 Author: Sam James gentoo org> AuthorDate: Tue Apr 5 06:51:47 2022 + Commit: Sam James gentoo org> CommitDate: Tue Apr 5 06:51:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35fea7f net-misc/electrum-ltc: fix icon cache update Closes: https://bugs.gentoo.org/793701 Signed-off-by: Sam James gentoo.org> net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild index 7cdd8f438e5b..89fa018a6112 100644 --- a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -6,7 +6,7 @@ EAPI="7" PYTHON_COMPAT=( python3_8 ) PYTHON_REQ_USE="ncurses?" -inherit desktop distutils-r1 gnome2-utils xdg-utils +inherit desktop distutils-r1 xdg EGIT_COMMIT="${PV}" DESCRIPTION="Litecoin thin client" @@ -141,17 +141,3 @@ src_install() { doicon -s 128 ${PN/-/_}/gui/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 -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 7216dfde5614570e91950eea041096efed51f7ce Author: Michał Górny gentoo org> AuthorDate: Thu Mar 24 23:23:51 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 25 00:02:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7216dfde net-misc/electrum: Bump to 4.2.1 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.2.1.ebuild | 93 + 2 files changed, 94 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index b02cfe8a1024..0de148fa01b2 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.1.5.gh.tar.gz 4998188 BLAKE2B c33f1a8fa2af68370319a4f4fefe4d1814a20870114f4929d53bf90eca6bbb555cf9e52681f329d18dec32642ee21ee0e32558ec817936291296ce8e196c8fb1 SHA512 9430dfde6d6e78bb71db416cd35f474b44e234d69421b370dc7e4b09584ad86e095051dcf1366c142d5e6c3029aca617b4fb383f50904fc43d2f7f99053b1c92 DIST electrum-4.2.0.gh.tar.gz 5065087 BLAKE2B 800667f2661ef45fae7e7f2d73229810eb490e90a9bea7ff84c04c3cf859f07ac71972658a52f802817a42de7eeb0084c6b0e1aba74733918f250228996f0641 SHA512 72c8afcd2f3fc3de2b8b6516dc82355718c7dc9a88b06ba91d8e3a3d1e2bf329c02cfc8ea9dc22aff88fbde622dd443606f14e11e0bf8050da5765cd9be75a83 +DIST electrum-4.2.1.gh.tar.gz 5066728 BLAKE2B 66b1ef4ec21f74f2f5c25de97a31c2ec23f907526df2ac661fdcb563e1e857ca88f4f534f2373e809ba978c66b78af72260af27944ac7aa8a92e86531827fef6 SHA512 b32ee5f8779bdb9bcda6a163f3f0a4cd95e91efb37418734c9f08930221ad15e54868fca0d5d0fb1dd3b1fac91b8cdea6c6ec822d98ad6b3d6ee01c841972e88 diff --git a/net-misc/electrum/electrum-4.2.1.ebuild b/net-misc/electrum/electrum-4.2.1.ebuild new file mode 100644 index ..02786de94c6c --- /dev/null +++ b/net-misc/electrum/electrum-4.2.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6179c2631f9970efcedb07e18652cd4b7fba4bad Author: Michał Górny gentoo org> AuthorDate: Tue Mar 15 18:02:47 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 15 18:24:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6179c263 net-misc/electrum: Bump to 4.2.0 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.2.0.ebuild | 93 + 2 files changed, 94 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 13cc592bad43..b02cfe8a1024 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.1.5.gh.tar.gz 4998188 BLAKE2B c33f1a8fa2af68370319a4f4fefe4d1814a20870114f4929d53bf90eca6bbb555cf9e52681f329d18dec32642ee21ee0e32558ec817936291296ce8e196c8fb1 SHA512 9430dfde6d6e78bb71db416cd35f474b44e234d69421b370dc7e4b09584ad86e095051dcf1366c142d5e6c3029aca617b4fb383f50904fc43d2f7f99053b1c92 +DIST electrum-4.2.0.gh.tar.gz 5065087 BLAKE2B 800667f2661ef45fae7e7f2d73229810eb490e90a9bea7ff84c04c3cf859f07ac71972658a52f802817a42de7eeb0084c6b0e1aba74733918f250228996f0641 SHA512 72c8afcd2f3fc3de2b8b6516dc82355718c7dc9a88b06ba91d8e3a3d1e2bf329c02cfc8ea9dc22aff88fbde622dd443606f14e11e0bf8050da5765cd9be75a83 diff --git a/net-misc/electrum/electrum-4.2.0.ebuild b/net-misc/electrum/electrum-4.2.0.ebuild new file mode 100644 index ..02786de94c6c --- /dev/null +++ b/net-misc/electrum/electrum-4.2.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.22*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: a187fdac131a4d90501c4dd5fa8b59f0bf1a5b1b Author: Michał Górny gentoo org> AuthorDate: Mon Aug 2 05:43:08 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 2 05:43:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a187fdac net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 3 - net-misc/electrum/electrum-4.1.2-r1.ebuild | 99 -- net-misc/electrum/electrum-4.1.3.ebuild| 99 -- net-misc/electrum/electrum-4.1.4.ebuild| 99 -- 4 files changed, 300 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index c3935121cc3..13cc592bad4 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,4 +1 @@ -DIST electrum-4.1.2.gh.tar.gz 4926068 BLAKE2B e5d543c963cfec523e80e2de8b6a44c1845bdee23524c182e86efb7ff41caeaccebbefab2b8dda9c1e027410809d42be30db6dbc20fd877f3c749619478a6977 SHA512 4db8f8061ae149a5d9770b8c30676aa85ee66eb71052763e29d551317484b597628aad702370486b466c981688488f5a4592ae30a426e5fcd9250bc1a69a890a -DIST electrum-4.1.3.gh.tar.gz 4958955 BLAKE2B 0d338261ada16d5f1a9b01532fd976094ed7105204f45997c789c01c757d85e7d8a47d20935f848a7e52db1755f953d999e974500cb016f34088642f046c6637 SHA512 af74cfd5ef3f5bc8a788a55b3459029fec7a08b693a3e58133b74a5ad782d4a716061e8619bef633fcfee8a9d1989980c1e8e8e314cea2431e473745660e773e -DIST electrum-4.1.4.gh.tar.gz 4959040 BLAKE2B ac17588f542bde4d368065815688c36afac2c5d0ace849a7dfe997113d2c0d6c23512c8091d039a73436709f7104fb0c86aabe1a81448ae0d26644343c4cc588 SHA512 e6e0d01f1f32389da95c3fa131c8aaaeeaf38af1203cddbd06cbfb1b09070cc89fcd30a9c9979f5b06d4ba40001d046690aea6501342ce1669271c6646717be9 DIST electrum-4.1.5.gh.tar.gz 4998188 BLAKE2B c33f1a8fa2af68370319a4f4fefe4d1814a20870114f4929d53bf90eca6bbb555cf9e52681f329d18dec32642ee21ee0e32558ec817936291296ce8e196c8fb1 SHA512 9430dfde6d6e78bb71db416cd35f474b44e234d69421b370dc7e4b09584ad86e095051dcf1366c142d5e6c3029aca617b4fb383f50904fc43d2f7f99053b1c92 diff --git a/net-misc/electrum/electrum-4.1.2-r1.ebuild b/net-misc/electrum/electrum-4.1.2-r1.ebuild deleted file mode 100644 index 1efda47c718..000 --- a/net-misc/electrum/electrum-4.1.2-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # unbind aiorpcX dep - sed -e '/aiorpcx/s:,<0.19::' \ - -i contrib/requirements/requirements.txt || die - sed -e '/aiorpcx/s:raise.*:pass:' \ - -i run_electrum || die - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_in
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6683131df0d4d74e8a195a16781381b58178958c Author: Michał Górny gentoo org> AuthorDate: Tue Jul 20 06:11:25 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue Jul 20 09:08:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6683131d net-misc/electrum: Bump to 4.1.5 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.1.5.ebuild | 99 + 2 files changed, 100 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index b4eb067eb93..c3935121cc3 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1,4 @@ DIST electrum-4.1.2.gh.tar.gz 4926068 BLAKE2B e5d543c963cfec523e80e2de8b6a44c1845bdee23524c182e86efb7ff41caeaccebbefab2b8dda9c1e027410809d42be30db6dbc20fd877f3c749619478a6977 SHA512 4db8f8061ae149a5d9770b8c30676aa85ee66eb71052763e29d551317484b597628aad702370486b466c981688488f5a4592ae30a426e5fcd9250bc1a69a890a DIST electrum-4.1.3.gh.tar.gz 4958955 BLAKE2B 0d338261ada16d5f1a9b01532fd976094ed7105204f45997c789c01c757d85e7d8a47d20935f848a7e52db1755f953d999e974500cb016f34088642f046c6637 SHA512 af74cfd5ef3f5bc8a788a55b3459029fec7a08b693a3e58133b74a5ad782d4a716061e8619bef633fcfee8a9d1989980c1e8e8e314cea2431e473745660e773e DIST electrum-4.1.4.gh.tar.gz 4959040 BLAKE2B ac17588f542bde4d368065815688c36afac2c5d0ace849a7dfe997113d2c0d6c23512c8091d039a73436709f7104fb0c86aabe1a81448ae0d26644343c4cc588 SHA512 e6e0d01f1f32389da95c3fa131c8aaaeeaf38af1203cddbd06cbfb1b09070cc89fcd30a9c9979f5b06d4ba40001d046690aea6501342ce1669271c6646717be9 +DIST electrum-4.1.5.gh.tar.gz 4998188 BLAKE2B c33f1a8fa2af68370319a4f4fefe4d1814a20870114f4929d53bf90eca6bbb555cf9e52681f329d18dec32642ee21ee0e32558ec817936291296ce8e196c8fb1 SHA512 9430dfde6d6e78bb71db416cd35f474b44e234d69421b370dc7e4b09584ad86e095051dcf1366c142d5e6c3029aca617b4fb383f50904fc43d2f7f99053b1c92 diff --git a/net-misc/electrum/electrum-4.1.5.ebuild b/net-misc/electrum/electrum-4.1.5.ebuild new file mode 100644 index 000..a8c551d5f9b --- /dev/null +++ b/net-misc/electrum/electrum-4.1.5.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcx/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + sed -e '/aiorpcx/s:raise.*:pass:' \ + -i run_electrum || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 925651d3337c1ad824d5dca535bd42c8a0cdd3b8 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 17 19:41:33 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 17 19:41:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925651d3 net-misc/electrum: Bump to 4.1.4 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.1.4.ebuild | 99 + 2 files changed, 100 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index df71e72cf8b..b4eb067eb93 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.1.2.gh.tar.gz 4926068 BLAKE2B e5d543c963cfec523e80e2de8b6a44c1845bdee23524c182e86efb7ff41caeaccebbefab2b8dda9c1e027410809d42be30db6dbc20fd877f3c749619478a6977 SHA512 4db8f8061ae149a5d9770b8c30676aa85ee66eb71052763e29d551317484b597628aad702370486b466c981688488f5a4592ae30a426e5fcd9250bc1a69a890a DIST electrum-4.1.3.gh.tar.gz 4958955 BLAKE2B 0d338261ada16d5f1a9b01532fd976094ed7105204f45997c789c01c757d85e7d8a47d20935f848a7e52db1755f953d999e974500cb016f34088642f046c6637 SHA512 af74cfd5ef3f5bc8a788a55b3459029fec7a08b693a3e58133b74a5ad782d4a716061e8619bef633fcfee8a9d1989980c1e8e8e314cea2431e473745660e773e +DIST electrum-4.1.4.gh.tar.gz 4959040 BLAKE2B ac17588f542bde4d368065815688c36afac2c5d0ace849a7dfe997113d2c0d6c23512c8091d039a73436709f7104fb0c86aabe1a81448ae0d26644343c4cc588 SHA512 e6e0d01f1f32389da95c3fa131c8aaaeeaf38af1203cddbd06cbfb1b09070cc89fcd30a9c9979f5b06d4ba40001d046690aea6501342ce1669271c6646717be9 diff --git a/net-misc/electrum/electrum-4.1.4.ebuild b/net-misc/electrum/electrum-4.1.4.ebuild new file mode 100644 index 000..a8c551d5f9b --- /dev/null +++ b/net-misc/electrum/electrum-4.1.4.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcx/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + sed -e '/aiorpcx/s:raise.*:pass:' \ + -i run_electrum || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 6bd263d728b0174ca4530328aa26f22ef1e28db0 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 16 19:20:01 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Jun 16 19:33:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd263d7 net-misc/electrum: Bump to 4.1.3 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.1.3.ebuild | 99 + 2 files changed, 100 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 70294e196ab..df71e72cf8b 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.1.2.gh.tar.gz 4926068 BLAKE2B e5d543c963cfec523e80e2de8b6a44c1845bdee23524c182e86efb7ff41caeaccebbefab2b8dda9c1e027410809d42be30db6dbc20fd877f3c749619478a6977 SHA512 4db8f8061ae149a5d9770b8c30676aa85ee66eb71052763e29d551317484b597628aad702370486b466c981688488f5a4592ae30a426e5fcd9250bc1a69a890a +DIST electrum-4.1.3.gh.tar.gz 4958955 BLAKE2B 0d338261ada16d5f1a9b01532fd976094ed7105204f45997c789c01c757d85e7d8a47d20935f848a7e52db1755f953d999e974500cb016f34088642f046c6637 SHA512 af74cfd5ef3f5bc8a788a55b3459029fec7a08b693a3e58133b74a5ad782d4a716061e8619bef633fcfee8a9d1989980c1e8e8e314cea2431e473745660e773e diff --git a/net-misc/electrum/electrum-4.1.3.ebuild b/net-misc/electrum/electrum-4.1.3.ebuild new file mode 100644 index 000..a8c551d5f9b --- /dev/null +++ b/net-misc/electrum/electrum-4.1.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcx/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + sed -e '/aiorpcx/s:raise.*:pass:' \ + -i run_electrum || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 47ed4d7b2e4e00578f4137f3752afdc298484b0c Author: Michał Górny gentoo org> AuthorDate: Tue Jun 1 11:21:49 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 1 20:35:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ed4d7b net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 3 - net-misc/electrum/electrum-4.0.9-r2.ebuild | 97 -- net-misc/electrum/electrum-4.1.0.ebuild| 97 -- net-misc/electrum/electrum-4.1.1.ebuild| 97 -- 4 files changed, 294 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index ec5c368016e..70294e196ab 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,4 +1 @@ -DIST electrum-4.0.9.gh.tar.gz 4435268 BLAKE2B e1dfe319f7b4beffd039164c97d247f5d267d9d99313480bf06f9b748d095b33859cd8ea5dd5a135b38a1a206858e08ce500af8982ef7a6e3b3f7ff0233b9637 SHA512 a9a04163c8d76006ca18e1c50f38cabd7c3d7d75b16c8504627b9eb49bf9dca91800e18a585e7afd0b98fafeeeb821b967bea29928a46d10f65f0abc3fb90887 -DIST electrum-4.1.0.gh.tar.gz 4539032 BLAKE2B 72ef52a000799e496e6ccca152dc8bec827aef23d4e3290fd2e86ace0f96e9267f68b56c390b873658dc8f6e6998080bd0283494ee74603c360dfe250b64c282 SHA512 7dd94bfc23f78e915f42f1043f6b7e9d0d6d5de7303418da8d2f3bd53ece794c74c3cd0dd9d77b370a6c6f049261273b170ddcb67f6c3dc7189869b200e8d437 -DIST electrum-4.1.1.gh.tar.gz 4539619 BLAKE2B abcb0713b8b82fb7b13b432146ee63746690cf3a80d3951de41a13435eba7217010c92653d5263ea155072e5bb911e38f6c3d6a83f72bda9fb07a26f705e2621 SHA512 f3066171bc8cef1402356f01254acdce3e4f4d6fb99a1feb52d76f3a7c21f5b082148b7b598b19ae8a4817b221b8d80f27f9ab67d3d09e465856d51f8b28f0e4 DIST electrum-4.1.2.gh.tar.gz 4926068 BLAKE2B e5d543c963cfec523e80e2de8b6a44c1845bdee23524c182e86efb7ff41caeaccebbefab2b8dda9c1e027410809d42be30db6dbc20fd877f3c749619478a6977 SHA512 4db8f8061ae149a5d9770b8c30676aa85ee66eb71052763e29d551317484b597628aad702370486b466c981688488f5a4592ae30a426e5fcd9250bc1a69a890a diff --git a/net-misc/electrum/electrum-4.0.9-r2.ebuild b/net-misc/electrum/electrum-4.0.9-r2.ebuild deleted file mode 100644 index c0432d8aaef..000 --- a/net-misc/electrum/electrum-4.0.9-r2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_8 ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # unbind aiorpcX dep - sed -e '/aiorpcX/s:,<0.19::' \ - -i contrib/requirements/requirements.txt || die - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - dodoc RELEASE-NOTES
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 73110511ac9f73860995d9fafbae3368d245cbb5 Author: Sam James gentoo org> AuthorDate: Tue Jun 1 10:38:29 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jun 1 10:38:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73110511 net-misc/electrum: Stabilize 4.1.2-r1 ALLARCHES, #791580 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.1.2-r1.ebuild b/net-misc/electrum/electrum-4.1.2-r1.ebuild index a8c551d5f9b..1efda47c718 100644 --- a/net-misc/electrum/electrum-4.1.2-r1.ebuild +++ b/net-misc/electrum/electrum-4.1.2-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: f6bb46ffd06dc6faa3c036135351fc6b4b69092b Author: Michał Górny gentoo org> AuthorDate: Mon May 31 20:57:08 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon May 31 20:57:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6bb46ff net-misc/electrum-ltc: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum-ltc/Manifest | 1 - .../electrum-ltc/electrum-ltc-3.3.4.1-r2.ebuild| 154 - 2 files changed, 155 deletions(-) diff --git a/net-misc/electrum-ltc/Manifest b/net-misc/electrum-ltc/Manifest index 22ce4734e10..52912f96303 100644 --- a/net-misc/electrum-ltc/Manifest +++ b/net-misc/electrum-ltc/Manifest @@ -1,2 +1 @@ -DIST electrum-ltc-3.3.4.1.tar.gz 3897254 BLAKE2B 113e4175adad0d404f9677913bd24cbda569f20183de75d341d60b954f0423ff13042e0b05f66f7953729368412fc181d2c8da7caee15899f6810cb77c4be241 SHA512 cab85edbe9189fffd2a4b8d57dd89dc55f68cf3f02cd4a7427c53de852ab2001b82b1484126699c8eee36d765a8ca58936eba82e3c153f654bf5629b9cd50745 DIST electrum-ltc-4.0.9.1.tar.gz 4464915 BLAKE2B 2c328f9fc433f39b11aa2bfc4e397b75aadd07adc66576ae985c5b41b32d663df80bb67dafbbce210f3581f6fb43e666070d090bf189eb4907efd07d306fc945 SHA512 926ad16246d0609a787614b84cadfa893ed792ab2a54a3c0b9d707019e29874b1ae1c42dba098f34b61f915d85578809ff87dc9026c85563264a2d2b583c8823 diff --git a/net-misc/electrum-ltc/electrum-ltc-3.3.4.1-r2.ebuild b/net-misc/electrum-ltc/electrum-ltc-3.3.4.1-r2.ebuild deleted file mode 100644 index 35a21c5d004..000 --- a/net-misc/electrum-ltc/electrum-ltc-3.3.4.1-r2.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 ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 gnome2-utils xdg-utils - -EGIT_COMMIT="${PV}" -DESCRIPTION="Litecoin thin client" -HOMEPAGE="https://electrum-ltc.org/"; -SRC_URI="https://github.com/pooler/electrum-ltc/archive/${EGIT_COMMIT}.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-BR l10n_pt-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="${PYTHON_DEPS} - dev-python/aiohttp-socks[${PYTHON_USEDEP}] - dev-python/aiorpcX[${PYTHON_USEDEP}] - 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 ) -" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -DOCS="RELEASE-NOTES" - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.2.3-pip-optional-pkgs.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - if ! use qt5; then - sed "/'electrum_ltc.gui.qt',/d" -i setup.py || die - fi - - local wordlist= - for wordlist in \ - $(usex l10n_ja'' japanese) \ - $(usex l10n_pt-BR '' $(usex l10n_pt-PT '' portuguese)) \ - $(usex l10n_es'' spanish) \ - $(usex l10n_zh-CN '' chinese_simplified) \ - ; do - rm -f "${PN}/wordlist/${wordlist}.txt" || die - sed -i "/${wordlist}\\.txt/d" ${PN/-/_}/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 ${PN/-/_}/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=stdi
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 5b2769f6aac9ecb0cc01306fb465fc62d2d80686 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 29 12:03:22 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 29 12:03:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2769f6 net-misc/electrum: Enable py3.9 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.1.2-r1.ebuild b/net-misc/electrum/electrum-4.1.2-r1.ebuild index 8299571face..a8c551d5f9b 100644 --- a/net-misc/electrum/electrum-4.1.2-r1.ebuild +++ b/net-misc/electrum/electrum-4.1.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_8 ) +PYTHON_COMPAT=( python3_{8..9} ) PYTHON_REQ_USE="ncurses?" inherit desktop distutils-r1 xdg-utils
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 44260a339bd6eafd90b6ba64707aa39e2fe8e887 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 29 11:59:31 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 29 11:59:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44260a33 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.0.9-r1.ebuild | 93 -- 1 file changed, 93 deletions(-) diff --git a/net-misc/electrum/electrum-4.0.9-r1.ebuild b/net-misc/electrum/electrum-4.0.9-r1.ebuild deleted file mode 100644 index 7e148205d9f..000 --- a/net-misc/electrum/electrum-4.0.9-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7..8} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) -" -BDEPEND=" - test? ( - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: a2cb0fa48df8700a0d6141d221ce2aedf5bf37ad Author: Michał Górny gentoo org> AuthorDate: Thu Apr 29 11:47:46 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 29 11:47:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2cb0fa4 net-misc/electrum: Stabilize 4.0.9-r2 amd64, #774639 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.0.9-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.9-r2.ebuild b/net-misc/electrum/electrum-4.0.9-r2.ebuild index 2a512c321f6..c0432d8aaef 100644 --- a/net-misc/electrum/electrum-4.0.9-r2.ebuild +++ b/net-misc/electrum/electrum-4.0.9-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: fd5caa49038e8bd9d89fa1ffdea4105bde589c87 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 18 20:37:08 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 18 20:37:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5caa49 net-misc/electrum: Strip runtime aiorpcX version check Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.1.2.ebuild => electrum-4.1.2-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.1.2.ebuild b/net-misc/electrum/electrum-4.1.2-r1.ebuild similarity index 96% rename from net-misc/electrum/electrum-4.1.2.ebuild rename to net-misc/electrum/electrum-4.1.2-r1.ebuild index 434ffec4d5b..8299571face 100644 --- a/net-misc/electrum/electrum-4.1.2.ebuild +++ b/net-misc/electrum/electrum-4.1.2-r1.ebuild @@ -55,8 +55,10 @@ src_prepare() { eapply "${FILESDIR}/3.3.2-desktop.patch" # unbind aiorpcX dep - sed -e '/aiorpcX/s:,<0.19::' \ + sed -e '/aiorpcx/s:,<0.19::' \ -i contrib/requirements/requirements.txt || die + sed -e '/aiorpcx/s:raise.*:pass:' \ + -i run_electrum || die # Prevent icon from being installed in the wrong location sed -i '/icons_dirname/d' setup.py || die
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 3bdd4555bc53d6d5acea6c43678f3532cafe35c5 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 8 22:43:59 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 8 22:43:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bdd4555 net-misc/electrum: Bump to 4.1.2 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.1.2.ebuild | 97 + 2 files changed, 98 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 348e4fea935..ec5c368016e 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1,4 @@ DIST electrum-4.0.9.gh.tar.gz 4435268 BLAKE2B e1dfe319f7b4beffd039164c97d247f5d267d9d99313480bf06f9b748d095b33859cd8ea5dd5a135b38a1a206858e08ce500af8982ef7a6e3b3f7ff0233b9637 SHA512 a9a04163c8d76006ca18e1c50f38cabd7c3d7d75b16c8504627b9eb49bf9dca91800e18a585e7afd0b98fafeeeb821b967bea29928a46d10f65f0abc3fb90887 DIST electrum-4.1.0.gh.tar.gz 4539032 BLAKE2B 72ef52a000799e496e6ccca152dc8bec827aef23d4e3290fd2e86ace0f96e9267f68b56c390b873658dc8f6e6998080bd0283494ee74603c360dfe250b64c282 SHA512 7dd94bfc23f78e915f42f1043f6b7e9d0d6d5de7303418da8d2f3bd53ece794c74c3cd0dd9d77b370a6c6f049261273b170ddcb67f6c3dc7189869b200e8d437 DIST electrum-4.1.1.gh.tar.gz 4539619 BLAKE2B abcb0713b8b82fb7b13b432146ee63746690cf3a80d3951de41a13435eba7217010c92653d5263ea155072e5bb911e38f6c3d6a83f72bda9fb07a26f705e2621 SHA512 f3066171bc8cef1402356f01254acdce3e4f4d6fb99a1feb52d76f3a7c21f5b082148b7b598b19ae8a4817b221b8d80f27f9ab67d3d09e465856d51f8b28f0e4 +DIST electrum-4.1.2.gh.tar.gz 4926068 BLAKE2B e5d543c963cfec523e80e2de8b6a44c1845bdee23524c182e86efb7ff41caeaccebbefab2b8dda9c1e027410809d42be30db6dbc20fd877f3c749619478a6977 SHA512 4db8f8061ae149a5d9770b8c30676aa85ee66eb71052763e29d551317484b597628aad702370486b466c981688488f5a4592ae30a426e5fcd9250bc1a69a890a diff --git a/net-misc/electrum/electrum-4.1.2.ebuild b/net-misc/electrum/electrum-4.1.2.ebuild new file mode 100644 index 000..434ffec4d5b --- /dev/null +++ b/net-misc/electrum/electrum-4.1.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_8 ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcX/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_up
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 8fb718aeb3a298d4e5dcc475bed75e7d22145c17 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 2 23:11:38 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Apr 2 23:42:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb718ae net-misc/electrum: Bump to 4.1.1 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.1.1.ebuild | 97 + 2 files changed, 98 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 4c90e54bf0b..348e4fea935 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.0.9.gh.tar.gz 4435268 BLAKE2B e1dfe319f7b4beffd039164c97d247f5d267d9d99313480bf06f9b748d095b33859cd8ea5dd5a135b38a1a206858e08ce500af8982ef7a6e3b3f7ff0233b9637 SHA512 a9a04163c8d76006ca18e1c50f38cabd7c3d7d75b16c8504627b9eb49bf9dca91800e18a585e7afd0b98fafeeeb821b967bea29928a46d10f65f0abc3fb90887 DIST electrum-4.1.0.gh.tar.gz 4539032 BLAKE2B 72ef52a000799e496e6ccca152dc8bec827aef23d4e3290fd2e86ace0f96e9267f68b56c390b873658dc8f6e6998080bd0283494ee74603c360dfe250b64c282 SHA512 7dd94bfc23f78e915f42f1043f6b7e9d0d6d5de7303418da8d2f3bd53ece794c74c3cd0dd9d77b370a6c6f049261273b170ddcb67f6c3dc7189869b200e8d437 +DIST electrum-4.1.1.gh.tar.gz 4539619 BLAKE2B abcb0713b8b82fb7b13b432146ee63746690cf3a80d3951de41a13435eba7217010c92653d5263ea155072e5bb911e38f6c3d6a83f72bda9fb07a26f705e2621 SHA512 f3066171bc8cef1402356f01254acdce3e4f4d6fb99a1feb52d76f3a7c21f5b082148b7b598b19ae8a4817b221b8d80f27f9ab67d3d09e465856d51f8b28f0e4 diff --git a/net-misc/electrum/electrum-4.1.1.ebuild b/net-misc/electrum/electrum-4.1.1.ebuild new file mode 100644 index 000..434ffec4d5b --- /dev/null +++ b/net-misc/electrum/electrum-4.1.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_8 ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcX/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: afd23a153e6571f38b15fead9165ec109b43c78c Author: Michał Górny gentoo org> AuthorDate: Thu Apr 1 07:24:15 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 1 07:24:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd23a15 net-misc/electrum: Bump to 4.1.0 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.1.0.ebuild | 97 + 2 files changed, 98 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index bb1df357394..4c90e54bf0b 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.0.9.gh.tar.gz 4435268 BLAKE2B e1dfe319f7b4beffd039164c97d247f5d267d9d99313480bf06f9b748d095b33859cd8ea5dd5a135b38a1a206858e08ce500af8982ef7a6e3b3f7ff0233b9637 SHA512 a9a04163c8d76006ca18e1c50f38cabd7c3d7d75b16c8504627b9eb49bf9dca91800e18a585e7afd0b98fafeeeb821b967bea29928a46d10f65f0abc3fb90887 +DIST electrum-4.1.0.gh.tar.gz 4539032 BLAKE2B 72ef52a000799e496e6ccca152dc8bec827aef23d4e3290fd2e86ace0f96e9267f68b56c390b873658dc8f6e6998080bd0283494ee74603c360dfe250b64c282 SHA512 7dd94bfc23f78e915f42f1043f6b7e9d0d6d5de7303418da8d2f3bd53ece794c74c3cd0dd9d77b370a6c6f049261273b170ddcb67f6c3dc7189869b200e8d437 diff --git a/net-misc/electrum/electrum-4.1.0.ebuild b/net-misc/electrum/electrum-4.1.0.ebuild new file mode 100644 index 000..434ffec4d5b --- /dev/null +++ b/net-misc/electrum/electrum-4.1.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_8 ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcX/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 8fdddf2714b3a94f1607b87de152cd09ba52ed93 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Mar 30 17:09:18 2021 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Mar 30 17:09:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fdddf27 net-misc/electrum: x86 stable (bug #774639) Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> net-misc/electrum/electrum-4.0.9-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.9-r2.ebuild b/net-misc/electrum/electrum-4.0.9-r2.ebuild index 434ffec4d5b..2a512c321f6 100644 --- a/net-misc/electrum/electrum-4.0.9-r2.ebuild +++ b/net-misc/electrum/electrum-4.0.9-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: 67fd6bb1349982d18701ff3a7f2501e0bcc4a791 Author: Zac Medico gentoo org> AuthorDate: Mon Feb 22 03:19:45 2021 + Commit: Zac Medico gentoo org> CommitDate: Mon Feb 22 03:21:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fd6bb1 net-misc/electrum-ltc: fix aiorpcX requirements and drop python3_7 from PYTHON_COMPAT Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild index 39fca46d44f..7cdd8f438e5 100644 --- a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_8 ) PYTHON_REQ_USE="ncurses?" inherit desktop distutils-r1 gnome2-utils xdg-utils @@ -62,7 +62,7 @@ src_prepare() { eapply "${FILESDIR}/3.3.2-desktop.patch" # unbind aiorpcX dep - sed -e '/aiorpcX/s:,<0.19::' \ + sed -e '/aiorpcx/s:,<0.19::' \ -i contrib/requirements/requirements.txt || die # Prevent icon from being installed in the wrong location
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
commit: 2832333281d54c57e643a21e73ef8db322d1d714 Author: Louis Sautier gentoo org> AuthorDate: Mon Feb 22 02:24:17 2021 + Commit: Zac Medico gentoo org> CommitDate: Mon Feb 22 02:51:02 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28323332 net-misc/electrum-ltc: Bump to version 4.0.9.1 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/Manifest| 1 + net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild | 157 ++ 2 files changed, 158 insertions(+) diff --git a/net-misc/electrum-ltc/Manifest b/net-misc/electrum-ltc/Manifest index ab92083ecc2..22ce4734e10 100644 --- a/net-misc/electrum-ltc/Manifest +++ b/net-misc/electrum-ltc/Manifest @@ -1 +1,2 @@ DIST electrum-ltc-3.3.4.1.tar.gz 3897254 BLAKE2B 113e4175adad0d404f9677913bd24cbda569f20183de75d341d60b954f0423ff13042e0b05f66f7953729368412fc181d2c8da7caee15899f6810cb77c4be241 SHA512 cab85edbe9189fffd2a4b8d57dd89dc55f68cf3f02cd4a7427c53de852ab2001b82b1484126699c8eee36d765a8ca58936eba82e3c153f654bf5629b9cd50745 +DIST electrum-ltc-4.0.9.1.tar.gz 4464915 BLAKE2B 2c328f9fc433f39b11aa2bfc4e397b75aadd07adc66576ae985c5b41b32d663df80bb67dafbbce210f3581f6fb43e666070d090bf189eb4907efd07d306fc945 SHA512 926ad16246d0609a787614b84cadfa893ed792ab2a54a3c0b9d707019e29874b1ae1c42dba098f34b61f915d85578809ff87dc9026c85563264a2d2b583c8823 diff --git a/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild new file mode 100644 index 000..39fca46d44f --- /dev/null +++ b/net-misc/electrum-ltc/electrum-ltc-4.0.9.1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 gnome2-utils xdg-utils + +EGIT_COMMIT="${PV}" +DESCRIPTION="Litecoin thin client" +HOMEPAGE="https://electrum-ltc.org/"; +SRC_URI="https://github.com/pooler/electrum-ltc/archive/${EGIT_COMMIT}.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-BR l10n_pt-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="${PYTHON_DEPS} + dev-python/aiohttp-socks[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + 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 ) +" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +DOCS="RELEASE-NOTES" + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.2.3-pip-optional-pkgs.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcX/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + if ! use qt5; then + sed "/'electrum_ltc.gui.qt',/d" -i setup.py || die + fi + + local wordlist= + for wordlist in \ + $(usex l10n_ja'' japanese) \ + $(usex l10n_pt-BR '' $(usex l10n_pt-PT '' portuguese)) \ + $(usex l10n_es'' spanish) \ + $(usex l10n_zh-CN '' chinese_simplified) \ + ; do + rm -f "${PN}/wordlist/${wordlist}.txt" || die + sed -i "/${wordlist}\\.txt/d" ${PN/-/_}/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 ${PN/-/_}/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}/" set
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 9a3a3abd9fb266b80cca1496e73a677ad5827da3 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 3 23:00:32 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 3 23:21:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3a3abd net-misc/electrum: Support aiorpcX-0.19* Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/electrum-4.0.9-r2.ebuild | 97 ++ 1 file changed, 97 insertions(+) diff --git a/net-misc/electrum/electrum-4.0.9-r2.ebuild b/net-misc/electrum/electrum-4.0.9-r2.ebuild new file mode 100644 index 000..434ffec4d5b --- /dev/null +++ b/net-misc/electrum/electrum-4.0.9-r2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_8 ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.19*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # unbind aiorpcX dep + sed -e '/aiorpcX/s:,<0.19::' \ + -i contrib/requirements/requirements.txt || die + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: b1a4ba79b02f61d0177e5e3bf23c1d14eaa5e992 Author: Michał Górny gentoo org> AuthorDate: Sun Jan 24 09:36:00 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 24 10:15:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a4ba79 net-misc/electrum: Update dnspython dep Closes: https://bugs.gentoo.org/766806 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.0.9.ebuild => electrum-4.0.9-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.9.ebuild b/net-misc/electrum/electrum-4.0.9-r1.ebuild similarity index 98% rename from net-misc/electrum/electrum-4.0.9.ebuild rename to net-misc/electrum/electrum-4.0.9-r1.ebuild index d7fd3b935ca..a48fd6c524d 100644 --- a/net-misc/electrum/electrum-4.0.9.ebuild +++ b/net-misc/electrum/electrum-4.0.9-r1.ebuild @@ -27,7 +27,7 @@ RDEPEND="${PYTHON_DEPS} >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] dev-python/bitstring[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] - =dev-python/dnspython-2[${PYTHON_USEDEP}] dev-python/pbkdf2[${PYTHON_USEDEP}] dev-python/PySocks[${PYTHON_USEDEP}] dev-python/qrcode[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 90d7213b8166a45506290714f77303fb564e8006 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 11 09:11:48 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Jan 11 09:20:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d7213b net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 5 -- net-misc/electrum/electrum-4.0.4.ebuild | 98 - net-misc/electrum/electrum-4.0.5.ebuild | 98 - net-misc/electrum/electrum-4.0.6.ebuild | 98 - net-misc/electrum/electrum-4.0.7.ebuild | 93 --- net-misc/electrum/electrum-4.0.8.ebuild | 93 --- 6 files changed, 485 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 03d9cd9bd15..bb1df357394 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,6 +1 @@ -DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda -DIST electrum-4.0.5.gh.tar.gz 4429965 BLAKE2B 1aad8c0407f1dbe085f7cef580785335823fc773296c040a7ce118b0e3edd4a1972ad0712b98754cc548df841fda6df0c854797557c2a2f57a37bd4f3cc2cdb8 SHA512 a0f2eeb57020dc16b568a4d4fce37522f212036455b4e79abf1d44bc20065e896a861bf1a5547fbcae87c2659720d7937c9c0c817e787209c119a06c05549e76 -DIST electrum-4.0.6.gh.tar.gz 4430258 BLAKE2B 883e74d5224c24012d38b3730ef2138abd397500c0271b98938802d55d4ca50075e2e171779868ef4c789fc1feba5bfdecb295e032c2bec92da2d0d34e21987e SHA512 ae8caa827456a75a0e84e35477edf4b0ba28862438571ad54807062e54c673023b3767dd5bbe63f8bead8dc5a8b19a1e3fb1dbeee0c2141d59b8454eafb03965 -DIST electrum-4.0.7.gh.tar.gz 4431614 BLAKE2B bd0d0c4b52492ab439f5e5b6879edeafc0a9c45c3aa7b5fad340a702203a09da858fe7165c89e8c2e788d6e3f26002007012ea8f377f432d189018f9ac7c7e2e SHA512 2a036d19140b56947d374d1d64b6c51e12aba2eca7ad992d38305c884572ef7cf06c7bfa3bc89fa20e22e249cfda6de76dc006f86490e1af1d580c23406cb6f1 -DIST electrum-4.0.8.gh.tar.gz 4437153 BLAKE2B ae16db36f572c37e6640c5a6264d56f83dcf6f377da8493ec2ccbbe49007d41e5f14635e267e80da69a0025a1bdf478fae7479c9d7a677dc959e5146763c3cc1 SHA512 acc653162f706ee2bdb116d1a3e7f0bc5996c9d74bf634c395665fffac9ab4c15015aef8a10aff15621d9f712ee216eecf45a52bc718a56e6d8f65c71a7e92e0 DIST electrum-4.0.9.gh.tar.gz 4435268 BLAKE2B e1dfe319f7b4beffd039164c97d247f5d267d9d99313480bf06f9b748d095b33859cd8ea5dd5a135b38a1a206858e08ce500af8982ef7a6e3b3f7ff0233b9637 SHA512 a9a04163c8d76006ca18e1c50f38cabd7c3d7d75b16c8504627b9eb49bf9dca91800e18a585e7afd0b98fafeeeb821b967bea29928a46d10f65f0abc3fb90887 diff --git a/net-misc/electrum/electrum-4.0.4.ebuild b/net-misc/electrum/electrum-4.0.4.ebuild deleted file mode 100644 index 0c777f8eb2a..000 --- a/net-misc/electrum/electrum-4.0.4.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{6..8} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - =dev-python/ecdsa-0.14[${PYTHON_USEDEP}] - dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) - || ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 1ab889b438b427bef649020446aa1a562fbd771b Author: Sam James gentoo org> AuthorDate: Mon Jan 11 08:01:19 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jan 11 08:01:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab889b4 net-misc/electrum: Stabilize 4.0.9 ALLARCHES, #764785 Signed-off-by: Sam James gentoo.org> net-misc/electrum/electrum-4.0.9.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/electrum/electrum-4.0.9.ebuild b/net-misc/electrum/electrum-4.0.9.ebuild index de86b6ef7b4..d7fd3b935ca 100644 --- a/net-misc/electrum/electrum-4.0.9.ebuild +++ b/net-misc/electrum/electrum-4.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: f85812e41128742ed61d779b012b71fb1dc690eb Author: Michał Górny gentoo org> AuthorDate: Sat Dec 19 07:55:14 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 19 08:59:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85812e4 net-misc/electrum: Bump to 4.0.9 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.9.ebuild | 93 + 2 files changed, 94 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 395a9d43aed..03d9cd9bd15 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -3,3 +3,4 @@ DIST electrum-4.0.5.gh.tar.gz 4429965 BLAKE2B 1aad8c0407f1dbe085f7cef58078533582 DIST electrum-4.0.6.gh.tar.gz 4430258 BLAKE2B 883e74d5224c24012d38b3730ef2138abd397500c0271b98938802d55d4ca50075e2e171779868ef4c789fc1feba5bfdecb295e032c2bec92da2d0d34e21987e SHA512 ae8caa827456a75a0e84e35477edf4b0ba28862438571ad54807062e54c673023b3767dd5bbe63f8bead8dc5a8b19a1e3fb1dbeee0c2141d59b8454eafb03965 DIST electrum-4.0.7.gh.tar.gz 4431614 BLAKE2B bd0d0c4b52492ab439f5e5b6879edeafc0a9c45c3aa7b5fad340a702203a09da858fe7165c89e8c2e788d6e3f26002007012ea8f377f432d189018f9ac7c7e2e SHA512 2a036d19140b56947d374d1d64b6c51e12aba2eca7ad992d38305c884572ef7cf06c7bfa3bc89fa20e22e249cfda6de76dc006f86490e1af1d580c23406cb6f1 DIST electrum-4.0.8.gh.tar.gz 4437153 BLAKE2B ae16db36f572c37e6640c5a6264d56f83dcf6f377da8493ec2ccbbe49007d41e5f14635e267e80da69a0025a1bdf478fae7479c9d7a677dc959e5146763c3cc1 SHA512 acc653162f706ee2bdb116d1a3e7f0bc5996c9d74bf634c395665fffac9ab4c15015aef8a10aff15621d9f712ee216eecf45a52bc718a56e6d8f65c71a7e92e0 +DIST electrum-4.0.9.gh.tar.gz 4435268 BLAKE2B e1dfe319f7b4beffd039164c97d247f5d267d9d99313480bf06f9b748d095b33859cd8ea5dd5a135b38a1a206858e08ce500af8982ef7a6e3b3f7ff0233b9637 SHA512 a9a04163c8d76006ca18e1c50f38cabd7c3d7d75b16c8504627b9eb49bf9dca91800e18a585e7afd0b98fafeeeb821b967bea29928a46d10f65f0abc3fb90887 diff --git a/net-misc/electrum/electrum-4.0.9.ebuild b/net-misc/electrum/electrum-4.0.9.ebuild new file mode 100644 index 000..de86b6ef7b4 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.9.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + =dev-python/protobuf-python-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 97e15097b23dba64a970dfe71d9162722bdd346c Author: Michał Górny gentoo org> AuthorDate: Thu Dec 17 22:54:25 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Dec 17 23:17:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e15097 net-misc/electrum: Bump to 4.0.8 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.8.ebuild | 93 + 2 files changed, 94 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 1b8b7896431..395a9d43aed 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -2,3 +2,4 @@ DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e255 DIST electrum-4.0.5.gh.tar.gz 4429965 BLAKE2B 1aad8c0407f1dbe085f7cef580785335823fc773296c040a7ce118b0e3edd4a1972ad0712b98754cc548df841fda6df0c854797557c2a2f57a37bd4f3cc2cdb8 SHA512 a0f2eeb57020dc16b568a4d4fce37522f212036455b4e79abf1d44bc20065e896a861bf1a5547fbcae87c2659720d7937c9c0c817e787209c119a06c05549e76 DIST electrum-4.0.6.gh.tar.gz 4430258 BLAKE2B 883e74d5224c24012d38b3730ef2138abd397500c0271b98938802d55d4ca50075e2e171779868ef4c789fc1feba5bfdecb295e032c2bec92da2d0d34e21987e SHA512 ae8caa827456a75a0e84e35477edf4b0ba28862438571ad54807062e54c673023b3767dd5bbe63f8bead8dc5a8b19a1e3fb1dbeee0c2141d59b8454eafb03965 DIST electrum-4.0.7.gh.tar.gz 4431614 BLAKE2B bd0d0c4b52492ab439f5e5b6879edeafc0a9c45c3aa7b5fad340a702203a09da858fe7165c89e8c2e788d6e3f26002007012ea8f377f432d189018f9ac7c7e2e SHA512 2a036d19140b56947d374d1d64b6c51e12aba2eca7ad992d38305c884572ef7cf06c7bfa3bc89fa20e22e249cfda6de76dc006f86490e1af1d580c23406cb6f1 +DIST electrum-4.0.8.gh.tar.gz 4437153 BLAKE2B ae16db36f572c37e6640c5a6264d56f83dcf6f377da8493ec2ccbbe49007d41e5f14635e267e80da69a0025a1bdf478fae7479c9d7a677dc959e5146763c3cc1 SHA512 acc653162f706ee2bdb116d1a3e7f0bc5996c9d74bf634c395665fffac9ab4c15015aef8a10aff15621d9f712ee216eecf45a52bc718a56e6d8f65c71a7e92e0 diff --git a/net-misc/electrum/electrum-4.0.8.ebuild b/net-misc/electrum/electrum-4.0.8.ebuild new file mode 100644 index 000..de86b6ef7b4 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.8.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + =dev-python/protobuf-python-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: a0b3f6d1e0994b0b68d7555f35abb9527195e310 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 10 09:56:39 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Dec 10 10:15:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b3f6d1 net-misc/electrum: Bump to 4.0.7 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.7.ebuild | 93 + 2 files changed, 94 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index e0114b00a59..1b8b7896431 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1,4 @@ DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda DIST electrum-4.0.5.gh.tar.gz 4429965 BLAKE2B 1aad8c0407f1dbe085f7cef580785335823fc773296c040a7ce118b0e3edd4a1972ad0712b98754cc548df841fda6df0c854797557c2a2f57a37bd4f3cc2cdb8 SHA512 a0f2eeb57020dc16b568a4d4fce37522f212036455b4e79abf1d44bc20065e896a861bf1a5547fbcae87c2659720d7937c9c0c817e787209c119a06c05549e76 DIST electrum-4.0.6.gh.tar.gz 4430258 BLAKE2B 883e74d5224c24012d38b3730ef2138abd397500c0271b98938802d55d4ca50075e2e171779868ef4c789fc1feba5bfdecb295e032c2bec92da2d0d34e21987e SHA512 ae8caa827456a75a0e84e35477edf4b0ba28862438571ad54807062e54c673023b3767dd5bbe63f8bead8dc5a8b19a1e3fb1dbeee0c2141d59b8454eafb03965 +DIST electrum-4.0.7.gh.tar.gz 4431614 BLAKE2B bd0d0c4b52492ab439f5e5b6879edeafc0a9c45c3aa7b5fad340a702203a09da858fe7165c89e8c2e788d6e3f26002007012ea8f377f432d189018f9ac7c7e2e SHA512 2a036d19140b56947d374d1d64b6c51e12aba2eca7ad992d38305c884572ef7cf06c7bfa3bc89fa20e22e249cfda6de76dc006f86490e1af1d580c23406cb6f1 diff --git a/net-misc/electrum/electrum-4.0.7.ebuild b/net-misc/electrum/electrum-4.0.7.ebuild new file mode 100644 index 000..de86b6ef7b4 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.7.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + =dev-python/protobuf-python-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) +" +BDEPEND=" + test? ( + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: cffaf8354ee789c92bfd290e8096d2247e579f06 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 6 08:51:58 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 6 09:14:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffaf835 net-misc/electrum: Bump to 4.0.6 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.6.ebuild | 98 + 2 files changed, 99 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 71564b7b553..e0114b00a59 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda DIST electrum-4.0.5.gh.tar.gz 4429965 BLAKE2B 1aad8c0407f1dbe085f7cef580785335823fc773296c040a7ce118b0e3edd4a1972ad0712b98754cc548df841fda6df0c854797557c2a2f57a37bd4f3cc2cdb8 SHA512 a0f2eeb57020dc16b568a4d4fce37522f212036455b4e79abf1d44bc20065e896a861bf1a5547fbcae87c2659720d7937c9c0c817e787209c119a06c05549e76 +DIST electrum-4.0.6.gh.tar.gz 4430258 BLAKE2B 883e74d5224c24012d38b3730ef2138abd397500c0271b98938802d55d4ca50075e2e171779868ef4c789fc1feba5bfdecb295e032c2bec92da2d0d34e21987e SHA512 ae8caa827456a75a0e84e35477edf4b0ba28862438571ad54807062e54c673023b3767dd5bbe63f8bead8dc5a8b19a1e3fb1dbeee0c2141d59b8454eafb03965 diff --git a/net-misc/electrum/electrum-4.0.6.ebuild b/net-misc/electrum/electrum-4.0.6.ebuild new file mode 100644 index 000..0ed6a75d361 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.6.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + =dev-python/ecdsa-0.14[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) + || ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 81ac5eed69c2be1db791544597cf5000cb8ec232 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 23:05:36 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Nov 19 00:40:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ac5eed net-misc/electrum: Bump to 4.0.5 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.5.ebuild | 98 + 2 files changed, 99 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 0ff14f3d77f..71564b7b553 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda +DIST electrum-4.0.5.gh.tar.gz 4429965 BLAKE2B 1aad8c0407f1dbe085f7cef580785335823fc773296c040a7ce118b0e3edd4a1972ad0712b98754cc548df841fda6df0c854797557c2a2f57a37bd4f3cc2cdb8 SHA512 a0f2eeb57020dc16b568a4d4fce37522f212036455b4e79abf1d44bc20065e896a861bf1a5547fbcae87c2659720d7937c9c0c817e787209c119a06c05549e76 diff --git a/net-misc/electrum/electrum-4.0.5.ebuild b/net-misc/electrum/electrum-4.0.5.ebuild new file mode 100644 index 000..0ed6a75d361 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.5.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + =dev-python/ecdsa-0.14[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) + || ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 1553d5ad5e7c516022f694b82e03557fa58195d7 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 08:54:19 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Nov 18 09:12:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1553d5ad net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 2 - net-misc/electrum/electrum-4.0.2.ebuild| 98 -- net-misc/electrum/electrum-4.0.3-r1.ebuild | 98 -- 3 files changed, 198 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index e4295901b34..0ff14f3d77f 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1 @@ -DIST electrum-4.0.2.gh.tar.gz 4395620 BLAKE2B 27d5e74ea85d792f73a01d41528dc9a84af374d672e7c7101a82e18634a32d7ebdb039571bde36625b460c6c7634ec75848711dc4cabfbd1be46f16d18e35df2 SHA512 8b03d60cb549315c9f8a2cb4f02e3a483b8e8f9ee0461bb9d54acca0d9cf96d38a158bb6bccdb1bb584fd5a3f4fd8ffbcb0d45244f41dc5636689adb514f1681 -DIST electrum-4.0.3.gh.tar.gz 4408020 BLAKE2B ba28765683739dbdd865ad9ed034c7dd7c4f738fdc13fbb1b0c0312785d89a65c0252354fa6064d9964207ebef841dbbeb324966ad2d0b8ec26d693456d4a082 SHA512 4295a7ebb16d1809ca892a736a01e62722d3b44164b3acda4bd4cd5935dfa8c77106ddb9e32434db057d90d015d786b667949fe17d0ebba70cf6c13be13cf2ba DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda diff --git a/net-misc/electrum/electrum-4.0.2.ebuild b/net-misc/electrum/electrum-4.0.2.ebuild deleted file mode 100644 index e0a18742e6b..000 --- a/net-misc/electrum/electrum-4.0.2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{6,7} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI=" - https://github.com/spesmilo/electrum/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libsecp256k1 - >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/bitstring[${PYTHON_USEDEP}] - =dev-python/ecdsa-0.14[${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-3.12[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( $(python_gen_impl_dep 'ncurses') ) - || ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die - - # use backwards-compatible cryptodome API - sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -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/electrum/electrum-4.0.3-r1.ebuild b/net-misc/electrum/electrum-4.0.3-r1.ebuild deleted file mode 100644 index 0ed6a75d361..000 --- a/net-misc/electrum/e
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 8154d2416870751186ea33ec800c1efe74c0a95f Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 17 19:15:22 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 17 19:15:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8154d241 net-misc/electrum: amd64/x86 stable (ALLARCHES policy) wrt bug #754825 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/electrum/electrum-4.0.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.4.ebuild b/net-misc/electrum/electrum-4.0.4.ebuild index 0ed6a75d361..0c777f8eb2a 100644 --- a/net-misc/electrum/electrum-4.0.4.ebuild +++ b/net-misc/electrum/electrum-4.0.4.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 474ddf5c5f2092dbdb2859285a6762bc9bf64bef Author: Michał Górny gentoo org> AuthorDate: Mon Nov 16 00:18:00 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Nov 16 00:20:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474ddf5c net-misc/electrum: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/net-misc/electrum/metadata.xml b/net-misc/electrum/metadata.xml index f341e55ffeb..fdc8f0ebe23 100644 --- a/net-misc/electrum/metadata.xml +++ b/net-misc/electrum/metadata.xml @@ -13,6 +13,7 @@ luke-jr+gentoob...@utopios.org Luke Dashjr + Enables the CLI interface Enable QR code scanning with media-gfx/zbar
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: f6622416622ba65822c27e874fad868df1cee17d Author: Michał Górny gentoo org> AuthorDate: Mon Nov 16 00:10:56 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Nov 16 00:20:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6622416 net-misc/electrum: Remove old Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 - net-misc/electrum/electrum-3.3.8.ebuild | 83 - 2 files changed, 84 deletions(-) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 404e272b85a..e4295901b34 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,4 +1,3 @@ -DIST Electrum-3.3.8.tar.gz 8911228 BLAKE2B af24f44f5805a5722d0b9500776ae1ea4f70e0869045535ea3bf27d24a61013ba718230e6292061581f55a4fae655cbacae9024a321efe655eb9816bae11ae75 SHA512 5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6 DIST electrum-4.0.2.gh.tar.gz 4395620 BLAKE2B 27d5e74ea85d792f73a01d41528dc9a84af374d672e7c7101a82e18634a32d7ebdb039571bde36625b460c6c7634ec75848711dc4cabfbd1be46f16d18e35df2 SHA512 8b03d60cb549315c9f8a2cb4f02e3a483b8e8f9ee0461bb9d54acca0d9cf96d38a158bb6bccdb1bb584fd5a3f4fd8ffbcb0d45244f41dc5636689adb514f1681 DIST electrum-4.0.3.gh.tar.gz 4408020 BLAKE2B ba28765683739dbdd865ad9ed034c7dd7c4f738fdc13fbb1b0c0312785d89a65c0252354fa6064d9964207ebef841dbbeb324966ad2d0b8ec26d693456d4a082 SHA512 4295a7ebb16d1809ca892a736a01e62722d3b44164b3acda4bd4cd5935dfa8c77106ddb9e32434db057d90d015d786b667949fe17d0ebba70cf6c13be13cf2ba DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda diff --git a/net-misc/electrum/electrum-3.3.8.ebuild b/net-misc/electrum/electrum-3.3.8.ebuild deleted file mode 100644 index 21549110f52..000 --- a/net-misc/electrum/electrum-3.3.8.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{6,7} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 xdg-utils - -MY_P="Electrum-${PV}" -DESCRIPTION="User friendly Bitcoin client" -HOMEPAGE="https://electrum.org/"; -SRC_URI="https://download.electrum.org/${PV}/${MY_P}.tar.gz"; - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cli ncurses qrcode +qt5" - -REQUIRED_USE="|| ( cli ncurses qt5 )" - -RDEPEND="${PYTHON_DEPS} - dev-python/aiohttp-socks[${PYTHON_USEDEP}] - =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] - 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? ( $(python_gen_impl_dep 'ncurses') ) -" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.3.2-desktop.patch" - - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' 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}/${PN} || die - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 electrum/gui/icons/${PN}.png - dodoc RELEASE-NOTES - distutils-r1_src_install -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 99c4edb3441d32f7b2d0d7fb80a03f0ad0a5d9b9 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 16 06:43:28 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 16 07:41:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c4edb3 net-misc/electrum: Bump to 4.0.4 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.4.ebuild | 98 + 2 files changed, 99 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index b8214828a3b..404e272b85a 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,3 +1,4 @@ DIST Electrum-3.3.8.tar.gz 8911228 BLAKE2B af24f44f5805a5722d0b9500776ae1ea4f70e0869045535ea3bf27d24a61013ba718230e6292061581f55a4fae655cbacae9024a321efe655eb9816bae11ae75 SHA512 5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6 DIST electrum-4.0.2.gh.tar.gz 4395620 BLAKE2B 27d5e74ea85d792f73a01d41528dc9a84af374d672e7c7101a82e18634a32d7ebdb039571bde36625b460c6c7634ec75848711dc4cabfbd1be46f16d18e35df2 SHA512 8b03d60cb549315c9f8a2cb4f02e3a483b8e8f9ee0461bb9d54acca0d9cf96d38a158bb6bccdb1bb584fd5a3f4fd8ffbcb0d45244f41dc5636689adb514f1681 DIST electrum-4.0.3.gh.tar.gz 4408020 BLAKE2B ba28765683739dbdd865ad9ed034c7dd7c4f738fdc13fbb1b0c0312785d89a65c0252354fa6064d9964207ebef841dbbeb324966ad2d0b8ec26d693456d4a082 SHA512 4295a7ebb16d1809ca892a736a01e62722d3b44164b3acda4bd4cd5935dfa8c77106ddb9e32434db057d90d015d786b667949fe17d0ebba70cf6c13be13cf2ba +DIST electrum-4.0.4.gh.tar.gz 4415688 BLAKE2B 1811b3a5534c343b6bc1efccfab822e2550e0b19563837ee69d93006c081acb116b96a2bfe812420cfd7694190d66eb5e5bb01e5d0271262b714a06979ff053e SHA512 1b4fc9f0ac9624ac271ba65989524f902a465ae50465fd7e9f90366a59e17e6938ab0f58cf9ec8e40c10ee99074e1f800cae080d37da60359091be698957ecda diff --git a/net-misc/electrum/electrum-4.0.4.ebuild b/net-misc/electrum/electrum-4.0.4.ebuild new file mode 100644 index 000..0ed6a75d361 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.4.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + =dev-python/ecdsa-0.14[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) + || ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 955822d28728a82e429b3acfdfe27c2923795ace Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Oct 13 10:00:57 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Oct 13 10:01:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955822d2 net-misc/electrum: x86 stable wrt bug #741728 Package-Manager: Portage-3.0.4, Repoman-3.0.1 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/electrum/electrum-4.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.2.ebuild b/net-misc/electrum/electrum-4.0.2.ebuild index 5f1d6388489..e0a18742e6b 100644 --- a/net-misc/electrum/electrum-4.0.2.ebuild +++ b/net-misc/electrum/electrum-4.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 7fc719fd21342d4028b600bb433e86e4e429ed08 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Oct 9 11:11:49 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Oct 9 11:11:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc719fd net-misc/electrum: amd64 stable wrt bug #741728 Package-Manager: Portage-3.0.4, Repoman-3.0.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/electrum/electrum-4.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.2.ebuild b/net-misc/electrum/electrum-4.0.2.ebuild index cad41a9dfc2..5f1d6388489 100644 --- a/net-misc/electrum/electrum-4.0.2.ebuild +++ b/net-misc/electrum/electrum-4.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="cli ncurses qrcode +qt5" REQUIRED_USE="|| ( cli ncurses qt5 )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 57449bd2148ef24bad0d6a552c81ce60be209ce6 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 25 07:21:35 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 25 07:22:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57449bd2 net-misc/electrum: Port to py3.8 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/{electrum-4.0.3.ebuild => electrum-4.0.3-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/electrum/electrum-4.0.3.ebuild b/net-misc/electrum/electrum-4.0.3-r1.ebuild similarity index 98% rename from net-misc/electrum/electrum-4.0.3.ebuild rename to net-misc/electrum/electrum-4.0.3-r1.ebuild index d6cf011a458..0ed6a75d361 100644 --- a/net-misc/electrum/electrum-4.0.3.ebuild +++ b/net-misc/electrum/electrum-4.0.3-r1.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6..8} ) PYTHON_REQ_USE="ncurses?" inherit desktop distutils-r1 xdg-utils
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 44890b215aa6a1057e10abab80e0bf364962e8cc Author: Michał Górny gentoo org> AuthorDate: Sat Sep 12 03:31:25 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 12 04:01:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44890b21 net-misc/electrum: Bump to 4.0.3 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.3.ebuild | 98 + 2 files changed, 99 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index f51b1a995f1..b8214828a3b 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,2 +1,3 @@ DIST Electrum-3.3.8.tar.gz 8911228 BLAKE2B af24f44f5805a5722d0b9500776ae1ea4f70e0869045535ea3bf27d24a61013ba718230e6292061581f55a4fae655cbacae9024a321efe655eb9816bae11ae75 SHA512 5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6 DIST electrum-4.0.2.gh.tar.gz 4395620 BLAKE2B 27d5e74ea85d792f73a01d41528dc9a84af374d672e7c7101a82e18634a32d7ebdb039571bde36625b460c6c7634ec75848711dc4cabfbd1be46f16d18e35df2 SHA512 8b03d60cb549315c9f8a2cb4f02e3a483b8e8f9ee0461bb9d54acca0d9cf96d38a158bb6bccdb1bb584fd5a3f4fd8ffbcb0d45244f41dc5636689adb514f1681 +DIST electrum-4.0.3.gh.tar.gz 4408020 BLAKE2B ba28765683739dbdd865ad9ed034c7dd7c4f738fdc13fbb1b0c0312785d89a65c0252354fa6064d9964207ebef841dbbeb324966ad2d0b8ec26d693456d4a082 SHA512 4295a7ebb16d1809ca892a736a01e62722d3b44164b3acda4bd4cd5935dfa8c77106ddb9e32434db057d90d015d786b667949fe17d0ebba70cf6c13be13cf2ba diff --git a/net-misc/electrum/electrum-4.0.3.ebuild b/net-misc/electrum/electrum-4.0.3.ebuild new file mode 100644 index 000..d6cf011a458 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.3.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + =dev-python/ecdsa-0.14[${PYTHON_USEDEP}] + dev-python/pbkdf2[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) + || ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/electrum/
commit: 8126cb64cc73b7bc66d04c66fad71f206407b7a0 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 20 08:52:06 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 20 08:55:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8126cb64 net-misc/electrum: Bump to 4.0.2 Signed-off-by: Michał Górny gentoo.org> net-misc/electrum/Manifest | 1 + net-misc/electrum/electrum-4.0.2.ebuild | 98 + 2 files changed, 99 insertions(+) diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index dde5181a52a..f51b1a995f1 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1 +1,2 @@ DIST Electrum-3.3.8.tar.gz 8911228 BLAKE2B af24f44f5805a5722d0b9500776ae1ea4f70e0869045535ea3bf27d24a61013ba718230e6292061581f55a4fae655cbacae9024a321efe655eb9816bae11ae75 SHA512 5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6 +DIST electrum-4.0.2.gh.tar.gz 4395620 BLAKE2B 27d5e74ea85d792f73a01d41528dc9a84af374d672e7c7101a82e18634a32d7ebdb039571bde36625b460c6c7634ec75848711dc4cabfbd1be46f16d18e35df2 SHA512 8b03d60cb549315c9f8a2cb4f02e3a483b8e8f9ee0461bb9d54acca0d9cf96d38a158bb6bccdb1bb584fd5a3f4fd8ffbcb0d45244f41dc5636689adb514f1681 diff --git a/net-misc/electrum/electrum-4.0.2.ebuild b/net-misc/electrum/electrum-4.0.2.ebuild new file mode 100644 index 000..cad41a9dfc2 --- /dev/null +++ b/net-misc/electrum/electrum-4.0.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_REQ_USE="ncurses?" + +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="https://electrum.org/"; +SRC_URI=" + https://github.com/spesmilo/electrum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli ncurses qrcode +qt5" +REQUIRED_USE="|| ( cli ncurses qt5 )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libsecp256k1 + >=dev-python/aiohttp-socks-0.3[${PYTHON_USEDEP}] + =dev-python/aiorpcX-0.18*[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/bitstring[${PYTHON_USEDEP}] + =dev-python/ecdsa-0.14[${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-3.12[${PYTHON_USEDEP}] + qrcode? ( media-gfx/zbar[v4l] ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + ncurses? ( $(python_gen_impl_dep 'ncurses') ) + || ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/3.1.2-no-user-root.patch" + eapply "${FILESDIR}/3.3.2-desktop.patch" + + # Prevent icon from being installed in the wrong location + sed -i '/icons_dirname/d' setup.py || die + + # use backwards-compatible cryptodome API + sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.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}/${PN} || die + + eapply_user + + xdg_environment_reset + distutils-r1_src_prepare +} + +src_install() { + doicon -s 128 electrum/gui/icons/${PN}.png + dodoc RELEASE-NOTES + distutils-r1_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}