blueness    14/03/17 21:15:47

  Modified:             ChangeLog
  Added:                electrum-1.9.8.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.23                 net-misc/electrum/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/electrum/ChangeLog?rev=1.23&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/electrum/ChangeLog?rev=1.23&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/electrum/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/electrum/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog   26 Jan 2014 18:17:39 -0000      1.22
+++ ChangeLog   17 Mar 2014 21:15:47 -0000      1.23
@@ -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 <bluen...@gentoo.org> +electrum-1.9.8.ebuild:
+  Version bump
 
   26 Jan 2014; Anthony G. Basile <bluen...@gentoo.org> electrum-1.7.4.ebuild,
   electrum-1.8.1.ebuild, electrum-1.9.7.ebuild:



1.1                  net-misc/electrum/electrum-1.9.8.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/electrum/electrum-1.9.8.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/electrum/electrum-1.9.8.ebuild?rev=1.1&content-type=text/plain

Index: electrum-1.9.8.ebuild
===================================================================
# 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
}




Reply via email to