diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /net-misc/electrum | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'net-misc/electrum')
-rw-r--r-- | net-misc/electrum/Manifest | 4 | ||||
-rw-r--r-- | net-misc/electrum/electrum-3.1.3-r1.ebuild | 173 | ||||
-rw-r--r-- | net-misc/electrum/files/3.1.2-pip-optional-pkgs.patch | 13 | ||||
-rw-r--r-- | net-misc/electrum/files/3.1.3-desktop.patch | 21 |
4 files changed, 0 insertions, 211 deletions
diff --git a/net-misc/electrum/Manifest b/net-misc/electrum/Manifest index 9793aa81d987..5a96691f3448 100644 --- a/net-misc/electrum/Manifest +++ b/net-misc/electrum/Manifest @@ -1,13 +1,9 @@ AUX 3.1.2-no-user-root.patch 847 BLAKE2B 7c682268f4f76884b364fad9dfef63931ffb694c529b3fb17d6c579bf908872b4bfcca6edbe1aa30b93475aa4891283c196cd803579654988d1a1a73d42f1afa SHA512 e4d94693f4a01577b9c4e1e1ce8ef71e9d2ae74edb4c1cad11c6c5615ed50df3ed5f785ff69ff869f534cb4887e21c1cc263fa94972bebc31b5421e0b7be4173 -AUX 3.1.2-pip-optional-pkgs.patch 458 BLAKE2B 25f2ef7a37cb7e05fb0d4e9f70b6e4656d1423d940a1dcc8b6700d2fc67c221250a55f14fc5df99e2d6dede27c47223755e19e48ed776eb34432c8fd173a28a4 SHA512 ffe18ebfb67f6de8456e38228cbf864afce94a686ebc11ef866f4d9f0c324b3d96b8f3a315c13bd0efba0c62f6ee2af6f093005115be3cfb4d8a284d3a236b3f -AUX 3.1.3-desktop.patch 683 BLAKE2B 15babc615c74152d5005ddc8dc644557fcaf176825fed335fa84168e66c16e2d3d946bd1be75bb15c78a06fc9efcb23a1797c6cfc74c821c2fe83044153fc6b2 SHA512 c05abf3d387143543ffec3342bdc6c820a56d82064f596c5e619286056f105c048db1947d13706d9aec45454f9133109bf3ec3de3ebf4aa4ace523f441a44b90 AUX 3.2.3-pip-optional-pkgs.patch 348 BLAKE2B e49855ff70c50b73c67190ef085454cc23ec7d3e0a8dd419b5837ebb85b56b280518c4b8f260288bed7286578ceb9b4683b30db617c99d965bba653c6fa0ed54 SHA512 24dad9328e867e1d65150a35391aef0df8af1f4859516b24b5c725ff57c2c6e7d1e8ca6e78efbca60a53a1bd2b98744ed8c2cec0e4396b9e2664ea125675e6dd AUX 3.3.2-desktop.patch 685 BLAKE2B b946f95ad017048e957e8567b7ce52ed085bb15daa155509ab08c447eb32d3d984696d636dbe46456a09dfb3ca93b1619bb6a4d90654ee46f43c662661debafe SHA512 a7c826e736f1661821d846ff8443dedeaa49a82f7e7a1a8f23924dbc1c9c12d71f5d8056e592ff8c6d44fc8bf4483f09e3b8d1e262b3ef408991f01ca1a283ff -DIST Electrum-3.1.3.tar.gz 2806178 BLAKE2B e03a6ee8d7b211b26d99adfbaf42a9d43317e5a4ca887f62f5ef0e57d8f990c18ff07e15d4ac8faea33322cd7ae25d7544e59e9ff1fbe883b3b7be138d990421 SHA512 745d00ec944e46040a4ae21d23c5919b943696a85baf84ee553616ca73cd21f2fa95999212a23f9a96ad5606def2890ee057e5f5f18e82591fd4a9e497ba5439 DIST Electrum-3.3.4.tar.gz 8606286 BLAKE2B a815a577509cc7d31f02347b5ce52d0fe9fd52ddbe4b60200a02423f8e6bf43a6c24d3c1db6ab265a69f6f3891db63886fe6c138d601bc48c0c8fdb66191e941 SHA512 297eb757dccb166d40a652be2c1c058e42f16416b586b69f32223966ff1e92a34e5d01822d71bd063bfa72b7bbbcae4251a63f7373600d0eeb139e923d17a2b3 DIST Electrum-3.3.6.tar.gz 8789792 BLAKE2B dcac9a317364780a7dc3ae1083e6ba7fd3a4559d0b7f6375197bdf639143ab9da2c5a001605af5a0590fb900de2e98999aea171c6dcec390a47beb610af3b490 SHA512 b25fc67883b7a90bf902f62d07574f283c4c04b3c6dfbb4e890448ddb938d477e036470f82b45e426aa581a1da2425e13e6974a730b18b130fd265b8d01d0d91 DIST Electrum-3.3.8.tar.gz 8911228 BLAKE2B af24f44f5805a5722d0b9500776ae1ea4f70e0869045535ea3bf27d24a61013ba718230e6292061581f55a4fae655cbacae9024a321efe655eb9816bae11ae75 SHA512 5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6 -EBUILD electrum-3.1.3-r1.ebuild 4320 BLAKE2B 84d8e4688ac9d9cd5a79aa46f8ba7e52e710dc4e7aa5c6148d01de506e460ca84f6fb9ba6344afc8c276fe60c2c6f5cb143fb61a0908067a15c976ea875bae25 SHA512 778f32e95f0de35aa98b1c82a77264c3fc623c6f03d3c0494ae0da880dd533ad9e9660a5b448326de95c89920996b4b209e920416e11e6958d117fcb66dd0614 EBUILD electrum-3.3.4.ebuild 4638 BLAKE2B 6c7e2c95d7be76e496d49aea1e2b6ac691c2b72336f155cda5643824ccdb51ee27f7c5c8a15d90fc1d464de0e8e504ffe0efbe1c3c652101efc611bf3fa520ab SHA512 60c252dbb9ac4c8f2f31713c1c4ff7086c6c62193fc59f000ab4a0e7b7ea7523b30587bf78318d80e950d28fd07574f414211e0b126cf0ecb8fc97aaab8d4ee3 EBUILD electrum-3.3.6-r2.ebuild 4483 BLAKE2B e091135eb705c26e15822a0368d8523464ca973e4822c531c1ac7c1f023b97c365808a685610239add5b6365c4e8ea13664e2451c6f23a4e85be8128bfd9dc5d SHA512 1a2ef4689c4e786e20a56f288778ea6eef9557cdbc4955ca029782cfa67951b0eef8bc1cf9528b60cf23c5a1a9cd802c36f19ed001545deb93a05d1f5624b77d EBUILD electrum-3.3.6-r3.ebuild 1985 BLAKE2B 0c7ce770601e51f7acd6486ace1b16391db55837f37bec1efccc5ce9790afa5ef5cf6a4262c3b0775cd5dda6de9f335d44c8e16e27109dff74a59416219955e1 SHA512 e01f79da37cf2050992a21e4ed5c215c2d2bd7cc4074f50e70293fe6c174f0c34816ac2758d7bf2b3554d6fb5c76d779b2cf8b359320d8a1439565455a8ff14c diff --git a/net-misc/electrum/electrum-3.1.3-r1.ebuild b/net-misc/electrum/electrum-3.1.3-r1.ebuild deleted file mode 100644 index 25eee433cc44..000000000000 --- a/net-misc/electrum/electrum-3.1.3-r1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python3_{5,6} ) -PYTHON_REQ_USE="ncurses?" - -inherit desktop distutils-r1 gnome2-utils 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" -MY_LANGS="ar_SA bg_BG cs_CZ da_DK de_DE el_GR eo_UY es_ES fa_IR fr_FR hu_HU hy_AM id_ID it_IT ja_JP ko_KR ky_KG lv_LV nb_NO nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sl_SI ta_IN th_TH tr_TR uk_UA vi_VN zh_CN zh_TW" - -my_langs_to_l10n() { - # Map all except pt_* and zh_* to their generic codes - case $1 in - pt_*|zh_*) echo ${1/_/-} ;; - *) echo ${1%%_*} ;; - esac -} - -IUSE="audio_modem cli cosign digitalbitbox email greenaddress_it ncurses qrcode +qt5 sync trustedcoin_com vkb" - -for lang in ${MY_LANGS}; do - IUSE+=" l10n_$(my_langs_to_l10n ${lang})" -done -unset lang - -REQUIRED_USE=" - || ( cli ncurses qt5 ) - audio_modem? ( qt5 ) - cosign? ( qt5 ) - digitalbitbox? ( qt5 ) - email? ( qt5 ) - greenaddress_it? ( qt5 ) - qrcode? ( qt5 ) - sync? ( qt5 ) - trustedcoin_com? ( qt5 ) - vkb? ( qt5 ) -" - -RDEPEND="${PYTHON_DEPS} - dev-python/dnspython[${PYTHON_USEDEP}] - dev-python/ecdsa[${PYTHON_USEDEP}] - dev-python/jsonrpclib[${PYTHON_USEDEP}] - dev-python/pbkdf2[${PYTHON_USEDEP}] - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/PySocks[${PYTHON_USEDEP}] - dev-python/qrcode[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/tlslite[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - qrcode? ( media-gfx/zbar[v4l] ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - ncurses? ( dev-lang/python ) -" - -S="${WORKDIR}/${MY_P}" - -DOCS="RELEASE-NOTES" - -src_prepare() { - eapply "${FILESDIR}/3.1.2-no-user-root.patch" - eapply "${FILESDIR}/3.1.2-pip-optional-pkgs.patch" - eapply "${FILESDIR}/3.1.3-desktop.patch" - - # Prevent icon from being installed in the wrong location - sed -i '/icons/d' setup.py || die - - # Remove unrequested localization files: - local lang - for lang in ${MY_LANGS}; do - use l10n_$(my_langs_to_l10n ${lang}) && continue - rm -r "lib/locale/${lang}" || die - done - - 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 "lib/wordlist/${wordlist}.txt" || die - sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die - done - - # Remove unrequested GUI implementations: - local gui setup_py_gui - for gui in \ - $(usex cli '' stdio) \ - kivy \ - $(usex qt5 '' qt ) \ - $(usex ncurses '' text ) \ - ; do - rm gui/"${gui}"* -r || die - done - - # And install requested ones... - for gui in \ - $(usex qt5 qt '') \ - ; do - setup_py_gui="${setup_py_gui}'electrum_gui.${gui}'," - done - - sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die - - local bestgui - if use qt5; then - bestgui=qt - elif use ncurses; then - bestgui=text - else - bestgui=stdio - fi - sed -i 's/^\([[:space:]]*\)\(config_options\['\''cwd'\''\] = .*\)$/\1\2\n\1config_options.setdefault("gui", "'"${bestgui}"'")\n/' electrum || die - - local plugin - # trezor requires python trezorlib module - # keepkey requires trezor - for plugin in \ - $(usex audio_modem '' audio_modem ) \ - $(usex cosign '' cosigner_pool ) \ - $(usex digitalbitbox '' digitalbitbox ) \ - $(usex email '' email_requests ) \ - $(usex greenaddress_it '' greenaddress_instant ) \ - hw_wallet \ - ledger \ - keepkey \ - $(usex sync '' labels ) \ - trezor \ - $(usex trustedcoin_com '' trustedcoin ) \ - $(usex vkb '' virtualkeyboard ) \ - ; do - rm -r plugins/"${plugin}"* || die - sed -i "/${plugin}/d" setup.py || die - done - - eapply_user - - xdg_environment_reset - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 icons/${PN}.png - distutils-r1_src_install -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/net-misc/electrum/files/3.1.2-pip-optional-pkgs.patch b/net-misc/electrum/files/3.1.2-pip-optional-pkgs.patch deleted file mode 100644 index f5e0015a7dff..000000000000 --- a/net-misc/electrum/files/3.1.2-pip-optional-pkgs.patch +++ /dev/null @@ -1,13 +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-31 15:08:48.919694817 -0400 -+++ Electrum-3.1.2/setup.py 2018-03-31 15:09:28.738594744 -0400 -@@ -37,9 +37,6 @@ - name="Electrum", - version=version.ELECTRUM_VERSION, - install_requires=requirements, -- extras_require={ -- 'full': requirements_hw + ['pycryptodomex'], -- }, - packages=[ - 'electrum', - 'electrum_gui', diff --git a/net-misc/electrum/files/3.1.3-desktop.patch b/net-misc/electrum/files/3.1.3-desktop.patch deleted file mode 100644 index beb4d598e45d..000000000000 --- a/net-misc/electrum/files/3.1.3-desktop.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur Electrum-3.1.3.orig/electrum.desktop Electrum-3.1.3/electrum.desktop ---- Electrum-3.1.3.orig/electrum.desktop 2018-04-16 12:17:11.000000000 -0400 -+++ Electrum-3.1.3/electrum.desktop 2018-05-19 03:56:35.437735879 -0400 -@@ -3,7 +3,7 @@ - - [Desktop Entry] - Comment=Lightweight Bitcoin Client --Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\" electrum %u" -+Exec=electrum %u - GenericName[en_US]=Bitcoin Wallet - GenericName=Bitcoin Wallet - Icon=electrum -@@ -14,8 +14,4 @@ - Terminal=false - Type=Application - MimeType=x-scheme-handler/bitcoin; --Actions=Testnet; - --[Desktop Action Testnet] --Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\" electrum --testnet %u" --Name=Testnet mode |