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

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2143 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-05-01 14:01:17 +00:00
parent 1de4f19c4a
commit 83bbbbc319
9 changed files with 78 additions and 234 deletions

View File

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

View File

@ -1,14 +1,6 @@
AUX pulse2-package-server-1.2.4-install-target-1.patch 2142 RMD160 3987057973e33490f3b9e8d13fdd68c58c033b47 SHA1 d4d902b51aaa4370ee3a6981b401738bd8b340cb SHA256 aca92ff00d6fff131f8157e79759d8b97d7c49427e9aea90f27d9036aabadc0d
AUX pulse2-package-server.initd 502 RMD160 d59eabd0b308763f84c5c1122d3be51efa9b936b SHA1 8baca6587a44a0e5a703cbbdcb49d7047bbf830b SHA256 fdbeb24053631223c1634e85712d16b24d177a0309d2bacb28562ca02e7fe4e4 AUX pulse2-package-server.initd 502 RMD160 d59eabd0b308763f84c5c1122d3be51efa9b936b SHA1 8baca6587a44a0e5a703cbbdcb49d7047bbf830b SHA256 fdbeb24053631223c1634e85712d16b24d177a0309d2bacb28562ca02e7fe4e4
DIST pulse2-package-server-1.2.0.tar.gz 43959 RMD160 8bf50fe814e1d621b5444eecb66ff3028bb262e9 SHA1 1e09bb177d799345cc0d72007694b952f62a7b90 SHA256 6c8f2d900afd14a5edf414305fa5cafc01096eb454d2448b1f7f6903beb21132
DIST pulse2-package-server-1.2.1-411.tar.gz 48536 RMD160 383a443eeacfd737479078666e6fde6849f32ec3 SHA1 853d4a5f8442fe7bedb0732b23c3fe6c4b9b04b8 SHA256 769cd2f115f6761abe38cbee115c7e61e6f0fd3204a5e1330b6bc8669e988c9a
DIST pulse2-package-server-1.2.2-417.tar.gz 48516 RMD160 b81ed7caeda8752d1adc423293283650b1bb8977 SHA1 306f2d432c76cd66975c55e9fa9a05e97aa3d5d9 SHA256 d35761963b1a0e7e76d481b075bf1c70e6f22628fb2d8f09eadcf477af8f6e8c
DIST pulse2-package-server-1.2.3-436.tar.gz 47782 RMD160 bcb88ba6007014149d5cb41d882fd3e890db3e65 SHA1 49981078fe3b8155cd4c4099cc44b41620f4c530 SHA256 f3a65341135b576ec105dc4299ba543f709a148021cce339bc3c451772557c12
DIST pulse2-package-server-1.2.4-458.tar.gz 48600 RMD160 bf034ed6861c18d5fb972d93cc7a7546e3ca5e41 SHA1 6cbc5ada0f6e0611ebbe62c17a646923857d3d1e SHA256 5a1c31cd97bb26af5406876a96bef0a2b7599366eda066b3ba3d9fded284af0c DIST pulse2-package-server-1.2.4-458.tar.gz 48600 RMD160 bf034ed6861c18d5fb972d93cc7a7546e3ca5e41 SHA1 6cbc5ada0f6e0611ebbe62c17a646923857d3d1e SHA256 5a1c31cd97bb26af5406876a96bef0a2b7599366eda066b3ba3d9fded284af0c
EBUILD pulse2-package-server-1.2.0-r1.ebuild 1105 RMD160 319125110c5ae69a2777b3e86873415793af3370 SHA1 7c7d545c7bc06881b7ae5f0322e88441b7a92328 SHA256 c4af467d4e55ea9ed576a3f783c3131e4754aa7d445e8061c78eba6f6675e6a0 EBUILD pulse2-package-server-1.2.4_p458-r1.ebuild 963 RMD160 7006fb3ae8a1b78e679f3996b7ba2f0c9e78d348 SHA1 bd3e0d8fd926b70272acaaa514b3f3883fc92611 SHA256 fd10278ab548e7cb7a53cfa8a402f336b66780d4e3f62640226782dd712f4cbd
EBUILD pulse2-package-server-1.2.0.ebuild 1157 RMD160 f54a20970e74c7d2d1dfa1d93fa25e9e436f788e SHA1 0781a64a94ed6302a057ed54182783e6e056ca32 SHA256 794ea0e78ccc6023a98f5eada923b85422c0d1c4cc2a01fedb69d924253ab460 MISC ChangeLog 2019 RMD160 00e7d93e3959a04db8b9219c2df2377c695383dc SHA1 c49db85a4af5e94e13268189729d23ca299f5438 SHA256 8e7641c398550b98593ab9070b55a5d2e3cbcbc323c479296f261b2a31ca5e1f
EBUILD pulse2-package-server-1.2.1_p411.ebuild 1233 RMD160 41d7801601b391db7e35f3b8377c8deafc3bd276 SHA1 c859c6fc7f54972a86c434239bd829106e6eae6c SHA256 71ee8934ecf7dbb501f926ff20f86db3ee067932308e83a7819a0d72272bdfe2
EBUILD pulse2-package-server-1.2.2_p417.ebuild 1233 RMD160 41d7801601b391db7e35f3b8377c8deafc3bd276 SHA1 c859c6fc7f54972a86c434239bd829106e6eae6c SHA256 71ee8934ecf7dbb501f926ff20f86db3ee067932308e83a7819a0d72272bdfe2
EBUILD pulse2-package-server-1.2.3_p436.ebuild 1233 RMD160 41d7801601b391db7e35f3b8377c8deafc3bd276 SHA1 c859c6fc7f54972a86c434239bd829106e6eae6c SHA256 71ee8934ecf7dbb501f926ff20f86db3ee067932308e83a7819a0d72272bdfe2
EBUILD pulse2-package-server-1.2.4_p458.ebuild 1233 RMD160 41d7801601b391db7e35f3b8377c8deafc3bd276 SHA1 c859c6fc7f54972a86c434239bd829106e6eae6c SHA256 71ee8934ecf7dbb501f926ff20f86db3ee067932308e83a7819a0d72272bdfe2
MISC ChangeLog 1555 RMD160 81c2901771ac82c105b868fc21cc62e519bf5aee SHA1 f9e0880afd3d31cc961b7af2d0e1bf879ae7c6ea SHA256 7ff27481c002b3c62df85e0f146f5b269a94fae44dba340007a34ccbe77e3b21
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 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 target
diff -Naur pulse2-package-server-1.2.4.orig/Makefile pulse2-package-server-1.2.4/Makefile
--- pulse2-package-server-1.2.4.orig/Makefile 2009-01-19 13:06:13.000000000 +0000
+++ pulse2-package-server-1.2.4/Makefile 2010-05-01 14:04:20.788869096 +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)/package-server.ini ] && mv -f $(DESTDIR)$(ETCDIR)/package-server.ini $(DESTDIR)$(ETCDIR)/package-server.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)/package-server.ini ] && mv -f $(DESTDIR)$(ETCDIR)/package-server.ini $(DESTDIR)$(ETCDIR)/package-server.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/package-server.ini -m 600 -o root -g root $(DESTDIR)$(ETCDIR)

