app-admin/pulse2-launcher: delete old and make it python abi compatible

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2141 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-05-01 13:48:27 +00:00
parent 34df8f40af
commit 1597f994f8
9 changed files with 74 additions and 297 deletions

View File

@ -2,6 +2,14 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
01 May 2010; Mario Fetka <mario.fetka@gmail.com>
-pulse2-launcher-1.2.0.ebuild, -pulse2-launcher-1.2.0-r1.ebuild,
-pulse2-launcher-1.2.1_p383.ebuild, -pulse2-launcher-1.2.2_p393.ebuild,
-pulse2-launcher-1.2.3_p400.ebuild, -pulse2-launcher-1.2.4_p413.ebuild,
+pulse2-launcher-1.2.4_p413-r1.ebuild,
+files/pulse2-launcher-1.2.4-install-target-1.patch:
delete old and make it python abi compatible
18 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
pulse2-launcher-1.2.0.ebuild, pulse2-launcher-1.2.0-r1.ebuild,
pulse2-launcher-1.2.1_p383.ebuild, pulse2-launcher-1.2.2_p393.ebuild,

View File

@ -1,15 +1,7 @@
AUX pulse2-launcher-1.2.4-install-target-1.patch 2094 RMD160 f9ff46a2218e275785bb20bdfeb881800833e223 SHA1 a2c7d73ee02a7f6e6295f68d23ad1c40704f668f SHA256 94114b77dc5a0695082d45ade3b13915b169f1161eb2c4bbf203f1ff3a33c435
AUX pulse2-launchers.initd 499 RMD160 1f0437bf606ab8e2660b66df2b01abb3dc3c53f7 SHA1 c92c22ab26721d073b0fdb410a39c7d7784217ed SHA256 37e8b59a98a91663a33e1ef404ae1024aa2c96c3228452ea9ed3eb9481d70dd4
DIST pulse2-launcher-1.2.0.tar.gz 54073 RMD160 056181e67629fa4e74d9a4fe9a338de853b3d994 SHA1 000b368a6f988cbe1df5582e4bbded60ad6a65b4 SHA256 6626c3c7e64ca2785fc7d6bdad25829ae7d9737b6fd1a2570f79a6543cb5b118
DIST pulse2-launcher-1.2.1-383.tar.gz 61377 RMD160 06cbe4090874b8046b4264ec529a89e1c7bc1061 SHA1 65ffb69342e14d50242914b656970af481408a90 SHA256 60f63f5559112083492adc2f66013fb115d2d40218fba1528ffcf6dadf5f0f66
DIST pulse2-launcher-1.2.2-393.tar.gz 61079 RMD160 2c57dc8eee7d36da23e918cbb6854779d664eda1 SHA1 5f19f37bb2c4b835c05fbde7bdfbc0922d3628b1 SHA256 b1799b0a0d6f5bc946ba0097313b77af569cb2bb6f66f381ab08fba4bb84860c
DIST pulse2-launcher-1.2.3-400.tar.gz 60575 RMD160 db54d0dd20bb177ce87a7e8768507fd566336cd6 SHA1 8a91344f89b1bbe35e14be776fd183b2c61fdd2c SHA256 1d380cf73946aa7f0798c1248ce963a4a405b53cf0e56bbbc3369129794158ee
DIST pulse2-launcher-1.2.4-413.tar.gz 60664 RMD160 bdf85693747acf42bf0bedc84464d44ecf2b7b2c SHA1 e289ed285414d119b316a72bb60ac33906f08fe8 SHA256 899ebe88300e704466fd97b3295a95f45d71234dba73a7783d5d5edb5bf9f9ce
DIST wol-0.7.1.tar.gz 445648 RMD160 856fefe482db4326df47f10f07ec97396f23870d SHA1 7edd1a8c2d4baffc3b6baf8fcd12e786f9fc1fbd SHA256 e0086c9b9811df2bdf763ec9016dfb1bcb7dba9fa6d7858725b0929069a12622
EBUILD pulse2-launcher-1.2.0-r1.ebuild 1395 RMD160 b2eb2fac19d940f518ec7914681104a591b828f4 SHA1 4445d004389c33b1921795bf3bd718b83e353162 SHA256 f770c65abff77c4b6b78f860c3abdaea1012d3f85961b02d1901fd7fe687710a
EBUILD pulse2-launcher-1.2.0.ebuild 1406 RMD160 88833db6d06cf11d77332bfb4ba0eb27026ff8aa SHA1 b7285ba9ec51568776a112accc4d4ec9d4f14bfd SHA256 171a9f75daa122703c7a45144432574ce8ebdc1c6bef6929e6eb6d24b9cf1262
EBUILD pulse2-launcher-1.2.1_p383.ebuild 1522 RMD160 fe74f5203059fcaf492b429130394a4888c5e647 SHA1 1b859791d05a499e5dcf169ce00c945e9ec1955c SHA256 7c42e3639b909b252c8818d49eacaacfe61398a3201f09b36cacff85c9a7abe3
EBUILD pulse2-launcher-1.2.2_p393.ebuild 1522 RMD160 fe74f5203059fcaf492b429130394a4888c5e647 SHA1 1b859791d05a499e5dcf169ce00c945e9ec1955c SHA256 7c42e3639b909b252c8818d49eacaacfe61398a3201f09b36cacff85c9a7abe3
EBUILD pulse2-launcher-1.2.3_p400.ebuild 1522 RMD160 fe74f5203059fcaf492b429130394a4888c5e647 SHA1 1b859791d05a499e5dcf169ce00c945e9ec1955c SHA256 7c42e3639b909b252c8818d49eacaacfe61398a3201f09b36cacff85c9a7abe3
EBUILD pulse2-launcher-1.2.4_p413.ebuild 1522 RMD160 fe74f5203059fcaf492b429130394a4888c5e647 SHA1 1b859791d05a499e5dcf169ce00c945e9ec1955c SHA256 7c42e3639b909b252c8818d49eacaacfe61398a3201f09b36cacff85c9a7abe3
MISC ChangeLog 1547 RMD160 6bc75c7f2da640a126fece1b70dabbf069e9e26c SHA1 84e4c27b4eb3afb76bfba43ad42b861da7bbfee9 SHA256 888cc696bc5a73d06ee1bf1500d48ca67a082cd373cab320d385d293cfd9ddd2
EBUILD pulse2-launcher-1.2.4_p413-r1.ebuild 1261 RMD160 54f1bee55d7fd6e60bc409cd77b2015a7cdd300d SHA1 0fef767b355a987d5eb96761edead4e65fb61ec9 SHA256 48923bd9bc28df29367bfa73ccb2c5b8c72df2b97cd9ac5cd208091b5417f3d6
MISC ChangeLog 1957 RMD160 b15c5cabae386b5596a67969f70e68841a4881f5 SHA1 b2ec1ba8a93407f88450f63aa69431e3276633e5 SHA256 3ea0ad6ce27fd153ad906b45a8df002a0e48348ed4ac39090170c14e13f85d35
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -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 targets
diff -Naur pulse2-launcher-1.2.4.orig/Makefile pulse2-launcher-1.2.4/Makefile
--- pulse2-launcher-1.2.4.orig/Makefile 2008-09-16 16:30:24.000000000 +0000
+++ pulse2-launcher-1.2.4/Makefile 2010-05-01 13:48:25.109871610 +0000
@@ -52,25 +52,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)/launchers.ini ] && mv -f $(DESTDIR)$(ETCDIR)/launchers.ini $(DESTDIR)$(ETCDIR)/launchers.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)/launchers.ini ] && mv -f $(DESTDIR)$(ETCDIR)/launchers.ini $(DESTDIR)$(ETCDIR)/launchers.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/launchers/launchers.ini -m 600 -o root -g root $(DESTDIR)$(ETCDIR)

