Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wicd: ChangeLog wicd-1.7.1_beta2.ebuild
Date: Wed, 01 Dec 2010 19:39:22
Message-Id: 20101201193909.A71AA20054@flycatcher.gentoo.org
1 darkside 10/12/01 19:39:09
2
3 Modified: ChangeLog
4 Added: wicd-1.7.1_beta2.ebuild
5 Log:
6 Quick version bump to add the beta to ~arch for python-2.7 support, mainly. (bug 333001).
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.73 net-misc/wicd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.73&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.73&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.72&r2=1.73
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v
20 retrieving revision 1.72
21 retrieving revision 1.73
22 diff -u -r1.72 -r1.73
23 --- ChangeLog 23 May 2010 19:27:04 -0000 1.72
24 +++ ChangeLog 1 Dec 2010 19:39:09 -0000 1.73
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/wicd
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.72 2010/05/23 19:27:04 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.73 2010/12/01 19:39:09 darkside Exp $
30 +
31 +*wicd-1.7.1_beta2 (01 Dec 2010)
32 +
33 + 01 Dec 2010; Jeremy Olexa <darkside@g.o> +wicd-1.7.1_beta2.ebuild:
34 + Quick version bump to add the beta to ~arch for python-2.7 support,
35 + mainly. (bug 333001).
36
37 23 May 2010; Jeremy Olexa <darkside@g.o> wicd-1.7.0.ebuild:
38 Bump urwid dependency, bug 310621
39
40
41
42 1.1 net-misc/wicd/wicd-1.7.1_beta2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: wicd-1.7.1_beta2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2.ebuild,v 1.1 2010/12/01 19:39:09 darkside Exp $
52
53 EAPI=2
54
55 inherit eutils distutils
56
57 MY_P=${P/_beta/b}
58 S="${WORKDIR}/${MY_P}"
59
60 DESCRIPTION="A lightweight wired and wireless network manager for Linux"
61 HOMEPAGE="http://wicd.sourceforge.net/"
62 SRC_URI="http://downloads.wicd.net/src/testing/1.7.x/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
67 IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils"
68
69 DEPEND=""
70 # Maybe virtual/dhcp would work, but there are enough problems with
71 # net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered
72 # first if none are installed.
73 RDEPEND="
74 dev-python/dbus-python
75 X? ( gtk? ( dev-python/pygtk
76 || (
77 x11-misc/ktsuss
78 x11-libs/gksu
79 kde-base/kdesu
80 )
81 )
82 )
83 || (
84 net-misc/dhcpcd
85 net-misc/dhcp
86 net-misc/pump
87 )
88 net-wireless/wireless-tools
89 net-wireless/wpa_supplicant
90 || (
91 sys-apps/net-tools
92 sys-apps/ethtool
93 )
94 !gtk? ( dev-python/pygobject )
95 ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
96 libnotify? ( dev-python/notify-python )
97 ncurses? ( >=dev-python/urwid-0.9.9.1 )
98 pm-utils? ( >=sys-power/pm-utils-1.1.1 )
99 "
100
101 src_compile() {
102 local myconf
103 use gtk || myconf="${myconf} --no-install-gtk"
104 use libnotify || myconf="${myconf} --no-use-notifications"
105 use ncurses || myconf="${myconf} --no-install-ncurses"
106 use pm-utils || myconf="${myconf} --no-install-pmutils"
107 ${python} ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
108 distutils_src_compile
109 }
110
111 src_install() {
112 DOCS="CHANGES NEWS AUTHORS README"
113 distutils_src_install
114 keepdir /var/lib/wicd/configurations \
115 || die "keepdir failed, critical for this app"
116 keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \
117 || die "keepdir failed, critical for this app"
118 keepdir /var/log/wicd \
119 || die "keepdir failed, critical for this app"
120 use nls || rm -rf "${D}"/usr/share/locale
121 }
122
123 pkg_postinst() {
124 distutils_pkg_postinst
125
126 elog "You may need to restart the dbus service after upgrading wicd."
127 echo
128 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
129 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
130 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
131 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
132 # Maintainer's note: the consolekit use flag short circuits a dbus rule and
133 # allows the connection. Else, you need to be in the group.
134 if ! has_version sys-auth/pambase[consolekit]; then
135 ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
136 ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
137 fi
138 }