app-admin/pulse2-scheduler: make it EAPI2

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1061 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-04-17 19:38:52 +00:00
parent 2ce6cd972f
commit dca1d02b96
3 changed files with 50 additions and 1 deletions

View File

@ -2,6 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
* pulse2-scheduler-1.2.0-r1 (17 Apr 2009)
17 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
pulse2-scheduler-1.2.0-r1:
make it EAPI2
16 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
pulse2-scheduler-1.2.0.ebuild:
add die to do*

View File

@ -1,6 +1,7 @@
AUX pulse2-scheduler-1.2.0-python-1.patch 645 RMD160 2a9d109334f93b9f746e81e74be61fc82c291afb SHA1 f73bbdc3bbaa7ee8adb6bfcc4df711eb549bd716 SHA256 b44594ebd4017efb8da193b44a1453625da724829f1e57c5029d3bd19fb89144
AUX pulse2-scheduler.initd 501 RMD160 c50840c22f9886463bf8228d539a6143dbc46296 SHA1 67e7ad16e9c1969a8fa561aebe9949778ccf1f73 SHA256 0cd1ba84b7339ec7eaa6b57ee52f13ac96f4934c8d7a408fe327a5e1cad5147f
DIST pulse2-scheduler-1.2.0.tar.gz 38785 RMD160 d88cae5b94b50124f5d19be1478b9d80e05b3f3d SHA1 f907784e94be6827e84c3ed60b4db4cdd092bdfe SHA256 c19d1e2a67e7224b46e156cfccab980447d989b829f69c4296c1fd194282fdda
EBUILD pulse2-scheduler-1.2.0-r1.ebuild 1165 RMD160 fc833cd562b3a3548d2a6fd041e1e6b01fd43d26 SHA1 c5a1219b2a1e7aad36a6301c98ada7223b6286d7 SHA256 d3084627efc85e14294fa95dd4b116cd6c17fa1c67338baf41247d60313719e3
EBUILD pulse2-scheduler-1.2.0.ebuild 1240 RMD160 7858cc1012735e9b6279597138dd1176f78c9102 SHA1 6537baac7be2a6487d057664a5dea40211e55a92 SHA256 f7139f0bb0b5d7516d3dbb8d9116785b6ae020bfc4df3812e2f4403b7de4ff16
MISC ChangeLog 568 RMD160 41bc003730880b0e936bffb960eb8e0550c23d05 SHA1 f332a1c10c7b543e0c3bc822b6382ada77d9219b SHA256 5a22b58802295c33a08e86f181503ae873b0b15d82e0fe4ab928a632bdecf07d
MISC ChangeLog 708 RMD160 17a7baf59be5ee7c378371707c3fd62015f58d51 SHA1 132ff79455283cb249d27759dcdf2d611253370e SHA256 23eb1ccf95b4b8e49d1b64d3c18da6e8a691be9000edd8bb28fdec33d9f66ad6
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -0,0 +1,42 @@
# 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://pulse2.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"
DEPEND=">=dev-python/setuptools-0.6_rc1"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.2.0-python-1.patch
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
insinto etc/mmc/pulse2/scheduler/keys
doins -r conf/scheduler/keys/* || die "key install failed"
insinto etc/mmc/pulse2/scheduler
doins -r conf/scheduler/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-scheduler.initd pulse2-scheduler
}