From d1f87beceaed4172c7f06164bbbfe5e5709463e1 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 4 Apr 2007 20:28:56 +0000 Subject: [PATCH] use games_get_libdir Package-Manager: portage-2.1.2.3 --- games-strategy/outerspace/Manifest | 26 ++++++------ .../outerspace/files/digest-outerspace-0.5.59 | 3 -- .../outerspace/outerspace-0.5.59.ebuild | 42 ------------------- .../outerspace/outerspace-0.5.61.ebuild | 15 ++++--- 4 files changed, 21 insertions(+), 65 deletions(-) delete mode 100644 games-strategy/outerspace/files/digest-outerspace-0.5.59 delete mode 100644 games-strategy/outerspace/outerspace-0.5.59.ebuild diff --git a/games-strategy/outerspace/Manifest b/games-strategy/outerspace/Manifest index 1f33cc248cbd..6fa640837691 100644 --- a/games-strategy/outerspace/Manifest +++ b/games-strategy/outerspace/Manifest @@ -1,17 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX outerspace 169 RMD160 b89fc3abffe85f63cb8469b0ac2abe0fd3b60dc1 SHA1 e9e864259d66cdb08f7a55e3df3f6f39a26b45fc SHA256 e6b6bad8a9ea3e85c13a282e8eb9ed1c71649d79a3309c5f7a053a2727028a7b MD5 79eaa767ec7186dc3440874ac49e6a12 files/outerspace 169 RMD160 b89fc3abffe85f63cb8469b0ac2abe0fd3b60dc1 files/outerspace 169 SHA256 e6b6bad8a9ea3e85c13a282e8eb9ed1c71649d79a3309c5f7a053a2727028a7b files/outerspace 169 -DIST OuterSpace-0.5.59.tar.gz 1546027 RMD160 7a24b19a7c9ecb179276fd64440978634a2d81f4 SHA1 a59fb57f1b6da1de670512d6c599cccc9fd46232 SHA256 b600d80615c2383958632cda5433be280254dac76228a015a4eb3d987d4ee5ba DIST OuterSpace-0.5.61.tar.gz 1666671 RMD160 76e4d29c88729d9c12df2a7df80e3985a17c75b7 SHA1 a13f8cf6b8d0164a6aa12c8b835b7f43ed45f780 SHA256 72c2a42d1e29b19153a956585389ae27d0f9a8237a3cdc76aec84cb83dfd3a9a -EBUILD outerspace-0.5.59.ebuild 1130 RMD160 9f55a5151d079087cc755e006a8b130a07d4a812 SHA1 1d05d048cdef16a53730f85d14f61770c9917056 SHA256 0997ca0618419036021a395f6d9bfbd1f0b7a9e054092f9c5105a894eb933afa -MD5 360ed021566afcb6837edb5fe994c3ed outerspace-0.5.59.ebuild 1130 -RMD160 9f55a5151d079087cc755e006a8b130a07d4a812 outerspace-0.5.59.ebuild 1130 -SHA256 0997ca0618419036021a395f6d9bfbd1f0b7a9e054092f9c5105a894eb933afa outerspace-0.5.59.ebuild 1130 -EBUILD outerspace-0.5.61.ebuild 1133 RMD160 6f1ac5406daf331d3ddcbbaed71904c09297493e SHA1 a5974245373f2b5c8596811c948c01125bdebe13 SHA256 39b7bf1d8856ffb37761bd51cea556e8fb7623e2adb1a4fc44757997ba42e09c -MD5 b7ea2e1933a7a82cf6e99b1e4d77973f outerspace-0.5.61.ebuild 1133 -RMD160 6f1ac5406daf331d3ddcbbaed71904c09297493e outerspace-0.5.61.ebuild 1133 -SHA256 39b7bf1d8856ffb37761bd51cea556e8fb7623e2adb1a4fc44757997ba42e09c outerspace-0.5.61.ebuild 1133 +EBUILD outerspace-0.5.61.ebuild 1126 RMD160 0a2a0978583bdc7a84606bafb7b6b4f66dd40ccd SHA1 bace07c6bc2163af0f68a08e06aa00f98befcd69 SHA256 e2ddef772967786b25b50c98742de58538dbe5bd2cda150c75ba428e77f23ddc +MD5 b8ce5e6d2e577e0d27e966de60af3a23 outerspace-0.5.61.ebuild 1126 +RMD160 0a2a0978583bdc7a84606bafb7b6b4f66dd40ccd outerspace-0.5.61.ebuild 1126 +SHA256 e2ddef772967786b25b50c98742de58538dbe5bd2cda150c75ba428e77f23ddc outerspace-0.5.61.ebuild 1126 MISC ChangeLog 756 RMD160 2223ca1a0bad70a09ea0a59fbc552c765234999c SHA1 e3fb279b6219fee10808694feafd2cd2a03d755e SHA256 83b8ced17d0edeb5f74b877c39c9fb93d4b8659b5b25caec756e79640548f4a9 MD5 d47bfbf53d5d5f34ad409e8ef2c67b74 ChangeLog 756 RMD160 2223ca1a0bad70a09ea0a59fbc552c765234999c ChangeLog 756 @@ -20,9 +18,13 @@ MISC metadata.xml 660 RMD160 1cf6d0f621b9bb41f53fda213029e1929b71fd03 SHA1 bffcc MD5 2697002fa3d0b643d0ab8f0bf84093d1 metadata.xml 660 RMD160 1cf6d0f621b9bb41f53fda213029e1929b71fd03 metadata.xml 660 SHA256 067a17465806395c1f5ef75903a920601e06bf3726736bcbdfb3f448907b2d39 metadata.xml 660 -MD5 2eaf545aa5a9a37b2bb228ae446a32fc files/digest-outerspace-0.5.59 256 -RMD160 bcf9c7bd21bc41d2bf229094304678822c494c3d files/digest-outerspace-0.5.59 256 -SHA256 6f593c3f24b6705ffeb4892a603c0ddef42e40602bb10bcc528eaaf8820d36ec files/digest-outerspace-0.5.59 256 MD5 87cc277252be5b59adc91eed551f1b2d files/digest-outerspace-0.5.61 256 RMD160 fdc45fffee3f1183bcebf022531ec24f55e1befb files/digest-outerspace-0.5.61 256 SHA256 38e105b86485a8ad8f9ab08391ec85d18feb4da664f410412d9c573f840c870e files/digest-outerspace-0.5.61 256 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGFAqOdz7hIScOURERArDUAJ4+ApWXGLm7ny+cnKLbGsT/Tj6ZowCfQXHM +9zTgqpJbHMn0CZlroiWI6kk= +=kq2i +-----END PGP SIGNATURE----- diff --git a/games-strategy/outerspace/files/digest-outerspace-0.5.59 b/games-strategy/outerspace/files/digest-outerspace-0.5.59 deleted file mode 100644 index 070c3045a253..000000000000 --- a/games-strategy/outerspace/files/digest-outerspace-0.5.59 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 acc185de2b24bc06f6ac49a87aed0354 OuterSpace-0.5.59.tar.gz 1546027 -RMD160 7a24b19a7c9ecb179276fd64440978634a2d81f4 OuterSpace-0.5.59.tar.gz 1546027 -SHA256 b600d80615c2383958632cda5433be280254dac76228a015a4eb3d987d4ee5ba OuterSpace-0.5.59.tar.gz 1546027 diff --git a/games-strategy/outerspace/outerspace-0.5.59.ebuild b/games-strategy/outerspace/outerspace-0.5.59.ebuild deleted file mode 100644 index bb003645b143..000000000000 --- a/games-strategy/outerspace/outerspace-0.5.59.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/outerspace/outerspace-0.5.59.ebuild,v 1.4 2007/01/07 10:41:25 tupone Exp $ - -inherit eutils games - -MY_PN=${PN/outerspace/OuterSpace} -MY_P=${MY_PN}-$PV - -DESCRIPTION="on-line strategy game taking place in the dangerous universe" -HOMEPAGE="http://www.ospace.net/" -SRC_URI="mirror://sourceforge/ospace/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=dev-python/pygame-1.7 - >=dev-lang/python-2.4" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - sed -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - -e "s:@GENTOO_LIBDIR@:${GAMES_LIBDIR}/${PN}:" \ - "${FILESDIR}"/${PN} > ${PN} \ - || die "sed failed" -} - -src_install() { - insinto "${GAMES_LIBDIR}"/${PN} - doins -r osc.py lib libsrvr || die "doins of libraries failed" - insinto "${GAMES_DATADIR}"/${PN} - doins -r res || die "doins of data failed" - dogamesbin ${PN} || die "dogamesbin failed" - newicon res/icon32.png ${PN}.png - make_desktop_entry ${PN} ${MY_PN} - prepgamesdirs -} diff --git a/games-strategy/outerspace/outerspace-0.5.61.ebuild b/games-strategy/outerspace/outerspace-0.5.61.ebuild index c8a7f299545f..97705f8657ae 100644 --- a/games-strategy/outerspace/outerspace-0.5.61.ebuild +++ b/games-strategy/outerspace/outerspace-0.5.61.ebuild @@ -1,12 +1,11 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/outerspace/outerspace-0.5.61.ebuild,v 1.1 2007/02/26 23:50:32 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/outerspace/outerspace-0.5.61.ebuild,v 1.2 2007/04/04 20:28:55 nyhm Exp $ inherit eutils games MY_PN=${PN/outerspace/OuterSpace} -MY_P=${MY_PN}-$PV - +MY_P=${MY_PN}-${PV} DESCRIPTION="on-line strategy game taking place in the dangerous universe" HOMEPAGE="http://www.ospace.net/" SRC_URI="mirror://sourceforge/ospace/${MY_P}.tar.gz" @@ -16,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=dev-python/pygame-1.7 +RDEPEND=">=dev-python/pygame-1.7 >=dev-lang/python-2.4" S=${WORKDIR}/${MY_P} @@ -25,16 +24,16 @@ src_unpack() { unpack ${A} cd "${S}" sed -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - -e "s:@GENTOO_LIBDIR@:${GAMES_LIBDIR}/${PN}:" \ + -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \ "${FILESDIR}"/${PN} > ${PN} \ || die "sed failed" } src_install() { - insinto "${GAMES_LIBDIR}"/${PN} - doins -r osc.py lib libsrvr || die "doins of libraries failed" + insinto "$(games_get_libdir)"/${PN} + doins -r osc.py lib libsrvr || die "doins lib failed" insinto "${GAMES_DATADIR}"/${PN} - doins -r res || die "doins of data failed" + doins -r res || die "doins data failed" dogamesbin ${PN} || die "dogamesbin failed" newicon res/icon32.png ${PN}.png make_desktop_entry ${PN} ${MY_PN} -- 2.26.2