Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/wammu: ChangeLog wammu-0.34.ebuild
Date: Sat, 09 Oct 2010 20:04:22
Message-Id: 20101009193203.D00392004C@flycatcher.gentoo.org
1 fauli 10/10/09 19:32:03
2
3 Modified: ChangeLog
4 Added: wammu-0.34.ebuild
5 Log:
6 version bump for bug 317623, fixes Python usage as reported in bug 311669 by changing shebangs, depending on Python 2 only
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.43 app-mobilephone/wammu/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/wammu/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/wammu/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/wammu/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 1 Feb 2010 21:55:28 -0000 1.42
23 +++ ChangeLog 9 Oct 2010 19:32:03 -0000 1.43
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-mobilephone/wammu
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.42 2010/02/01 21:55:28 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.43 2010/10/09 19:32:03 fauli Exp $
29 +
30 +*wammu-0.34 (09 Oct 2010)
31 +
32 + 09 Oct 2010; Christian Faulhammer <fauli@g.o> +wammu-0.34.ebuild:
33 + version bump for bug 317623, fixes Python usage as reported in bug 311669
34 + by changing shebangs, depending on Python 2 only
35
36 *wammu-0.32.1 (01 Feb 2010)
37
38
39
40
41 1.1 app-mobilephone/wammu/wammu-0.34.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/wammu/wammu-0.34.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/wammu/wammu-0.34.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wammu-0.34.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.34.ebuild,v 1.1 2010/10/09 19:32:03 fauli Exp $
51
52 EAPI="2"
53
54 PYTHON_DEPEND="2"
55
56 inherit distutils
57
58 DESCRIPTION="Front-end for gammu to access mobile phones easily"
59 HOMEPAGE="http://www.wammu.eu/"
60 SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="bluetooth"
66
67 RDEPEND=">=app-mobilephone/gammu-1.25.0[python]
68 >=dev-python/wxpython-2.8
69 bluetooth? (
70 || (
71 dev-python/pybluez
72 net-wireless/gnome-bluetooth
73 )
74 )"
75 DEPEND="${RDEPEND}"
76
77 # Supported languages and translated documentation
78 # Be sure all languages are prefixed with a single space!
79 MY_AVAILABLE_LINGUAS=" af bg ca cs da de el es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv zh_CN zh_TW"
80 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
81
82 pkg_setup() {
83 python_set_active_version 2
84 python_pkg_setup
85 }
86
87 src_prepare() {
88 local lang support_linguas=no
89 for lang in ${MY_AVAILABLE_LINGUAS} ; do
90 if use linguas_${lang} ; then
91 support_linguas=yes
92 break
93 fi
94 done
95 # install all languages when all selected LINGUAS aren't supported
96 if [ "${support_linguas}" = "yes" ]; then
97 for lang in ${MY_AVAILABLE_LINGUAS} ; do
98 if ! use linguas_${lang} ; then
99 rm -r locale/${lang} || die
100 fi
101 done
102 fi
103
104 python_convert_shebangs -r 2 .
105 }
106
107 src_compile() {
108 # SKIPWXCHECK: else 'import wx' results in
109 # Xlib: connection to ":0.0" refused by server
110 SKIPWXCHECK=yes distutils_src_compile
111 }
112
113 src_install() {
114 DOCS="AUTHORS FAQ"
115 SKIPWXCHECK=yes distutils_src_install
116 }