diff options
author | Rick Farina <zerochaos@gentoo.org> | 2012-10-03 04:08:10 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2012-10-03 04:08:10 +0000 |
commit | e63665afdb895deb44b662072713a13d0e66201c (patch) | |
tree | 209137f2d227033a466e8f6f96e0cf28910cf067 /net-wireless/wifi-radar | |
parent | Dev channel bump. (diff) | |
download | gentoo-2-e63665afdb895deb44b662072713a13d0e66201c.tar.gz gentoo-2-e63665afdb895deb44b662072713a13d0e66201c.tar.bz2 gentoo-2-e63665afdb895deb44b662072713a13d0e66201c.zip |
force python2, drop pointless use flag, create /etc/wifi-radar, makes me happy
(Portage version: 2.1.11.23/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/wifi-radar')
-rw-r--r-- | net-wireless/wifi-radar/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/wifi-radar/wifi-radar-2.0.8-r1.ebuild | 61 |
2 files changed, 68 insertions, 3 deletions
diff --git a/net-wireless/wifi-radar/ChangeLog b/net-wireless/wifi-radar/ChangeLog index 5d0e8325d1af..fed0e2fddfeb 100644 --- a/net-wireless/wifi-radar/ChangeLog +++ b/net-wireless/wifi-radar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/wifi-radar -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifi-radar/ChangeLog,v 1.25 2011/12/04 14:38:05 hwoarang Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifi-radar/ChangeLog,v 1.26 2012/10/03 04:08:10 zerochaos Exp $ + +*wifi-radar-2.0.8-r1 (03 Oct 2012) + + 03 Oct 2012; Rick Farina <zerochaos@gentoo.org> +wifi-radar-2.0.8-r1.ebuild: + force python2, drop pointless use flag, create /etc/wifi-radar, makes me happy 04 Dec 2011; Markos Chandras <hwoarang@gentoo.org> wifi-radar-2.0.8.ebuild: Stable on amd64 wrt bug #391487 @@ -109,4 +114,3 @@ 04 Nov 2005; Michele Noberasco <s4t4n@gentoo.org> wifi-radar-1.9.4.ebuild: Initial import. Closes bug #70591. - diff --git a/net-wireless/wifi-radar/wifi-radar-2.0.8-r1.ebuild b/net-wireless/wifi-radar/wifi-radar-2.0.8-r1.ebuild new file mode 100644 index 000000000000..ad737e964136 --- /dev/null +++ b/net-wireless/wifi-radar/wifi-radar-2.0.8-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifi-radar/wifi-radar-2.0.8-r1.ebuild,v 1.1 2012/10/03 04:08:10 zerochaos Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.6" + +inherit eutils versionator python + +MY_PV="$(get_version_component_range 1-2)" +MY_PL="$(get_version_component_range 3)" +MY_PL="s0${MY_PL}" +MY_PV="${MY_PV}.${MY_PL}" + +DESCRIPTION="WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles." +HOMEPAGE="http://wifi-radar.berlios.de/" +SRC_URI="mirror://berlios/wifi-radar/wifi-radar-${MY_PV}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-python/pygtk-2.16.0-r1 + >=net-wireless/wireless-tools-29 + || ( net-misc/dhcpcd net-misc/dhcp net-misc/pump )" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_install () +{ + python_convert_shebangs -r 2 . + dosbin wifi-radar + sed "s:/etc/wpa_supplicant.conf:/etc/wpa_supplicant/wpa_supplicant.conf:" /usr/sbin/wifi-radar + dobin wifi-radar.sh + doicon -s scalable pixmaps/wifi-radar.svg + doicon -s 32 pixmaps/wifi_radar_32x32.png + doicon pixmaps/wifi-radar.png + make_desktop_entry wifi-radar.sh "WiFi Radar" wifi-radar Network + + doman man/man1/wifi-radar.1 man/man5/wifi-radar.conf.5 + + cd docs + dodoc BUGS CREDITS DEVELOPER_GUIDELINES HISTORY README README.WPA-Mini-HOWTO.txt TODO + keepdir /etc/wifi-radar +} + +pkg_postinst() +{ + einfo "Remember to edit configuration file /etc/wifi-radar.conf to suit your needs..." + echo + einfo "To use wifi-radar with a normal user (with sudo) add:" + einfo "%users ALL = /usr/sbin/wifi-radar" + einfo "in your /etc/sudoers. Also, find the line saying:" + einfo "Defaults env_reset" + einfo "and modify it as follows:" + einfo "Defaults env_keep=DISPLAY" + echo + einfo "Then launch wifi-radar.sh" + echo +} |