From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1BBAB138334 for ; Thu, 25 Apr 2019 03:54:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EA0BE09D9; Thu, 25 Apr 2019 03:54:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10919E09D9 for ; Thu, 25 Apr 2019 03:54:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6BDB53425D0 for ; Thu, 25 Apr 2019 03:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15CC558A for ; Thu, 25 Apr 2019 03:54:48 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1556164475.d4fb41d42468f72dd73c7535d95bb816f12a7f62.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/files/, net-misc/electrum-ltc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/electrum-ltc/Manifest net-misc/electrum-ltc/electrum-ltc-3.0.6.2.ebuild net-misc/electrum-ltc/files/2.8.0-no-user-root.patch X-VCS-Directories: net-misc/electrum-ltc/files/ net-misc/electrum-ltc/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: d4fb41d42468f72dd73c7535d95bb816f12a7f62 X-VCS-Branch: master Date: Thu, 25 Apr 2019 03:54:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f436e779-2e99-4a39-aa19-5c476a9ad06a X-Archives-Hash: 790464fc0f74ef041bba27aa0275da2a commit: d4fb41d42468f72dd73c7535d95bb816f12a7f62 Author: Zac Medico gentoo org> AuthorDate: Thu Apr 25 03:49:52 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Apr 25 03:54:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4fb41d4 net-misc/electrum-ltc: remove old version Bug: https://bugs.gentoo.org/684218 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Zac Medico gentoo.org> net-misc/electrum-ltc/Manifest | 1 - net-misc/electrum-ltc/electrum-ltc-3.0.6.2.ebuild | 152 --------------------- .../electrum-ltc/files/2.8.0-no-user-root.patch | 15 -- 3 files changed, 168 deletions(-) diff --git a/net-misc/electrum-ltc/Manifest b/net-misc/electrum-ltc/Manifest index a0319fa5806..ab92083ecc2 100644 --- a/net-misc/electrum-ltc/Manifest +++ b/net-misc/electrum-ltc/Manifest @@ -1,2 +1 @@ -DIST electrum-ltc-3.0.6.2.tar.gz 2387515 BLAKE2B 3093aad114dd96d0a0ecac48adfe45c9b7be37d831f67fd8a230617bb45131b5045e70433c0ed0fe87a3028356de3884e78c3eb2c1bda38e5804e97952dcd13f SHA512 c9de8f490eddbf269fb5a034fc4bf5712173a09df8fe4ea01dafe516cd1b684dce253278c4c4128e4284c89bd7f8fbd51e0633710abbb22720b53507ecbd102c DIST electrum-ltc-3.3.4.1.tar.gz 3897254 BLAKE2B 113e4175adad0d404f9677913bd24cbda569f20183de75d341d60b954f0423ff13042e0b05f66f7953729368412fc181d2c8da7caee15899f6810cb77c4be241 SHA512 cab85edbe9189fffd2a4b8d57dd89dc55f68cf3f02cd4a7427c53de852ab2001b82b1484126699c8eee36d765a8ca58936eba82e3c153f654bf5629b9cd50745 diff --git a/net-misc/electrum-ltc/electrum-ltc-3.0.6.2.ebuild b/net-misc/electrum-ltc/electrum-ltc-3.0.6.2.ebuild deleted file mode 100644 index e8a9fe3d9b7..00000000000 --- a/net-misc/electrum-ltc/electrum-ltc-3.0.6.2.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python3_{5,6} ) -PYTHON_REQ_USE="ncurses?" - -inherit distutils-r1 gnome2-utils xdg-utils - -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 l10n_zh-CN" - -REQUIRED_USE=" - || ( cli ncurses qt5 ) - audio_modem? ( qt5 ) - cosign? ( qt5 ) - digitalbitbox? ( qt5 ) - email? ( qt5 ) - qrcode? ( qt5 ) - sync? ( qt5 ) - vkb? ( qt5 ) -" - -RDEPEND=" - dev-python/scrypt[${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}] - virtual/python-dnspython[${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}/2.8.0-no-user-root.patch" - - # Prevent icon from being installed in the wrong location - sed -i '/icons/d' setup.py || die - - if use qt5; then - pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die - else - sed "s|'electrum_ltc_gui.qt',||" -i setup.py || die - fi - - local wordlist= - for wordlist in \ - $(usex l10n_ja '' japanese) \ - $(usex l10n_pt '' portuguese) \ - $(usex l10n_es '' spanish) \ - $(usex l10n_zh-CN '' chinese_simplified) \ - ; do - rm -f "lib/wordlist/${wordlist}.txt" || die - sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die - done - - # Remove unrequested GUI implementations: - local gui setup_py_gui - for gui in \ - $(usex cli '' stdio) \ - kivy \ - $(usex qt5 '' qt ) \ - $(usex ncurses '' text ) \ - ; do - rm gui/"${gui}"* -r || die - done - - # And install requested ones... - for gui in \ - $(usex qt5 qt '') \ - ; do - setup_py_gui="${setup_py_gui}'electrum_gui.${gui}'," - done - - sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die - - local bestgui - if use qt5; then - bestgui=qt - elif use ncurses; then - bestgui=text - else - bestgui=stdio - fi - sed -i 's/^\([[:space:]]*\)\(config_options\['\''cwd'\''\] = .*\)$/\1\2\n\1config_options.setdefault("gui", "'"${bestgui}"'")\n/' electrum-ltc || die - - local plugin - # trezor requires python trezorlib module - # keepkey requires trezor - for plugin in \ - $(usex audio_modem '' audio_modem ) \ - $(usex cosign '' cosigner_pool ) \ - $(usex digitalbitbox '' digitalbitbox ) \ - $(usex email '' email_requests ) \ - hw_wallet \ - ledger \ - keepkey \ - $(usex sync '' labels ) \ - trezor \ - $(usex vkb '' virtualkeyboard ) \ - ; do - rm -r plugins/"${plugin}"* || die - sed -i "/${plugin}/d" setup.py || die - done - - eapply_user - - distutils-r1_src_prepare -} - -src_install() { - doicon -s 128 icons/${PN}.png - distutils-r1_src_install -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/net-misc/electrum-ltc/files/2.8.0-no-user-root.patch b/net-misc/electrum-ltc/files/2.8.0-no-user-root.patch deleted file mode 100644 index 2ca5363effe..00000000000 --- a/net-misc/electrum-ltc/files/2.8.0-no-user-root.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- ./setup.py.orig 2017-01-06 19:17:44.294137848 +0000 -+++ ./setup.py 2017-01-06 19:17:50.093161327 +0000 -@@ -21,12 +21,6 @@ - parser.add_argument('--root=', dest='root_path', metavar='dir', default='/') - opts, _ = parser.parse_known_args(sys.argv[1:]) - usr_share = os.path.join(sys.prefix, "share") -- if not os.access(opts.root_path + usr_share, os.W_OK) and \ -- not os.access(opts.root_path, os.W_OK): -- 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']), - ]