/[gentoo-x86]/net-misc/electrum/electrum-1.7.ebuild
Gentoo

Diff of /net-misc/electrum/electrum-1.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/electrum/Attic/electrum-1.7.ebuild,v 1.1 2013/03/19 12:39:21 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/electrum/Attic/electrum-1.7.ebuild,v 1.2 2013/03/22 11:23:14 blueness Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7PYTHON_COMPAT=( python{2_6,2_7} ) 7PYTHON_COMPAT=( python{2_6,2_7} )
8 8
52 fi 52 fi
53 done 53 done
54 54
55 # Remove unrequested GUI implementations: 55 # Remove unrequested GUI implementations:
56 if use !gtk; then 56 if use !gtk; then
57 rm lib/gui.py || die 57 rm gui/gui_gtk.py || die
58 fi 58 fi
59 if use !qt4; then 59 if use !qt4; then
60 rm lib/gui_qt.py lib/gui_lite.py || die 60 rm gui/gui_{classic,lite}.py || die
61 sed -i 's/default="lite"/default="gtk"/' electrum || die 61 sed -i "/config.get('gui','classic')/s/classic/gtk/" electrum \
62 || die
62 fi 63 fi
63 64
64 distutils-r1_src_prepare 65 distutils-r1_src_prepare
65} 66}
66 67

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20