Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/wammu: ChangeLog wammu-0.24.ebuild
Date: Sat, 01 Dec 2007 10:03:53
Message-Id: E1IyPCP-0001Oq-2B@stork.gentoo.org
1 mrness 07/12/01 10:03:49
2
3 Modified: ChangeLog
4 Added: wammu-0.24.ebuild
5 Log:
6 Version bump (#200881).
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.27 app-mobilephone/wammu/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 11 Oct 2007 08:54:06 -0000 1.26
23 +++ ChangeLog 1 Dec 2007 10:03:48 -0000 1.27
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-mobilephone/wammu
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.26 2007/10/11 08:54:06 mrness Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.27 2007/12/01 10:03:48 mrness Exp $
29 +
30 +*wammu-0.24 (01 Dec 2007)
31 +
32 + 01 Dec 2007; Alin Năstac <mrness@g.o> +wammu-0.24.ebuild:
33 + Version bump (#200881).
34
35 *wammu-0.23 (11 Oct 2007)
36
37
38
39
40 1.1 app-mobilephone/wammu/wammu-0.24.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/wammu-0.24.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/wammu-0.24.ebuild?rev=1.1&content-type=text/plain
44
45 Index: wammu-0.24.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.24.ebuild,v 1.1 2007/12/01 10:03:48 mrness Exp $
50
51 inherit distutils eutils versionator
52
53 DESCRIPTION="front-end for gammu (Nokia and other mobiles)"
54 HOMEPAGE="http://www.cihar.com/gammu/wammu/"
55 SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 IUSE="bluetooth"
61
62 RDEPEND="=dev-python/wxpython-2.6*
63 >=dev-python/python-gammu-0.23
64 bluetooth? (
65 || (
66 dev-python/pybluez
67 net-wireless/gnome-bluetooth
68 )
69 )"
70 DEPEND="${RDEPEND}"
71
72 # Supported languages and translated documentation
73 # Be sure all languages are prefixed with a single space!
74 MY_AVAILABLE_LINGUAS=" af ca cs de es et fi fr hu it ko nl pl pt_BR ru sk sv zh_CN"
75 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
76
77 src_unpack() {
78 unpack ${A}
79
80 # Select the suitable wxpython versions
81 local wxpy_pkg wxpy_slot MY_WXPYTHON_SLOTS
82 for wxpy_pkg in $(portageq match "${ROOT}" '=dev-python/wxpython-2.6*'); do
83 if built_with_use --hidden --missing false =${wxpy_pkg} unicode ; then
84 wxpy_slot=$(get_version_component_range 1-2 ${wxpy_pkg#*/*-})
85 if [ -z "${MY_WXPYTHON_SLOTS}" ]; then
86 MY_WXPYTHON_SLOTS="'${wxpy_slot}'"
87 else
88 MY_WXPYTHON_SLOTS="${MY_WXPYTHON_SLOTS}, '${wxpy_slot}'"
89 fi
90 fi
91 done
92 if [ -z "${MY_WXPYTHON_SLOTS}" ]; then
93 eerror "None of the dev-python/wxpython installed versions have been built with Unicode support."
94 eerror "Install wxpython with unicode USE flag enabled and try again."
95 die "dev-python/wxpython is missing Unicode support"
96 fi
97
98 cd "${S}"
99 sed -e "s/WXPYTHON_VER/${MY_WXPYTHON_SLOTS}/" \
100 "${FILESDIR}"/${PN}-wxversion.patch \
101 > "${T}"/${PN}-wxversion.patch
102 epatch "${T}"/${PN}-wxversion.patch
103
104 cd locale || die "locale directory not found"
105 local lang
106 for lang in ${MY_AVAILABLE_LINGUAS} ; do
107 if ! use linguas_${lang} ; then
108 rm -r ${lang}
109 fi
110 done
111 }
112
113 src_compile() {
114 # SKIPWXCHECK: else 'import wx' results in
115 # Xlib: connection to ":0.0" refused by server
116 SKIPWXCHECK=yes distutils_src_compile
117 }
118
119 src_install() {
120 DOCS="AUTHORS FAQ NEWS"
121 SKIPWXCHECK=yes distutils_src_install
122 }
123
124
125
126 --
127 gentoo-commits@g.o mailing list