summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-05-12 13:13:42 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-05-12 13:13:42 +0000
commit4c207fbb63af0019d6c6ab1f6ba81d9258b36f6b (patch)
tree940644bae7db6bcc23dc7d9b9a4679f29c342e5b /games-puzzle
parentInitial commit, looks like decent kde mpd client. (diff)
downloadhistorical-4c207fbb63af0019d6c6ab1f6ba81d9258b36f6b.tar.gz
historical-4c207fbb63af0019d6c6ab1f6ba81d9258b36f6b.tar.bz2
historical-4c207fbb63af0019d6c6ab1f6ba81d9258b36f6b.zip
Improved Python-related code. Bug #364851
Package-Manager: portage-2.1.9.48/cvs/Linux x86_64
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/jools/ChangeLog6
-rw-r--r--games-puzzle/jools/Manifest14
-rw-r--r--games-puzzle/jools/jools-0.20-r1.ebuild19
3 files changed, 31 insertions, 8 deletions
diff --git a/games-puzzle/jools/ChangeLog b/games-puzzle/jools/ChangeLog
index 925635145d52..aee2ca8af350 100644
--- a/games-puzzle/jools/ChangeLog
+++ b/games-puzzle/jools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/jools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/ChangeLog,v 1.9 2011/04/25 20:34:59 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/ChangeLog,v 1.10 2011/05/12 13:13:42 tupone Exp $
+
+ 12 May 2011; Tupone Alfredo <tupone@gentoo.org> jools-0.20-r1.ebuild:
+ Improved Python-related code. Bug #364851 by Arfrever Frehtes Taifersar
+ Arahesis
25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
jools-0.20-r1.ebuild:
diff --git a/games-puzzle/jools/Manifest b/games-puzzle/jools/Manifest
index a2df5d9c7da8..b0a05d0eef4a 100644
--- a/games-puzzle/jools/Manifest
+++ b/games-puzzle/jools/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST jools-0.20.tar.gz 1710143 RMD160 c9689549b6f73ca6cc43a7e840d1f7555df24df8 SHA1 3832e22cbee8d2cc7f13030ea0b1caf09a185179 SHA256 50f5c23491e45b4658baecdb774ba071000f4c9a1164b77c95cbfe711f3e36c8
DIST jools-musicpack-1.0.tar.gz 4447501 RMD160 e2b084bbea972c42b79fa8e56ee9fcc9b1e34f05 SHA1 52982a438e7bc6ed4691e63838f92f7aa919bf54 SHA256 baf3bd24a65508868b13b6224a0661dc4b8616eb8d70fab04a9e732d32983c84
-EBUILD jools-0.20-r1.ebuild 1367 RMD160 e3fee3c455a236e717c6de5fc21c8a311202c468 SHA1 a428fab9f162db53998c3b3c8427d63d3bf09c0a SHA256 4ec633bc857d699d4f387326671ed0ef19cbd84d76325e8e43766ca78c6f9a58
-MISC ChangeLog 1290 RMD160 99718a390fdf938ea9fa59cf34734b390df4f95c SHA1 063ab6255fd35ac911a75069985bc12bb808bdf8 SHA256 953e048c6f922ce74b2b7130c79776ccb21b2cbbbeaf5b257ba56af8fba19d73
+EBUILD jools-0.20-r1.ebuild 1496 RMD160 e2ddcc3c4e5eb40debf4be4c1a2dac15cd5273c4 SHA1 d5212623da6f95c316d254d358ed825e6039effd SHA256 9586928ea95ec8376e960f79cf27091b80af5595fd5b9bb8a54e84e0a4a0b756
+MISC ChangeLog 1447 RMD160 4e6c853525fd63bf0767538c845d2faad9f3312f SHA1 74ee1efaf96af02613d5a9c1e173e28a459507bc SHA256 b7789e0947f5babd4329047d91d97e60a40f3b3f5663a8cc7a5f435df0f850d8
MISC metadata.xml 580 RMD160 e6b0dd9e0ae3e6e6d8bfa294e7aa8db82e5a745e SHA1 07a986344634de8f41008723fc07d468a9667f9f SHA256 99ea28a2292a9b3fae00d7a12b4b707e521029fe8a4708b2cd639206b24002d1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk3L3NEACgkQIY77eQFFFC09rgCeL6aBVK/SlRRk3yn6lYqpIDC2
+TUwAnR8orxT8sn4c2r5XamTu7FMoUGOh
+=B/Xx
+-----END PGP SIGNATURE-----
diff --git a/games-puzzle/jools/jools-0.20-r1.ebuild b/games-puzzle/jools/jools-0.20-r1.ebuild
index f272c3f04a5c..3a3523aa3cd5 100644
--- a/games-puzzle/jools/jools-0.20-r1.ebuild
+++ b/games-puzzle/jools/jools-0.20-r1.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/jools-0.20-r1.ebuild,v 1.8 2011/04/25 20:43:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/jools-0.20-r1.ebuild,v 1.9 2011/05/12 13:13:42 tupone Exp $
+PYTHON_DEPEND="2"
EAPI=3
inherit eutils python games
@@ -21,16 +22,24 @@ DEPEND=""
S=${WORKDIR}/${P}/jools
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_unpack() {
unpack ${P}.tar.gz
- cd "${S}"
- echo "MEDIAROOT = \"${GAMES_DATADIR}/${PN}\"" > config.py
- cd music
+ cd "${S}"/music
unpack ${MUS_P}.tar.gz
}
+src_prepare() {
+ echo "MEDIAROOT = \"${GAMES_DATADIR}/${PN}\"" > config.py
+ python_convert_shebangs -r 2 .
+}
+
src_install() {
- games_make_wrapper ${PN} "python ./__init__.py" "$(games_get_libdir)"/${PN}
+ games_make_wrapper ${PN} "$(PYTHON) ./__init__.py" "$(games_get_libdir)"/${PN}
insinto "$(games_get_libdir)"/${PN}
doins *.py || die "doins py failed"
insinto "${GAMES_DATADIR}"/${PN}