summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-06-13 09:59:34 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-06-13 09:59:34 +0000
commitc99b3260eb415e36d1dd6a8cb6f08865731360b5 (patch)
tree5c7a65954ba0335eabceae63febfc30f54c7832b /games-puzzle
parentVersion bump. (diff)
downloadhistorical-c99b3260eb415e36d1dd6a8cb6f08865731360b5.tar.gz
historical-c99b3260eb415e36d1dd6a8cb6f08865731360b5.tar.bz2
historical-c99b3260eb415e36d1dd6a8cb6f08865731360b5.zip
fix python handling wrt #473126
Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/pathological/ChangeLog10
-rw-r--r--games-puzzle/pathological/Manifest17
-rw-r--r--games-puzzle/pathological/pathological-1.1.3-r3.ebuild96
3 files changed, 120 insertions, 3 deletions
diff --git a/games-puzzle/pathological/ChangeLog b/games-puzzle/pathological/ChangeLog
index bc1c3594c81c..e0551a3db3f8 100644
--- a/games-puzzle/pathological/ChangeLog
+++ b/games-puzzle/pathological/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/pathological
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/ChangeLog,v 1.21 2012/09/04 22:05:37 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/ChangeLog,v 1.22 2013/06/13 09:59:30 hasufell Exp $
+
+*pathological-1.1.3-r3 (13 Jun 2013)
+
+ 13 Jun 2013; Julian Ospald <hasufell@gentoo.org>
+ +pathological-1.1.3-r3.ebuild:
+ fix python handling wrt #473126
04 Sep 2012; Michael Sterrett <mr_bones_@gentoo.org>
pathological-1.1.3-r2.ebuild:
diff --git a/games-puzzle/pathological/Manifest b/games-puzzle/pathological/Manifest
index 22f04e9cc0f5..73591e62d903 100644
--- a/games-puzzle/pathological/Manifest
+++ b/games-puzzle/pathological/Manifest
@@ -1,6 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX pathological-1.1.3-build.patch 527 SHA256 93d4c806d11896a46d31b71fc81799141084cdde1323cc933c748b80f6ac4a3f SHA512 d18b8e55d3f40fa69d0a551749b1242ba055ba8eb5bde517d7df8a46414d81232836bf232b28e77b1dcab8f0d049b3ee46ef666621674ac1be68e343e53f1c34 WHIRLPOOL 09787923fdbe184610a2e5c5d5d3b7208af93a0a080e7e95dc4763b5849df8326dc5bfed2a61d77133ebfcd05ac4219e2166cda7cd7c4c73f1ed068e7261b1c5
AUX pathological-1.1.3-music-py.patch 475 SHA256 35938ac1f96dad12c74fd57e0002fcf523fe573b269e03992d3ae006880819c0 SHA512 4a96a35d299f10ba90ff979ec77c7b117228d6e593be0b5858233fd44a0c746ad3abd52fe2751496e2ace813afc95ae7ee76c2e3d940678236de973cdae7aa87 WHIRLPOOL e12596733e095da808572b3b558dcf09798e347a8ad2399385c5107c8475bd745c216332c44a2e49c30348806a7b258cb77fa5168f9f025ec17b5734a5305129
DIST pathological-1.1.3.tar.gz 6995274 SHA256 813ef0812ba6b3218b35c2ddea423c9c6ee912925824497f52d5310bc76f85de SHA512 a64e0ca9a3bf86ade4a1abdd4f471c341838f690b2471f21c488471b7800da55f89f42c62a51c9be380cb9f265432db904a5de6f6bb3a9a7dde835da94baf566 WHIRLPOOL 65f2f62c4d9991c3d0e69a9408e17e8c80a06575f38233ca4697054272b17bd3056cf681d40318786b6546ab7a43c34ce3d60bdaae08570457332bdaa0bee8da
EBUILD pathological-1.1.3-r2.ebuild 1885 SHA256 da69dce7bd678cdc3542aa62fbcbbecc768351d4146c9a108318a67b42037916 SHA512 93f0cb8fb4f3a916e200fbcf9e5ad72a1cf277c8f6a5d90d31c9b81dfbee7ff45039f4fa15d8aa06f9b1152964ff67412c0e41ca42d22ee932c9b53510c33716 WHIRLPOOL 5ee12284343c2c86088aa5f05fd7ef9e52526e06830799a0a745f2206d8269296e119b5bfba3b3e628e8926f2662d098beef4ea943a219d7b0dfbec3493a16f1
-MISC ChangeLog 3054 SHA256 d6f35c6971ee4e964bd0d7afdd1d9d5bca6781fcdb92c163709409934d19b263 SHA512 9c2c7ef8e0cd2d31850b44b8412fe179194caa0a09956c8632b91b1f986ced9052736ff2175ffc36cd5e8189c55c5f293023105c6f0b475bc3a7ec22d30e50bb WHIRLPOOL 4fd39f8113de6994cca415cac7d77a07360b895c8f5f11dd15f61d44ed8ab74c03c64fe8a659310c252c3418c56c0a85a6e58b0b35745332b811a0bc220d2a86
+EBUILD pathological-1.1.3-r3.ebuild 2134 SHA256 fc38e53882da80def870d320dd92399c7fcca4d91340ff729c473936a634ac76 SHA512 616661208d821112efd5397a04176270c6cf81df2c165599bcfea238ac51a0c9017ad5c1ddd29d410213f8636325a05863ff0864ca011b008a47d00375210212 WHIRLPOOL 0b2995e0fc0eb30d13d2a83b56e1708c452ce4ae80a5f2cb4b7fa4e7eac780d4743e75eaa8de85368362f43cbccd5d03bd014cc9aa19f0fc6d969501c06ee52d
+MISC ChangeLog 3210 SHA256 d9bf6fe647c442baf967d450845a5c5380224fe082277ce8abe929bc17ad0066 SHA512 e4e320ec6604d231716b03f42c194609ab24645ba2e36294afe4effefe05a41bcba917058864550c28dfd4cbd0ade72a1d931a50a6f72ed086ed517c405fcbc1 WHIRLPOOL 3faaab76f0b273706a4bffcdc2ea81f0318d93b15da313880be26fb055138d03b45ed3f05f409836c9d70e20525a15aece4d119b25b9f2e788fd774b33264054
MISC metadata.xml 221 SHA256 80c34a967b80bba5f0f27215677fdad5b1ed739678287b62db1f6c345cf69811 SHA512 b91feaf414694b8fea89fd90ee4ed12beccd2328067146e12e199912bc28b8f8ad8c02828b31f829d93ddbd56a408c59579b4694a22411bfd62cf2d78c36795b WHIRLPOOL 83692b424e71c55acdf548379cb13263cc9ed569c082553f944e888430fcee556cc99fc303b96059e155ba53ad6ef71952f003ce56844b0706a37de1c3ac52ad
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRuZgDAAoJEFpvPKfnPDWzRfgH/0YQC2gJDnBciZw9Yb0wsk7p
+GeDggWCpPdHU1mEb/IAm0cmQunxIPqXbdeRwv0nXxll01U+8Eny32y87dINR7sOp
+UllTrqPMtL6iWZDHIjCHseFkTz5ueY5PfmATff85SRw5qwSdBmeP2zySr485Htlr
+lYE3oN81SPbp164Ikz/igRaQJjEpYFzbmMDuanQ+gS7V454OGrRxaS4INEWrktfT
+rOgTh4yUrY+BQeQjgwIJ+J07UB6y/jBoBNQMgUH4xyAvq+TR1wnWMiw38aqLQMfC
+gWDxnDyprKpM8cBVsjAnWQY4zSSiBbSK7tEH5q4tAAxCceJ7QdkDVnPz/VaxGAY=
+=fksU
+-----END PGP SIGNATURE-----
diff --git a/games-puzzle/pathological/pathological-1.1.3-r3.ebuild b/games-puzzle/pathological/pathological-1.1.3-r3.ebuild
new file mode 100644
index 000000000000..3079d386fe12
--- /dev/null
+++ b/games-puzzle/pathological/pathological-1.1.3-r3.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3-r3.ebuild,v 1.1 2013/06/13 09:59:30 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
+inherit eutils python-single-r1 games
+
+DESCRIPTION="An enriched clone of the game 'Logical' by Rainbow Arts"
+HOMEPAGE="http://pathological.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ app-shells/bash
+ >=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]"
+DEPEND="${PYTHON_DEPS}
+ doc? ( media-libs/netpbm )"
+
+pkg_setup() {
+ games_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ unpack ./${PN}.6.gz
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-music-py.patch
+
+ if use doc ; then
+ sed -i -e '5,$ s/=/ /g' makehtml || die
+ else
+ echo "#!/bin/sh" > makehtml
+ fi
+
+ sed -i \
+ -e "s:/usr/share/games:${GAMES_DATADIR}:" \
+ -e "s:/var/games:${GAMES_STATEDIR}:" \
+ -e "s:exec:exec ${EPYTHON}:" \
+ ${PN} || die
+
+ sed -i \
+ -e 's:\xa9:(C):' \
+ -e "s:/usr/lib/${PN}/bin:$(games_get_libdir)/${PN}:" \
+ ${PN}.py || die
+
+ python_fix_shebang ${PN}.py
+}
+
+src_install() {
+ dogamesbin ${PN}
+
+ exeinto "$(games_get_libdir)"/${PN}
+ doexe write-highscores
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r circuits graphics music sounds ${PN}.py
+
+ insinto "${GAMES_STATEDIR}"
+ doins ${PN}_scores
+ fperms 660 "${GAMES_STATEDIR}"/${PN}_scores
+
+ dodoc changelog README TODO
+ doman ${PN}.6
+ use doc && dohtml -r html/*
+
+ doicon ${PN}.xpm
+ make_desktop_entry ${PN} Pathological ${PN}
+
+ # remove some unneeded resource files
+ rm -f "${D}/${GAMES_DATADIR}"/${PN}/graphics/*.xcf
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if ! has_version "media-libs/sdl-mixer[mod]" ; then
+ echo
+ elog "Since you have turned off the 'mod' use flag for media-libs/sdl-mixer"
+ elog "no background music will be played."
+ echo
+ fi
+
+}