View File

@ -1,52 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit distutils
WOL_PV="0.7.1"
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
mirror://sourceforge/ahh/wol-${WOL_PV}.tar.gz"
LICENSE="GPL-2"
# other keywords based on net-misc/wol
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
IUSE=""
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_configure() {
cd ../wol-${WOL_PV}
econf || die "configure failed"
}
src_compile() {
cd ../wol-${WOL_PV}
emake || die "make failed"
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol || die "sbin install failed"
insinto etc/mmc/pulse2/launchers/keys
doins -r conf/launchers/keys/* || die "key install failed"
insinto etc/mmc/pulse2/launchers
doins -r conf/launchers/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config sample install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers
}

View File

@ -1,51 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils
WOL_PV="0.7.1"
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
mirror://sourceforge/ahh/wol-${WOL_PV}.tar.gz"
LICENSE="GPL-2"
# other keywords based on net-misc/wol
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
IUSE=""
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_compile() {
cd ../wol-${WOL_PV}
econf || die "configure failed"
emake || die "make failed"
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol || die "sbin install failed"
insinto etc/mmc/pulse2/launchers/keys
doins -r conf/launchers/keys/* || die "key install failed"
insinto etc/mmc/pulse2/launchers
doins -r conf/launchers/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config sample install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers
}
src_test() {
"${python}" setup.py test || die "tests failed"
}

View File

@ -1,57 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit distutils
WOL_PV="0.7.1"
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
mirror://sourceforge/ahh/wol-${WOL_PV}.tar.gz
http://ftp.mars.arge.at/mds/${MY_P}.tar.gz"
LICENSE="GPL-2"
# other keywords based on net-misc/wol
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
IUSE=""
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}"
src_configure() {
cd ../wol-${WOL_PV}
econf || die "configure failed"
}
src_compile() {
cd ../wol-${WOL_PV}
emake || die "make failed"
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol || die "sbin install failed"
insinto etc/mmc/pulse2/launchers/keys
doins -r conf/launchers/keys/* || die "key install failed"
insinto etc/mmc/pulse2/launchers
doins -r conf/launchers/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config sample install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers
}

View File

@ -1,57 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit distutils
WOL_PV="0.7.1"
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
mirror://sourceforge/ahh/wol-${WOL_PV}.tar.gz
http://ftp.mars.arge.at/mds/${MY_P}.tar.gz"
LICENSE="GPL-2"
# other keywords based on net-misc/wol
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
IUSE=""
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}"
src_configure() {
cd ../wol-${WOL_PV}
econf || die "configure failed"
}
src_compile() {
cd ../wol-${WOL_PV}
emake || die "make failed"
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol || die "sbin install failed"
insinto etc/mmc/pulse2/launchers/keys
doins -r conf/launchers/keys/* || die "key install failed"
insinto etc/mmc/pulse2/launchers
doins -r conf/launchers/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config sample install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers
}

View File

@ -1,57 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit distutils
WOL_PV="0.7.1"
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
mirror://sourceforge/ahh/wol-${WOL_PV}.tar.gz
http://ftp.mars.arge.at/mds/${MY_P}.tar.gz"
LICENSE="GPL-2"
# other keywords based on net-misc/wol
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
IUSE=""
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}"
src_configure() {
cd ../wol-${WOL_PV}
econf || die "configure failed"
}
src_compile() {
cd ../wol-${WOL_PV}
emake || die "make failed"
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol || die "sbin install failed"
insinto etc/mmc/pulse2/launchers/keys
doins -r conf/launchers/keys/* || die "key install failed"
insinto etc/mmc/pulse2/launchers
doins -r conf/launchers/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config sample install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers
}

View File

@ -4,7 +4,7 @@
EAPI="2"
inherit distutils
inherit eutils distutils
WOL_PV="0.7.1"
MY_P="${P/_p/-}"
@ -14,7 +14,7 @@ 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
mirror://sourceforge/ahh/wol-${WOL_PV}.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"
# other keywords based on net-misc/wol
@ -26,10 +26,13 @@ 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}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.2.4-install-target-1.patch
distutils_src_prepare
}
src_configure() {
cd ../wol-${WOL_PV}
econf || die "configure failed"
@ -42,15 +45,9 @@ src_compile() {
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
emake install_nopy PREFIX=/usr DESTDIR=${D}
distutils_src_install
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol || die "sbin install failed"
insinto etc/mmc/pulse2/launchers/keys
doins -r conf/launchers/keys/* || die "key install failed"
insinto etc/mmc/pulse2/launchers
doins -r conf/launchers/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config sample install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers