Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/wammu/
Date: Tue, 02 Feb 2016 20:14:02
Message-Id: 1454443885.8324389e263b89ca2961377be72cc377a9308425.sping@gentoo
1 commit: 8324389e263b89ca2961377be72cc377a9308425
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 20:05:23 2016 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 20:11:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8324389e
7
8 app-mobilephone/wammu: Adjust gammu dependency (#775)
9
10 Changelog of gammu 1.34.0 says:
11 "Removed deprecated Python modules gammu.Data and gammu.Worker".
12
13 Package-Manager: portage-2.2.27
14
15 .../{wammu-0.36-r1.ebuild => wammu-0.35-r1.ebuild} | 28 ++++++++++++----------
16 app-mobilephone/wammu/wammu-0.36-r1.ebuild | 4 ++--
17 2 files changed, 17 insertions(+), 15 deletions(-)
18
19 diff --git a/app-mobilephone/wammu/wammu-0.36-r1.ebuild b/app-mobilephone/wammu/wammu-0.35-r1.ebuild
20 similarity index 72%
21 copy from app-mobilephone/wammu/wammu-0.36-r1.ebuild
22 copy to app-mobilephone/wammu/wammu-0.35-r1.ebuild
23 index 4c84990..b8d262e 100644
24 --- a/app-mobilephone/wammu/wammu-0.36-r1.ebuild
25 +++ b/app-mobilephone/wammu/wammu-0.35-r1.ebuild
26 @@ -1,12 +1,12 @@
27 -# Copyright 1999-2015 Gentoo Foundation
28 +# Copyright 1999-2016 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 # $Id$
31
32 -EAPI=5
33 +EAPI="3"
34
35 -PYTHON_COMPAT=( python2_7 )
36 +PYTHON_DEPEND="2"
37
38 -inherit distutils-r1
39 +inherit distutils
40
41 DESCRIPTION="Front-end for gammu to access mobile phones easily"
42 HOMEPAGE="http://www.wammu.eu/"
43 @@ -17,9 +17,9 @@ SLOT="0"
44 KEYWORDS="~amd64 ~x86"
45 IUSE="bluetooth gnome"
46
47 -RDEPEND=">=app-mobilephone/gammu-1.25.0[python]
48 - >=dev-python/wxpython-2.8[${PYTHON_USEDEP}]
49 - bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}]
50 +RDEPEND=">=app-mobilephone/gammu-1.25.0[python] <app-mobilephone/gammu-1.34.0[python]
51 + >=dev-python/wxpython-2.8
52 + bluetooth? ( dev-python/pybluez
53 gnome? ( net-wireless/gnome-bluetooth )
54 )"
55 DEPEND="${RDEPEND}"
56 @@ -29,8 +29,10 @@ DEPEND="${RDEPEND}"
57 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"
58 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
59
60 -# Required to source locale content out of the box
61 -DISTUTILS_IN_SOURCE_BUILD=1
62 +pkg_setup() {
63 + python_set_active_version 2
64 + python_pkg_setup
65 +}
66
67 src_prepare() {
68 local lang support_linguas=no
69 @@ -49,16 +51,16 @@ src_prepare() {
70 done
71 fi
72
73 - distutils-r1_src_prepare
74 + python_convert_shebangs -r 2 .
75 }
76
77 src_compile() {
78 # SKIPWXCHECK: else 'import wx' results in
79 # Xlib: connection to ":0.0" refused by server
80 - SKIPWXCHECK=yes distutils-r1_src_compile
81 + SKIPWXCHECK=yes distutils_src_compile
82 }
83
84 src_install() {
85 - local DOCS="AUTHORS FAQ"
86 - SKIPWXCHECK=yes distutils-r1_src_install
87 + DOCS="AUTHORS FAQ"
88 + SKIPWXCHECK=yes distutils_src_install
89 }
90
91 diff --git a/app-mobilephone/wammu/wammu-0.36-r1.ebuild b/app-mobilephone/wammu/wammu-0.36-r1.ebuild
92 index 4c84990..5b974e6 100644
93 --- a/app-mobilephone/wammu/wammu-0.36-r1.ebuild
94 +++ b/app-mobilephone/wammu/wammu-0.36-r1.ebuild
95 @@ -1,4 +1,4 @@
96 -# Copyright 1999-2015 Gentoo Foundation
97 +# Copyright 1999-2016 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 # $Id$
100
101 @@ -17,7 +17,7 @@ SLOT="0"
102 KEYWORDS="~amd64 ~x86"
103 IUSE="bluetooth gnome"
104
105 -RDEPEND=">=app-mobilephone/gammu-1.25.0[python]
106 +RDEPEND=">=app-mobilephone/gammu-1.25.0[python] <app-mobilephone/gammu-1.34.0[python]
107 >=dev-python/wxpython-2.8[${PYTHON_USEDEP}]
108 bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}]
109 gnome? ( net-wireless/gnome-bluetooth )