diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2007-05-22 19:34:35 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2007-05-22 19:34:35 +0000 |
commit | 5758bb3c6cc3224cfc658e97431a6ec551fcd7ab (patch) | |
tree | a2b915d229a22def81caddd2b6e582a6e8b27ded /xfce-extra/pynetworkmanager | |
parent | Mask pynetworkmanager because it needs networkmanager. (diff) | |
download | historical-5758bb3c6cc3224cfc658e97431a6ec551fcd7ab.tar.gz historical-5758bb3c6cc3224cfc658e97431a6ec551fcd7ab.tar.bz2 historical-5758bb3c6cc3224cfc658e97431a6ec551fcd7ab.zip |
Python, pyxce using panel plugin client for NetworkManager.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'xfce-extra/pynetworkmanager')
-rw-r--r-- | xfce-extra/pynetworkmanager/ChangeLog | 11 | ||||
-rw-r--r-- | xfce-extra/pynetworkmanager/Manifest | 20 | ||||
-rw-r--r-- | xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.1 | 3 | ||||
-rw-r--r-- | xfce-extra/pynetworkmanager/files/pynetworkmanager-gentoo.patch | 26 | ||||
-rw-r--r-- | xfce-extra/pynetworkmanager/metadata.xml | 5 | ||||
-rw-r--r-- | xfce-extra/pynetworkmanager/pynetworkmanager-0.1.ebuild | 57 |
6 files changed, 122 insertions, 0 deletions
diff --git a/xfce-extra/pynetworkmanager/ChangeLog b/xfce-extra/pynetworkmanager/ChangeLog new file mode 100644 index 000000000000..8af515f1865c --- /dev/null +++ b/xfce-extra/pynetworkmanager/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for xfce-extra/pynetworkmanager +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/pynetworkmanager/ChangeLog,v 1.1 2007/05/22 19:34:35 drac Exp $ + +*pynetworkmanager-0.1 (22 May 2007) + + 22 May 2007; Samuli Suominen <drac@gentoo.org> + +files/pynetworkmanager-gentoo.patch, +metadata.xml, + +pynetworkmanager-0.1.ebuild: + Initial commit. + diff --git a/xfce-extra/pynetworkmanager/Manifest b/xfce-extra/pynetworkmanager/Manifest new file mode 100644 index 000000000000..2493c10ffa77 --- /dev/null +++ b/xfce-extra/pynetworkmanager/Manifest @@ -0,0 +1,20 @@ +AUX pynetworkmanager-gentoo.patch 1110 RMD160 543dfeb44316db39640e12c10975932477065338 SHA1 b665c9188e78c5cadac1b2f306e2cfede6acad51 SHA256 d4390e350bbf0da02e471c963315d8144c8de43efb05f8690880dad5dbce5c96 +MD5 ec8bb43020a4d4a58546efbce09ff910 files/pynetworkmanager-gentoo.patch 1110 +RMD160 543dfeb44316db39640e12c10975932477065338 files/pynetworkmanager-gentoo.patch 1110 +SHA256 d4390e350bbf0da02e471c963315d8144c8de43efb05f8690880dad5dbce5c96 files/pynetworkmanager-gentoo.patch 1110 +DIST pyNetworkManager-0.1.tar.bz2 36125 RMD160 11b5ad16d9a95c782c42918eb1113320c9ef9663 SHA1 c19dcbe003b7bf76ac2e2c26b63657b25c8be100 SHA256 8159dbaee925c6f4d87aa2bb592f591e5370acc99180a1739830048c28e5f37c +EBUILD pynetworkmanager-0.1.ebuild 1235 RMD160 03b1553f297722f4820b9f325b00b4c3e231764f SHA1 3c8b706081e7b5c7f327af518583c9595078ef07 SHA256 b423fbbd61df7d67cc8aa03dc71e4dd308cc2334dc6b052fbe3ad7fc9de3984b +MD5 b9b490bea57fdbed6f8cd62825f52c85 pynetworkmanager-0.1.ebuild 1235 +RMD160 03b1553f297722f4820b9f325b00b4c3e231764f pynetworkmanager-0.1.ebuild 1235 +SHA256 b423fbbd61df7d67cc8aa03dc71e4dd308cc2334dc6b052fbe3ad7fc9de3984b pynetworkmanager-0.1.ebuild 1235 +MISC ChangeLog 417 RMD160 2d28b082fb3f7d88aa0436c19d1edb33d12a11e1 SHA1 61472cb966d05ea0b86d54faeffff1f77e005e0d SHA256 60b5428faa848499708b1c1666761ab3603b70e16d3abe66fa3a0bec58fbf073 +MD5 ffca95cde8eff9522da5ee0a5b5d6b50 ChangeLog 417 +RMD160 2d28b082fb3f7d88aa0436c19d1edb33d12a11e1 ChangeLog 417 +SHA256 60b5428faa848499708b1c1666761ab3603b70e16d3abe66fa3a0bec58fbf073 ChangeLog 417 +MISC metadata.xml 157 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 SHA1 7eae91f2588bdae8667d37a98fb3090d539eeca1 SHA256 44350daa7594842894d676413708d8ea77ccb0017bed24711af5b256281f5e61 +MD5 c390804e060ffd11a5bbb143434b2b2d metadata.xml 157 +RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 metadata.xml 157 +SHA256 44350daa7594842894d676413708d8ea77ccb0017bed24711af5b256281f5e61 metadata.xml 157 +MD5 c61e12cecac2e0e2869505f22701541e files/digest-pynetworkmanager-0.1 262 +RMD160 e37e45c22e2fa100a008c96b8c58e78a8d7ba7f0 files/digest-pynetworkmanager-0.1 262 +SHA256 4d6b9db574ed6aee0abd706fda77c7a9569d5eb01bc6d1155ce2d6a4c1017090 files/digest-pynetworkmanager-0.1 262 diff --git a/xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.1 b/xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.1 new file mode 100644 index 000000000000..94f95241495b --- /dev/null +++ b/xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.1 @@ -0,0 +1,3 @@ +MD5 5f5a0d1e95176e73702ffa2cb7d233c7 pyNetworkManager-0.1.tar.bz2 36125 +RMD160 11b5ad16d9a95c782c42918eb1113320c9ef9663 pyNetworkManager-0.1.tar.bz2 36125 +SHA256 8159dbaee925c6f4d87aa2bb592f591e5370acc99180a1739830048c28e5f37c pyNetworkManager-0.1.tar.bz2 36125 diff --git a/xfce-extra/pynetworkmanager/files/pynetworkmanager-gentoo.patch b/xfce-extra/pynetworkmanager/files/pynetworkmanager-gentoo.patch new file mode 100644 index 000000000000..ab79b7d8573c --- /dev/null +++ b/xfce-extra/pynetworkmanager/files/pynetworkmanager-gentoo.patch @@ -0,0 +1,26 @@ +diff -ur pyNetworkManager-0.1.orig/pyNetworkManager.desktop pyNetworkManager-0.1/pyNetworkManager.desktop +--- pyNetworkManager-0.1.orig/pyNetworkManager.desktop 2007-05-21 00:59:53.000000000 +0300 ++++ pyNetworkManager-0.1/pyNetworkManager.desktop 2007-05-22 20:29:13.000000000 +0300 +@@ -1,8 +1,8 @@ + [Xfce Panel] + Encoding=UTF-8 +-Name=Network Mangager ++Name=Network Manager + Comment=Easy network manager also displaying network information + Icon=nm-device-wireless + Type=Panel + X-XFCE-Unique=true +-X-XFCE-Exec=/home/martin/projekt/xfce/panel/pyNetworkManager/pyNMxfcePanel.py ++X-XFCE-Exec=/usr/share/xfce4/pyNetworkManager/pyNMxfcePanel.py +diff -ur pyNetworkManager-0.1.orig/pyNetworkManager.py pyNetworkManager-0.1/pyNetworkManager.py +--- pyNetworkManager-0.1.orig/pyNetworkManager.py 2007-05-21 00:26:19.000000000 +0300 ++++ pyNetworkManager-0.1/pyNetworkManager.py 2007-05-22 20:30:08.000000000 +0300 +@@ -11,7 +11,7 @@ + # Filesystem + + # Change to suit your system. +-FILES_PATH='/home/martin/projekt/xfce/panel/pyNetworkManager/' ++FILES_PATH='/usr/share/xfce4/pyNetworkManager/' + + # DBus + # Networkmanager diff --git a/xfce-extra/pynetworkmanager/metadata.xml b/xfce-extra/pynetworkmanager/metadata.xml new file mode 100644 index 000000000000..826e2ca93209 --- /dev/null +++ b/xfce-extra/pynetworkmanager/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>xfce</herd> +</pkgmetadata> diff --git a/xfce-extra/pynetworkmanager/pynetworkmanager-0.1.ebuild b/xfce-extra/pynetworkmanager/pynetworkmanager-0.1.ebuild new file mode 100644 index 000000000000..163fbccf5f90 --- /dev/null +++ b/xfce-extra/pynetworkmanager/pynetworkmanager-0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/pynetworkmanager/pynetworkmanager-0.1.ebuild,v 1.1 2007/05/22 19:34:35 drac Exp $ + +MY_PN="${PN/n/N}" ; MY_PN="${MY_PN/m/M}" ; MY_P="${MY_PN}-${PV}" + +inherit eutils python xfce44 + +DESCRIPTION="Connects to NetworkManager through DBUS." +HOMEPAGE="http://www.tfd.chalmers.se/~mk0foma/pyNetworkManager" +SRC_URI="http://www.tfd.chalmers.se/~mk0foma/${MY_PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +RDEPEND="net-misc/networkmanager + dev-python/dbus-python + dev-python/pyxfce + dev-python/configobj" +DEPEND="" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-gentoo.patch +} + +src_compile() { + echo "Nothing to compile." +} + +src_install() { + exeinto /usr/share/xfce4/${MY_PN} + doexe *.py + + insinto /usr/share/xfce4/${MY_PN}/icons + doins icons/*.png + + insinto /usr/share/xfce4/panel-plugins + doins ${MY_PN}.desktop + + use doc && dohtml *.html *.png +} + +pkg_postinst() { + xfce44_pkg_postinst + python_mod_optimize /usr/share/xfce4/${MY_PN} +} + +pkg_postrm() { + xfce44_pkg_postrm + python_mod_cleanup /usr/share/xfce4/${MY_PN} +} |