Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/arandr: ChangeLog arandr-0.1.7-r1.ebuild arandr-0.1.7.ebuild
Date: Sun, 03 Mar 2013 00:25:16
Message-Id: 20130303002513.50D2D2171E@flycatcher.gentoo.org
1 hasufell 13/03/03 00:25:13
2
3 Modified: ChangeLog
4 Added: arandr-0.1.7-r1.ebuild
5 Removed: arandr-0.1.7.ebuild
6 Log:
7 fix locale behavior, add missing PYTHON_USEDEP to dependencies, remove unsupported python2_5, remove obsolete PYTHON_MODNAME variable, update license
8
9 (Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
10
11 Revision Changes Path
12 1.11 x11-misc/arandr/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/arandr/ChangeLog?rev=1.11&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/arandr/ChangeLog?rev=1.11&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/arandr/ChangeLog?r1=1.10&r2=1.11
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/arandr/ChangeLog,v
21 retrieving revision 1.10
22 retrieving revision 1.11
23 diff -u -r1.10 -r1.11
24 --- ChangeLog 1 Mar 2013 18:13:51 -0000 1.10
25 +++ ChangeLog 3 Mar 2013 00:25:13 -0000 1.11
26 @@ -1,6 +1,14 @@
27 # ChangeLog for x11-misc/arandr
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/arandr/ChangeLog,v 1.10 2013/03/01 18:13:51 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/arandr/ChangeLog,v 1.11 2013/03/03 00:25:13 hasufell Exp $
31 +
32 +*arandr-0.1.7-r1 (03 Mar 2013)
33 +
34 + 03 Mar 2013; Julian Ospald <hasufell@g.o> -arandr-0.1.7.ebuild,
35 + +arandr-0.1.7-r1.ebuild, +files/arandr-0.1.7-locale.patch:
36 + fix locale behavior, add missing PYTHON_USEDEP to dependencies, remove
37 + unsupported python2_5, remove obsolete PYTHON_MODNAME variable, update
38 + license
39
40 01 Mar 2013; Jeroen Roovers <jer@g.o> arandr-0.1.7.ebuild:
41 Port to distutils-r1.
42
43
44
45 1.1 x11-misc/arandr/arandr-0.1.7-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/arandr/arandr-0.1.7-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/arandr/arandr-0.1.7-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: arandr-0.1.7-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/x11-misc/arandr/arandr-0.1.7-r1.ebuild,v 1.1 2013/03/03 00:25:13 hasufell Exp $
55
56 EAPI=5
57
58 PYTHON_COMPAT=( python{2_6,2_7} )
59
60 inherit eutils distutils-r1
61
62 DESCRIPTION="A simple visual frontend for XRandR 1.2/1.3"
63 HOMEPAGE="http://christian.amsuess.com/tools/arandr/"
64 SRC_URI="http://christian.amsuess.com/tools/${PN}/files/${P}.tar.gz"
65
66 LICENSE="GPL-3+"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 RDEPEND=">=dev-python/pygtk-2[${PYTHON_USEDEP}]
72 x11-apps/xrandr"
73 DEPEND=">=dev-python/docutils-0.6[${PYTHON_USEDEP}]"
74
75 src_prepare() {
76 epatch "${FILESDIR}"/${P}-locale.patch
77
78 local i p
79 # simulate gettext behavior:
80 # LINGUAS unset => install all
81 # LINGUAS="" => install none
82 # LINGUAS="de fr" => install de and fr
83 if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
84 for i in $(cd "${S}"/data/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
85 if ! has ${i} ${LINGUAS} ; then # if language is disabled
86 rm data/po/${i}.po || die
87 fi
88 done
89 fi
90 distutils-r1_src_prepare
91 }