From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/icewmcp: icewmcp-3.2-r3.ebuild ChangeLog |
Date: | Sat, 01 Oct 2011 06:20:33 |
Message-Id: | 20111001062023.AE11C2004B@flycatcher.gentoo.org |
1 | vapier 11/10/01 06:20:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: icewmcp-3.2-r3.ebuild |
5 | Log: |
6 | Clean up ebuild a lot #384555 by i.Dark_Templar. |
7 | |
8 | (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.15 x11-misc/icewmcp/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/icewmcp/ChangeLog?rev=1.15&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/icewmcp/ChangeLog?rev=1.15&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/icewmcp/ChangeLog?r1=1.14&r2=1.15 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/ChangeLog,v |
20 | retrieving revision 1.14 |
21 | retrieving revision 1.15 |
22 | diff -u -r1.14 -r1.15 |
23 | --- ChangeLog 2 Mar 2011 18:22:55 -0000 1.14 |
24 | +++ ChangeLog 1 Oct 2011 06:20:23 -0000 1.15 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for x11-misc/icewmcp |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/ChangeLog,v 1.14 2011/03/02 18:22:55 signals Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/ChangeLog,v 1.15 2011/10/01 06:20:23 vapier Exp $ |
30 | + |
31 | +*icewmcp-3.2-r3 (01 Oct 2011) |
32 | + |
33 | + 01 Oct 2011; Mike Frysinger <vapier@g.o> +icewmcp-3.2-r3.ebuild: |
34 | + Clean up ebuild a lot #384555 by i.Dark_Templar. |
35 | |
36 | 02 Mar 2011; Kevin McCarthy <signals@g.o> icewmcp-3.2-r2.ebuild: |
37 | Slot all gnome-related deps. |
38 | |
39 | |
40 | |
41 | 1.1 x11-misc/icewmcp/icewmcp-3.2-r3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/icewmcp/icewmcp-3.2-r3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/icewmcp/icewmcp-3.2-r3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: icewmcp-3.2-r3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/icewmcp-3.2-r3.ebuild,v 1.1 2011/10/01 06:20:23 vapier Exp $ |
51 | |
52 | EAPI="2" |
53 | PYTHON_DEPEND="2" |
54 | |
55 | inherit python multilib |
56 | |
57 | MY_PN=IceWMControlPanel |
58 | DESCRIPTION="A complete control panel for IceWM using gtk & python" |
59 | HOMEPAGE="http://icesoundmanager.sourceforge.net/index.php" |
60 | SRC_URI="mirror://sourceforge/icesoundmanager/${MY_PN}-${PV}.tar.bz2" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~ppc ~x86" |
65 | IUSE="" |
66 | |
67 | DEPEND="x11-wm/icewm |
68 | dev-python/pygtk:2 |
69 | x11-libs/gtk+:2" |
70 | RDEPEND="${DEPEND}" |
71 | |
72 | S=${WORKDIR}/INSTALL-IceWMCP |
73 | |
74 | pkg_setup() { |
75 | python_set_active_version 2 |
76 | python_pkg_setup |
77 | } |
78 | |
79 | src_unpack() { |
80 | unpack ${A} |
81 | cd "${S}" |
82 | rm -rf licenses |
83 | mv doc .. || die |
84 | } |
85 | |
86 | src_install() { |
87 | local dest="/usr/$(get_libdir)/${P}" |
88 | dodoc ../doc/*.txt || die |
89 | dohtml ../doc/*.html || die |
90 | insinto ${dest} |
91 | doins -r * || die |
92 | |
93 | local w wraps=( |
94 | "IceWMCP.py IceWMCP" |
95 | "IceWMCPKeyboard.py IceWMCP-Keyboard" |
96 | "IceWMCPMouse.py IceWMCP-Mouse" |
97 | "pyspool.py IceWMCP-PySpool" |
98 | "IceWMCPWallpaper.py IceWMCP-Wallpaper" |
99 | "IceWMCPWinOptions.py IceWMCP-WinOptions" |
100 | "phrozenclock.py PhrozenClock" |
101 | "icesound.py IceSoundManager" |
102 | "IceWMCP_GtkPCCard.py GtkPCCard" |
103 | "IceMe.py iceme" |
104 | "icepref.py icepref" |
105 | "icepref_td.py icepref_td" |
106 | "IceWMCPGtkIconSelection.py IceWMCP-Icons" |
107 | "IceWMCPEnergyStar.py IceWMCP-EnergyStar" |
108 | ) |
109 | for w in "${wraps[@]}" ; do |
110 | set -- ${w} |
111 | printf '#!/bin/sh\nexec python %s/%s\n' "${dest}" "$1" > "${T}"/$2 |
112 | dobin "${T}"/$2 || die |
113 | done |
114 | } |
115 | |
116 | pkg_postinst() { |
117 | einfo "Some of the icons displayed by IceWMCP may be pointing to" |
118 | einfo "programs which are not on your system! You can hide them" |
119 | einfo "using the Configuration window (Ctrl+C)." |
120 | } |