From 0e06dfc88b32317703d0ffd0013f06532c666f61 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 1 May 2010 14:10:30 +0000 Subject: [PATCH] app-admin/pulse2-scheduler: delete old and make it python abi compatible git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2144 6952d904-891a-0410-993b-d76249ca496b --- app-admin/pulse2-scheduler/ChangeLog | 9 ++++ app-admin/pulse2-scheduler/Manifest | 15 ++---- .../pulse2-scheduler-1.2.0-python-1.patch | 19 ------- ...se2-scheduler-1.2.4-install-target-1.patch | 54 +++++++++++++++++++ .../pulse2-scheduler-1.2.0-r1.ebuild | 42 --------------- .../pulse2-scheduler-1.2.0.ebuild | 46 ---------------- .../pulse2-scheduler-1.2.1_p378.ebuild | 44 --------------- .../pulse2-scheduler-1.2.3_p432.ebuild | 44 --------------- ... => pulse2-scheduler-1.2.4_p483-r1.ebuild} | 23 ++++---- .../pulse2-scheduler-1.2.4_p483.ebuild | 44 --------------- 10 files changed, 76 insertions(+), 264 deletions(-) delete mode 100644 app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.0-python-1.patch create mode 100644 app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.4-install-target-1.patch delete mode 100644 app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0-r1.ebuild delete mode 100644 app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0.ebuild delete mode 100644 app-admin/pulse2-scheduler/pulse2-scheduler-1.2.1_p378.ebuild delete mode 100644 app-admin/pulse2-scheduler/pulse2-scheduler-1.2.3_p432.ebuild rename app-admin/pulse2-scheduler/{pulse2-scheduler-1.2.2_p385.ebuild => pulse2-scheduler-1.2.4_p483-r1.ebuild} (55%) delete mode 100644 app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483.ebuild diff --git a/app-admin/pulse2-scheduler/ChangeLog b/app-admin/pulse2-scheduler/ChangeLog index 1ff9bfa..673ea1f 100644 --- a/app-admin/pulse2-scheduler/ChangeLog +++ b/app-admin/pulse2-scheduler/ChangeLog @@ -2,6 +2,15 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 01 May 2010; Mario Fetka + -pulse2-scheduler-1.2.0.ebuild, -pulse2-scheduler-1.2.0-r1.ebuild, + -files/pulse2-scheduler-1.2.0-python-1.patch, + -pulse2-scheduler-1.2.1_p378.ebuild, -pulse2-scheduler-1.2.2_p385.ebuild, + -pulse2-scheduler-1.2.3_p432.ebuild, -pulse2-scheduler-1.2.4_p483.ebuild, + +pulse2-scheduler-1.2.4_p483-r1.ebuild, + +files/pulse2-scheduler-1.2.4-install-target-1.patch: + delete old and make it python abi compatible + 18 Feb 2010; Mario Fetka pulse2-scheduler-1.2.0.ebuild, pulse2-scheduler-1.2.0-r1.ebuild, pulse2-scheduler-1.2.1_p378.ebuild, pulse2-scheduler-1.2.2_p385.ebuild, diff --git a/app-admin/pulse2-scheduler/Manifest b/app-admin/pulse2-scheduler/Manifest index 60fbb29..49da6c3 100644 --- a/app-admin/pulse2-scheduler/Manifest +++ b/app-admin/pulse2-scheduler/Manifest @@ -1,15 +1,6 @@ -AUX pulse2-scheduler-1.2.0-python-1.patch 645 RMD160 2a9d109334f93b9f746e81e74be61fc82c291afb SHA1 f73bbdc3bbaa7ee8adb6bfcc4df711eb549bd716 SHA256 b44594ebd4017efb8da193b44a1453625da724829f1e57c5029d3bd19fb89144 +AUX pulse2-scheduler-1.2.4-install-target-1.patch 2097 RMD160 0a4ad41a343ea932e860c4ae551949cf217ad7a6 SHA1 45fe4152009af3528ada672384e29372a76b4081 SHA256 8668f9e2fe301b0338f799198ea697ef2d4b8ddf283504b9b76eb3d67d0d0be9 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 -DIST pulse2-scheduler-1.2.1-378.tar.gz 47432 RMD160 fcacad3b617849d34e276987d8eb7064228f0a69 SHA1 69de27097b464b56801baa155ce65e7ec4e971e8 SHA256 98fef088611514467dc740987c73b1ee7b8b7b410758569ada7612a74428271f -DIST pulse2-scheduler-1.2.2-385.tar.gz 47430 RMD160 d553c6980918fe450628b8316c75b75ce46a47fd SHA1 1c15a60fd92c9c542c8e12bde15fcf102c52d8fd SHA256 a2e68117567a0a433ad91d5bb5f54d154c6c78948bc83d03963a4f37f04ff06d -DIST pulse2-scheduler-1.2.3-432.tar.gz 49111 RMD160 ce9dca33ce628e864aa6cc09dbe2174a71cd4d74 SHA1 473374bd9087f115cd2f4de0759e593fba3438d6 SHA256 51a9de5e77031b6bc740c2440b144994195ce9b767f2e079de9890d8567bb846 DIST pulse2-scheduler-1.2.4-483.tar.gz 53876 RMD160 7d943170adfb274dbce02ccf3ddf745180ce82ce SHA1 55641d892a46606d4fa7676a94feab66e5956218 SHA256 98fef9f5a4b3719cfcf8e3af8e292599d96920e26fde9e0f865f329113062a6a -EBUILD pulse2-scheduler-1.2.0-r1.ebuild 1170 RMD160 0de4d1dd037acf6495f48ca6aea8c36b37050ca3 SHA1 63966bf510e8468d26a6b05c19058a843607eba1 SHA256 764e4e2ca3f256d970fca861c017ce123e467e228612f422aca06ae8616cd2ce -EBUILD pulse2-scheduler-1.2.0.ebuild 1245 RMD160 553a4f4f504a6682e5c10b1addf03a6f129b55f9 SHA1 f12db10a9160ccac9bde656772d990c63067a41e SHA256 c0727fb4158b615e721c0e326602e54e13c3327a4a0a136fcc53a2d51128a51c -EBUILD pulse2-scheduler-1.2.1_p378.ebuild 1230 RMD160 de1cf8222a545e493fdab7fd7c3eaad10c8c143d SHA1 c08285719695dd57e2bab211316fca9aa861b7aa SHA256 8cf1f124fd469e7d352c461c1a942267a8e4760dbc54d3196d9ca19ae1ebd7cc -EBUILD pulse2-scheduler-1.2.2_p385.ebuild 1230 RMD160 de1cf8222a545e493fdab7fd7c3eaad10c8c143d SHA1 c08285719695dd57e2bab211316fca9aa861b7aa SHA256 8cf1f124fd469e7d352c461c1a942267a8e4760dbc54d3196d9ca19ae1ebd7cc -EBUILD pulse2-scheduler-1.2.3_p432.ebuild 1230 RMD160 de1cf8222a545e493fdab7fd7c3eaad10c8c143d SHA1 c08285719695dd57e2bab211316fca9aa861b7aa SHA256 8cf1f124fd469e7d352c461c1a942267a8e4760dbc54d3196d9ca19ae1ebd7cc -EBUILD pulse2-scheduler-1.2.4_p483.ebuild 1230 RMD160 de1cf8222a545e493fdab7fd7c3eaad10c8c143d SHA1 c08285719695dd57e2bab211316fca9aa861b7aa SHA256 8cf1f124fd469e7d352c461c1a942267a8e4760dbc54d3196d9ca19ae1ebd7cc -MISC ChangeLog 1461 RMD160 aa5b734a8f5e61dd23d5ccf553b29c9fabd9bed8 SHA1 546818ce3fefbeba99a0c4ac7ff2aae548fdc2d7 SHA256 8b7446fb647812821904082b43ead7333f90392a1ef55261288c7d8391003513 +EBUILD pulse2-scheduler-1.2.4_p483-r1.ebuild 956 RMD160 3e761ec7ae1f579cc5424238157473a55e1a4994 SHA1 59247c4a10b10ac8f2e99be7a35bf0cad4c88406 SHA256 6fccfc5204dd9aff8b1dffade4e353f20b654366dd43c990c997bb928b448cf0 +MISC ChangeLog 1927 RMD160 3454e310808a9c2d8abed9aaf2c9a717c004c951 SHA1 25657d587e9aa012704be9544e8ada11bfeb9397 SHA256 8bc116eb61fa357cd4968e97d8d58cd31f2253938b94e35efba674d53fd6fbc6 MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.0-python-1.patch b/app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.0-python-1.patch deleted file mode 100644 index 5618350..0000000 --- a/app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.0-python-1.patch +++ /dev/null @@ -1,19 +0,0 @@ -Submitted By: Mario Fetka (mario dot fetka at gmail dot com) -Date: 2009-04-07 -Initial Package Version: 1.2.0 -Origin: me -Upstream Status: corrected -Description: correct setup.py package name typo - -diff -Naur pulse2-scheduler-1.2.0.orig/setup.py pulse2-scheduler-1.2.0/setup.py ---- pulse2-scheduler-1.2.0.orig/setup.py 2008-12-09 18:35:55.000000000 +0000 -+++ pulse2-scheduler-1.2.0/setup.py 2009-04-07 14:16:31.103465380 +0000 -@@ -23,7 +23,7 @@ - from distutils.core import setup - - setup( -- name = "pulse2-launcher", -+ name = "pulse2-scheduler", - version = "1.0", - url = "http://pulse2.mandriva.org", - author = "Nicolas Rueff", diff --git a/app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.4-install-target-1.patch b/app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.4-install-target-1.patch new file mode 100644 index 0000000..1752f58 --- /dev/null +++ b/app-admin/pulse2-scheduler/files/pulse2-scheduler-1.2.4-install-target-1.patch @@ -0,0 +1,54 @@ +Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com) +Date: 2010-05-01 +Initial Package Version: 1.2.4 +Origin: me +Upstream Status: unknown +Description: split install target + +diff -Naur pulse2-scheduler-1.2.4.orig/Makefile pulse2-scheduler-1.2.4/Makefile +--- pulse2-scheduler-1.2.4.orig/Makefile 2008-07-17 09:15:28.000000000 +0000 ++++ pulse2-scheduler-1.2.4/Makefile 2010-05-01 14:13:26.490870633 +0000 +@@ -51,25 +51,38 @@ + @echo "Nothing to do" + + # Install everything +-install: ++install: install_py install_sbin install_cfg + @# Install directories + @echo "" + @echo "Move old configuration files to $(DESTDIR)$(ETCDIR)$(BACKUP)" + -[ -f $(DESTDIR)$(ETCDIR)/scheduler.ini ] && mv -f $(DESTDIR)$(ETCDIR)/scheduler.ini $(DESTDIR)$(ETCDIR)/scheduler.ini$(BACKUP) ++ ++install_nopy: install_sbin install_cfg ++ @# Install directories + @echo "" +- @echo "Creating directories..." +- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(SBINDIR) +- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR) +- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(PYTHON_PREFIX) ++ @echo "Move old configuration files to $(DESTDIR)$(ETCDIR)$(BACKUP)" ++ # -[ -f $(DESTDIR)$(ETCDIR)/scheduler.ini ] && mv -f $(DESTDIR)$(ETCDIR)/scheduler.ini $(DESTDIR)$(ETCDIR)/scheduler.ini$(BACKUP) + ++install_py: ++ @echo "" ++ @echo "Creating python directories..." ++ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(PYTHON_PREFIX) + @echo "" + @echo "Install python code in $(DESTDIR)$(PYTHON_PREFIX)" + $(PYTHON) setup.py install --no-compile --prefix $(DESTDIR)$(PYTHON_PREFIX) + ++install_sbin: ++ @echo "" ++ @echo "Creating sbin directories..." ++ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(SBINDIR) + @echo "" + @echo "Install SBINFILES in $(DESTDIR)$(SBINDIR)" + $(INSTALL) $(SBINFILES) -m 755 -o root -g root $(DESTDIR)$(SBINDIR) + ++install_cfg: ++ @echo "" ++ @echo "Creating config directories..." ++ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR) + @echo "" + @echo "Install CONFILES in $(DESTDIR)$(ETCDIR)" + $(INSTALL) conf/scheduler/scheduler.ini -m 600 -o root -g root $(DESTDIR)$(ETCDIR) diff --git a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0-r1.ebuild b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0-r1.ebuild deleted file mode 100644 index 9c7da34..0000000 --- a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2010 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 ~arm ~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 -} - diff --git a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0.ebuild b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0.ebuild deleted file mode 100644 index 215a014..0000000 --- a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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 ~arm ~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_unpack() { - unpack ${A} - cd "${S}" - 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 -} - -src_test() { - "${python}" setup.py test || die "tests failed" -} - diff --git a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.1_p378.ebuild b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.1_p378.ebuild deleted file mode 100644 index 73027eb..0000000 --- a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.1_p378.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit distutils - -MY_P="${P/_p/-}" -MY_PV="${PV/_p*/}" - -DESCRIPTION="Open Source Computer System Management and its Python plugins." -HOMEPAGE="http://pulse2.mandriva.org/" -SRC_URI="http://pulse2.mandriva.org/pub/pulse2/server/sources/${MY_PV}/${MY_P}.tar.gz - http://ftp.mars.arge.at/mds/${MY_P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="nls" - -SLOT="0" - -RDEPEND=">=dev-python/twisted-web-0.7.0 - >=app-admin/pulse2-common-${MY_PV}" - -DEPEND=">=dev-python/setuptools-0.6_rc1" - -S="${WORKDIR}/${PN}-${MY_PV}" - -# 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 -} - diff --git a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.3_p432.ebuild b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.3_p432.ebuild deleted file mode 100644 index 73027eb..0000000 --- a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.3_p432.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit distutils - -MY_P="${P/_p/-}" -MY_PV="${PV/_p*/}" - -DESCRIPTION="Open Source Computer System Management and its Python plugins." -HOMEPAGE="http://pulse2.mandriva.org/" -SRC_URI="http://pulse2.mandriva.org/pub/pulse2/server/sources/${MY_PV}/${MY_P}.tar.gz - http://ftp.mars.arge.at/mds/${MY_P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="nls" - -SLOT="0" - -RDEPEND=">=dev-python/twisted-web-0.7.0 - >=app-admin/pulse2-common-${MY_PV}" - -DEPEND=">=dev-python/setuptools-0.6_rc1" - -S="${WORKDIR}/${PN}-${MY_PV}" - -# 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 -} - diff --git a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.2_p385.ebuild b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483-r1.ebuild similarity index 55% rename from app-admin/pulse2-scheduler/pulse2-scheduler-1.2.2_p385.ebuild rename to app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483-r1.ebuild index 73027eb..7129481 100644 --- a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.2_p385.ebuild +++ b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483-r1.ebuild @@ -3,8 +3,9 @@ # $Header: $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" -inherit distutils +inherit eutils distutils MY_P="${P/_p/-}" MY_PV="${PV/_p*/}" @@ -12,7 +13,7 @@ MY_PV="${PV/_p*/}" DESCRIPTION="Open Source Computer System Management and its Python plugins." HOMEPAGE="http://pulse2.mandriva.org/" SRC_URI="http://pulse2.mandriva.org/pub/pulse2/server/sources/${MY_PV}/${MY_P}.tar.gz - http://ftp.mars.arge.at/mds/${MY_P}.tar.gz" + http://ftp.disconnected-by-peer.at/mds/${MY_P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" @@ -23,20 +24,16 @@ SLOT="0" RDEPEND=">=dev-python/twisted-web-0.7.0 >=app-admin/pulse2-common-${MY_PV}" -DEPEND=">=dev-python/setuptools-0.6_rc1" - S="${WORKDIR}/${PN}-${MY_PV}" -# from marienz's setuptools.eclass: +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.2.4-install-target-1.patch + distutils_src_prepare +} + 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" + emake install_nopy PREFIX=/usr DESTDIR=${D} + distutils_src_install dodoc Changelog newinitd "${FILESDIR}"/pulse2-scheduler.initd pulse2-scheduler diff --git a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483.ebuild b/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483.ebuild deleted file mode 100644 index 73027eb..0000000 --- a/app-admin/pulse2-scheduler/pulse2-scheduler-1.2.4_p483.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit distutils - -MY_P="${P/_p/-}" -MY_PV="${PV/_p*/}" - -DESCRIPTION="Open Source Computer System Management and its Python plugins." -HOMEPAGE="http://pulse2.mandriva.org/" -SRC_URI="http://pulse2.mandriva.org/pub/pulse2/server/sources/${MY_PV}/${MY_P}.tar.gz - http://ftp.mars.arge.at/mds/${MY_P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="nls" - -SLOT="0" - -RDEPEND=">=dev-python/twisted-web-0.7.0 - >=app-admin/pulse2-common-${MY_PV}" - -DEPEND=">=dev-python/setuptools-0.6_rc1" - -S="${WORKDIR}/${PN}-${MY_PV}" - -# 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 -} -