From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QInAD-0001Gc-Nv for garchives@archives.gentoo.org; Sat, 07 May 2011 19:27:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 733261C026; Sat, 7 May 2011 19:27:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 327721C026 for ; Sat, 7 May 2011 19:27:34 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 743AE1B4082 for ; Sat, 7 May 2011 19:27:33 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2281) id 0B13D20057; Sat, 7 May 2011 19:27:32 +0000 (UTC) From: "Thomas Kahle (tomka)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, tomka@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wicd: ChangeLog wicd-1.7.1_beta2-r4.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog wicd-1.7.1_beta2-r4.ebuild X-VCS-Directories: net-misc/wicd X-VCS-Committer: tomka X-VCS-Committer-Name: Thomas Kahle Content-Type: text/plain; charset=utf8 Message-Id: <20110507192732.0B13D20057@flycatcher.gentoo.org> Date: Sat, 7 May 2011 19:27:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: eaacd543a4c52f06837bbafdb1e22b0e tomka 11/05/07 19:27:32 Modified: ChangeLog Added: wicd-1.7.1_beta2-r4.ebuild Log: Fix install with Python3 as the main interpreter (Bug 365635, thx for p= atch by arfrever), fix init script to use sve-start (Bug 365767) =20 (Portage version: 2.1.9.46/cvs/Linux i686) Revision Changes Path 1.87 net-misc/wicd/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/Chan= geLog?rev=3D1.87&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/Chan= geLog?rev=3D1.87&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/Chan= geLog?r1=3D1.86&r2=3D1.87 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- ChangeLog 12 Apr 2011 18:18:26 -0000 1.86 +++ ChangeLog 7 May 2011 19:27:31 -0000 1.87 @@ -1,6 +1,13 @@ # ChangeLog for net-misc/wicd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.86 2011/0= 4/12 18:18:26 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.87 2011/0= 5/07 19:27:31 tomka Exp $ + +*wicd-1.7.1_beta2-r4 (07 May 2011) + + 07 May 2011; Thomas Kahle +wicd-1.7.1_beta2-r4.ebui= ld, + +files/wicd-init-sve-start.patch: + Fix install with Python3 as the main interpreter (Bug 365635, thx for = patch + by arfrever), fix init script to use sve-start (Bug 365767) =20 12 Apr 2011; Thomas Kahle wicd-1.7.1_beta2-r3.ebuil= d: x86 stable per bug 358715 1.1 net-misc/wicd/wicd-1.7.1_beta2-r4.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd= -1.7.1_beta2-r4.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd= -1.7.1_beta2-r4.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: wicd-1.7.1_beta2-r4.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2-r4.ebui= ld,v 1.1 2011/05/07 19:27:31 tomka Exp $ EAPI=3D3 PYTHON_DEPEND=3D"2" PYTHON_USE_WITH=3D"ncurses? xml" SUPPORT_PYTHON_ABIS=3D"1" RESTRICT_PYTHON_ABIS=3D"3.* *-jython" DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=3D"1" inherit eutils distutils MY_P=3D${P/_beta/b} S=3D"${WORKDIR}/${MY_P}" DESCRIPTION=3D"A lightweight wired and wireless network manager for Linux= " HOMEPAGE=3D"http://wicd.sourceforge.net/" SRC_URI=3D"http://downloads.wicd.net/src/testing/1.7.x/${MY_P}.tar.bz2" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~amd64 ~ppc ~ppc64 ~x86" IUSE=3D"X +gtk ioctl libnotify ncurses nls +pm-utils" DEPEND=3D"" # Maybe virtual/dhcp would work, but there are enough problems with # net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be consid= ered # first if none are installed. RDEPEND=3D" dev-python/dbus-python X? ( gtk? ( dev-python/pygtk || ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu ) ) ) || ( net-misc/dhcpcd net-misc/dhcp net-misc/pump ) net-wireless/wireless-tools net-wireless/wpa_supplicant || ( sys-apps/net-tools sys-apps/ethtool ) !gtk? ( dev-python/pygobject ) ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl ) libnotify? ( dev-python/notify-python ) ncurses? ( >=3Ddev-python/urwid-0.9.9.1 dev-python/pygobject ) pm-utils? ( >=3Dsys-power/pm-utils-1.1.1 ) " DOCS=3D"CHANGES NEWS AUTHORS README" src_prepare() { epatch "${FILESDIR}"/${P}-init.patch epatch "${FILESDIR}"/${PN}-init-sve-start.patch # Need to ensure that setup.py is run with python-2 sed -e "s:self.python =3D '/usr/bin/python':self.python =3D '/usr/bin/py= thon2':" \ -i setup.py || die "sed failed" python_copy_sources } src_configure() { local myconf use gtk || myconf=3D"${myconf} --no-install-gtk" use libnotify || myconf=3D"${myconf} --no-use-notifications" use ncurses || myconf=3D"${myconf} --no-install-ncurses" use pm-utils || myconf=3D"${myconf} --no-install-pmutils" configuration() { $(PYTHON) ./setup.py configure --no-install-docs --resume=3D/usr/share/= wicd/scripts/ --suspend=3D/usr/share/wicd/scripts/ --verbose ${myconf} } python_execute_function -s configuration } src_install() { distutils_src_install keepdir /var/lib/wicd/configurations \ || die "keepdir failed, critical for this app" keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \ || die "keepdir failed, critical for this app" keepdir /var/log/wicd \ || die "keepdir failed, critical for this app" use nls || rm -rf "${D}"/usr/share/locale } pkg_postinst() { distutils_pkg_postinst elog "You may need to restart the dbus service after upgrading wicd." echo elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:" elog "- Remove all net.* initscripts (except for net.lo) from all runlev= els" elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc= " elog "(For example, RC_PLUG_SERVICES=3D\"!net.eth0 !net.wlan0\")" # Maintainer's note: the consolekit use flag short circuits a dbus rule = and # allows the connection. Else, you need to be in the group. if ! has_version sys-auth/pambase[consolekit]; then ewarn "Wicd-1.6 and newer requires your user to be in the 'users' grou= p. If" ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wic= d.conf" fi }