diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-03-17 21:15:47 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-03-17 21:15:47 +0000 |
commit | 1658df5e0789c9646415f965043977e14ced8564 (patch) | |
tree | d27eff5c19605f2b5448cd3395fb877b423940b7 /net-misc/electrum | |
parent | New ebuild for mate-base/mate-applets, applets for the MATE Desktop and Panel... (diff) | |
download | gentoo-2-1658df5e0789c9646415f965043977e14ced8564.tar.gz gentoo-2-1658df5e0789c9646415f965043977e14ced8564.tar.bz2 gentoo-2-1658df5e0789c9646415f965043977e14ced8564.zip |
Version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc/electrum')
-rw-r--r-- | net-misc/electrum/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/electrum/electrum-1.9.8.ebuild | 103 |
2 files changed, 109 insertions, 1 deletions
diff --git a/net-misc/electrum/ChangeLog b/net-misc/electrum/ChangeLog index 17c54f025639..003edb9b09a8 100644 --- a/net-misc/electrum/ChangeLog +++ b/net-misc/electrum/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/electrum # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/electrum/ChangeLog,v 1.22 2014/01/26 18:17:39 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/electrum/ChangeLog,v 1.23 2014/03/17 21:15:47 blueness Exp $ + +*electrum-1.9.8 (17 Mar 2014) + + 17 Mar 2014; Anthony G. Basile <blueness@gentoo.org> +electrum-1.9.8.ebuild: + Version bump 26 Jan 2014; Anthony G. Basile <blueness@gentoo.org> electrum-1.7.4.ebuild, electrum-1.8.1.ebuild, electrum-1.9.7.ebuild: diff --git a/net-misc/electrum/electrum-1.9.8.ebuild b/net-misc/electrum/electrum-1.9.8.ebuild new file mode 100644 index 000000000000..25f03c5b5540 --- /dev/null +++ b/net-misc/electrum/electrum-1.9.8.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/electrum/electrum-1.9.8.ebuild,v 1.1 2014/03/17 21:15:47 blueness Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit eutils distutils-r1 gnome2-utils + +MY_P=Electrum-${PV} +DESCRIPTION="User friendly Bitcoin client" +HOMEPAGE="http://electrum.org/" +SRC_URI="http://download.electrum.org/download/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LINGUAS="ar_SA cs_CZ de_DE eo_UY es_ES fr_FR hu_HU + id_ID it_IT ja_JP ky_KG lv_LV nl_NL + pl_PL pt_BR pt_PT ro_RO ru_RU sl_SI + ta_IN th_TH vi_VN zh_CN" + +IUSE="gtk qrcode +qt4 webkit" + +for lingua in ${LINGUAS}; do + IUSE+=" linguas_${lingua}" +done + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/ecdsa-0.9[${PYTHON_USEDEP}] + dev-python/slowaes[${PYTHON_USEDEP}] + gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) + qrcode? ( media-gfx/zbar[python] ) + qt4? ( + webkit? ( dev-python/PyQt4[webkit] ) + dev-python/PyQt4[${PYTHON_USEDEP}] + )" + +S=${WORKDIR}/${MY_P} + +DOCS="RELEASE-NOTES" + +src_prepare() { + # Prevent .desktop, icon, and translations from being installed in the wrong locations + epatch "${FILESDIR}"/setup.py-1.9.7.patch + + epatch "${FILESDIR}"/electrum.desktop-1.9.7.patch + validate_desktop_entries + + # Remove unrequested localization files: + for lang in ${LINGUAS}; do + if use linguas_${lang}; then + test -f "locale/${lang}/LC_MESSAGES/${PN}.mo" || die + else + rm -r "locale/${lang}" || die + fi + done + + # Remove unrequested GUI implementations: + if use !gtk; then + sed -i "/'electrum_gui.gtk/d" setup.py || die + fi + if use !qt4; then + sed -i "/'electrum_gui.qt/d" setup.py || die + fi + + if use !qt4; then + if use gtk; then + sed -i "s/config.get('gui','classic')/ config.get('gui','gtk')/" electrum || die + else + sed -i "s/config.get('gui','classic')/ config.get('gui','text')/" electrum || die + fi + fi + + if use !webkit; then + sed -i "/'electrum_plugins.coinbase_buyback/d" setup.py || die + fi + + if use !qrcode; then + sed -i "/'electrum_plugins.qrscanner/d" setup.py || die + fi + + 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 +} + +pkg_postrm() { + gnome2_icon_cache_update +} |