add pulse2 mmc modules
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@940 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
3
app-admin/pulse2-mmc-plugins/Manifest
Normal file
3
app-admin/pulse2-mmc-plugins/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST pulse2-mmc-plugins-1.2.0.tar.gz 132136 RMD160 e3c85e87c7f51768311584ca17b32c7277866fcf SHA1 c0705b608f0fb448fc858c80d311d52dcde0cbc9 SHA256 395f4e12d537eb8063e23fd1d2152bcb3a8326933bb7aa0074f8cf34a97cc2ec
|
||||
EBUILD pulse2-mmc-plugins-1.2.0.ebuild 1232 RMD160 edaed42715011ad9a6fcc6f43cf6250e960bc31c SHA1 0014c02b604bcb893767b2d44180830d70ba013d SHA256 4e3f3a7326391a23066452f5c1d72c7653f52ff790bf31c163f1397e0e88a8f3
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
||||
34
app-admin/pulse2-mmc-plugins/metadata.xml
Normal file
34
app-admin/pulse2-mmc-plugins/metadata.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!--
|
||||
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
|
||||
|
||||
This is the example metadata file.
|
||||
The root element of this file is <pkgmetadata>. Within this element a
|
||||
number of subelements are allowed: herd, maintainer, and
|
||||
longdescription. herd is a required subelement.
|
||||
|
||||
For a full description look at:
|
||||
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
|
||||
|
||||
|
||||
Before committing, please remove the comments from this file. They are
|
||||
not relevant for general metadata.xml files.
|
||||
-->
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>@gentoo.org</email>
|
||||
<!-- <description>Description of the maintainership</description> -->
|
||||
</maintainer>
|
||||
<!-- <longdescription>Long description of the package</longdescription> -->
|
||||
<!--
|
||||
<use>
|
||||
<flag name='flag'>Description of how USE='flag' affects this package</flag>
|
||||
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
|
||||
package</flag>
|
||||
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
|
||||
Requires an installed dictionary from <cat>app-dicts</cat></flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
||||
44
app-admin/pulse2-mmc-plugins/pulse2-mmc-plugins-1.2.0.ebuild
Normal file
44
app-admin/pulse2-mmc-plugins/pulse2-mmc-plugins-1.2.0.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit distutils
|
||||
|
||||
# ESVN_REPO_URI="http://mds.mandriva.org/svn/mmc-agent"
|
||||
DESCRIPTION="The pulse2 mmc 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="~amd64 ~ppc64 ~x86"
|
||||
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
|
||||
# insinto etc/pulse2/plugins
|
||||
# doins -r conf/plugins/*.ini
|
||||
insinto usr/share/doc/${P}
|
||||
doins -r contrib
|
||||
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"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${python}" setup.py test || die "tests failed"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user