From 3ff330ef4562f6ca23299ff7dd757e8acba2f1dd Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 17 Apr 2009 19:33:53 +0000 Subject: [PATCH] app-admin/pulse2-mmc-plugins: make it EAPI2 git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1059 6952d904-891a-0410-993b-d76249ca496b --- app-admin/pulse2-mmc-plugins/ChangeLog | 6 +++ app-admin/pulse2-mmc-plugins/Manifest | 3 +- .../pulse2-mmc-plugins-1.2.0-r1.ebuild | 39 +++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 app-admin/pulse2-mmc-plugins/pulse2-mmc-plugins-1.2.0-r1.ebuild diff --git a/app-admin/pulse2-mmc-plugins/ChangeLog b/app-admin/pulse2-mmc-plugins/ChangeLog index 5df5f11..5138fea 100644 --- a/app-admin/pulse2-mmc-plugins/ChangeLog +++ b/app-admin/pulse2-mmc-plugins/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +* pulse2-mmc-plugins-1.2.0-r1 (17 Apr 2009) + + 17 Apr 2009; Mario Fetka + pulse2-mmc-plugins-1.2.0-r1: + make it EAPI2 + 16 Apr 2009; Mario Fetka pulse2-mmc-plugins-1.2.0.ebuild: correct DESCRIPTION diff --git a/app-admin/pulse2-mmc-plugins/Manifest b/app-admin/pulse2-mmc-plugins/Manifest index cca0423..48b1edd 100644 --- a/app-admin/pulse2-mmc-plugins/Manifest +++ b/app-admin/pulse2-mmc-plugins/Manifest @@ -1,4 +1,5 @@ DIST pulse2-mmc-plugins-1.2.0.tar.gz 132136 RMD160 e3c85e87c7f51768311584ca17b32c7277866fcf SHA1 c0705b608f0fb448fc858c80d311d52dcde0cbc9 SHA256 395f4e12d537eb8063e23fd1d2152bcb3a8326933bb7aa0074f8cf34a97cc2ec +EBUILD pulse2-mmc-plugins-1.2.0-r1.ebuild 1182 RMD160 f8989d6c77c71eae66a4d20b479affcded3f60f5 SHA1 551d97e77d4455ad8609939034fcb60e7489b830 SHA256 20cabf7fd89b68db74b4c234c4ff8c010aec9b52b6009d7fd5f9c874bf21b8aa EBUILD pulse2-mmc-plugins-1.2.0.ebuild 1237 RMD160 747aae504192eca966337f756be9fde3fbf8309a SHA1 b985cb38fbfd5da28f219e832666cb787e405119 SHA256 6a0128e490d0446566799d363c33fdbf8b2a1130471d1a408cf9a5be727a8a5e -MISC ChangeLog 648 RMD160 0bb8d4a0c15efb323bbbdf0ea4c5fb9084a9695d SHA1 f9650782ef96efae19d6c7f02ff78421f6514f22 SHA256 5359925c935c853aa3de199748f7949025f8faeaa81ee7f6cdb2f3441b2ebc89 +MISC ChangeLog 792 RMD160 34a75e38fee36e4a5b9281cd1525c6f203d5d964 SHA1 8a63751ca77c78e085c90313cd2fd69858493d3e SHA256 dd2f0d5c4e91ad9063c4e45fb64df95ef5fb6657a5ff1546c2fca6839eb59a07 MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/app-admin/pulse2-mmc-plugins/pulse2-mmc-plugins-1.2.0-r1.ebuild b/app-admin/pulse2-mmc-plugins/pulse2-mmc-plugins-1.2.0-r1.ebuild new file mode 100644 index 0000000..30f7d77 --- /dev/null +++ b/app-admin/pulse2-mmc-plugins/pulse2-mmc-plugins-1.2.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit distutils + +DESCRIPTION="Open Source Computer System Management and its Python plugins." +HOMEPAGE="http://pulse2.mandriva.org/" +SRC_URI="http://mds.mandriva.org/pub/pulse2/sources/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="nls" + +SLOT="0" + +RDEPEND=">=dev-python/twisted-web-0.7.0 + >=app-admin/pulse2-common-1.2.0 + >=app-admin/mmc-agent-2.3.1" + +DEPEND=">=dev-python/setuptools-0.6_rc1" + +# from marienz's setuptools.eclass: +src_install() { + "${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed" + insinto etc/mmc/plugins + doins -r conf/plugins/*.ini || die "ini install failed" + insinto usr/share/doc/${P} + doins -r contrib || die "config samples install failed" + dodoc Changelog + python_version + # we need to remove this file because it collides with the one + # from mmc-agent (which we depend on). + rm "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/mmc/__init__.py" + rm "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/mmc/plugins/__init__.py" +} +