View File

@ -1,38 +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=""
SLOT="0"
RDEPEND=">=dev-python/twisted-web-0.7.0
>=app-admin/pulse2-common-1.2.0"
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"
dosbin bin/pulse2-package-server || die "bin install failed"
insinto etc/mmc/pulse2/pserver/keys
doins -r conf/keys/* || die "key install failed"
insinto etc/mmc/pulse2/pserver
doins -r conf/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server
}

View File

@ -1,40 +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=""
SLOT="0"
RDEPEND=">=dev-python/twisted-web-0.7.0
>=app-admin/pulse2-common-1.2.0"
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"
dosbin bin/pulse2-package-server || die "bin install failed"
insinto etc/mmc/pulse2/pserver/keys
doins -r conf/keys/* || die "key install failed"
insinto etc/mmc/pulse2/pserver
doins -r conf/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server
}
src_test() {
"${python}" setup.py test || die "tests failed"
}

View File

@ -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=""
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/pulse2-package-server || die "bin install failed"
insinto etc/mmc/pulse2/pserver/keys
doins -r conf/keys/* || die "key install failed"
insinto etc/mmc/pulse2/pserver
doins -r conf/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server
}

View File

@ -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=""
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/pulse2-package-server || die "bin install failed"
insinto etc/mmc/pulse2/pserver/keys
doins -r conf/keys/* || die "key install failed"
insinto etc/mmc/pulse2/pserver
doins -r conf/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server
}

View File

@ -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=""
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/pulse2-package-server || die "bin install failed"
insinto etc/mmc/pulse2/pserver/keys
doins -r conf/keys/* || die "key install failed"
insinto etc/mmc/pulse2/pserver
doins -r conf/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server
}

View File

@ -3,8 +3,9 @@
# $Header: $ # $Header: $
EAPI="2" EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils inherit eutils distutils
MY_P="${P/_p/-}" MY_P="${P/_p/-}"
MY_PV="${PV/_p*/}" MY_PV="${PV/_p*/}"
@ -12,7 +13,7 @@ MY_PV="${PV/_p*/}"
DESCRIPTION="Open Source Computer System Management and its Python plugins." DESCRIPTION="Open Source Computer System Management and its Python plugins."
HOMEPAGE="http://pulse2.mandriva.org/" HOMEPAGE="http://pulse2.mandriva.org/"
SRC_URI="http://pulse2.mandriva.org/pub/pulse2/server/sources/${MY_PV}/${MY_P}.tar.gz 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" LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
@ -23,20 +24,16 @@ SLOT="0"
RDEPEND=">=dev-python/twisted-web-0.7.0 RDEPEND=">=dev-python/twisted-web-0.7.0
>=app-admin/pulse2-common-${MY_PV}" >=app-admin/pulse2-common-${MY_PV}"
DEPEND=">=dev-python/setuptools-0.6_rc1"
S="${WORKDIR}/${PN}-${MY_PV}" 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() { src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed" emake install_nopy PREFIX=/usr DESTDIR=${D}
dosbin bin/pulse2-package-server || die "bin install failed" distutils_src_install
insinto etc/mmc/pulse2/pserver/keys
doins -r conf/keys/* || die "key install failed"
insinto etc/mmc/pulse2/pserver
doins -r conf/*.ini || die "ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "config samples install failed"
dodoc Changelog dodoc Changelog
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server