diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-02-06 18:32:16 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-02-06 18:32:16 +0000 |
commit | 03f1cfd7e1f31bf67dc2b403326ec4324cb9e32c (patch) | |
tree | 6792dea2f8201ebd4efcf9097bfea96ae7e6acf1 /games-puzzle | |
parent | Version bump. Move to EAPI5. Bug #455482 (diff) | |
download | historical-03f1cfd7e1f31bf67dc2b403326ec4324cb9e32c.tar.gz historical-03f1cfd7e1f31bf67dc2b403326ec4324cb9e32c.tar.bz2 historical-03f1cfd7e1f31bf67dc2b403326ec4324cb9e32c.zip |
migrate to python-r1, version bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/brainworkshop/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/brainworkshop/Manifest | 27 | ||||
-rw-r--r-- | games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild | 59 | ||||
-rw-r--r-- | games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch | 15 |
4 files changed, 99 insertions, 12 deletions
diff --git a/games-puzzle/brainworkshop/ChangeLog b/games-puzzle/brainworkshop/ChangeLog index 6f618c1bbd64..039dd4129917 100644 --- a/games-puzzle/brainworkshop/ChangeLog +++ b/games-puzzle/brainworkshop/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/brainworkshop -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainworkshop/ChangeLog,v 1.3 2011/03/04 12:26:13 tomka Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainworkshop/ChangeLog,v 1.4 2013/02/06 18:32:12 hasufell Exp $ + +*brainworkshop-4.8.4 (06 Feb 2013) + + 06 Feb 2013; Julian Ospald <hasufell@gentoo.org> +brainworkshop-4.8.4.ebuild, + +files/brainworkshop-4.8.4-fix-paths.patch: + migrate to python-r1, version bump 04 Mar 2011; Thomas Kahle <tomka@gentoo.org> brainworkshop-4.8.1.ebuild: x86 stable per bug 354529 diff --git a/games-puzzle/brainworkshop/Manifest b/games-puzzle/brainworkshop/Manifest index 538851ac7851..f46326e25623 100644 --- a/games-puzzle/brainworkshop/Manifest +++ b/games-puzzle/brainworkshop/Manifest @@ -1,15 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -AUX brainworkshop-4.8.1-fix-paths.patch 476 RMD160 18538b82b50e3c29c1ecba5ccc06c172299cb682 SHA1 8a0ad99d31d58317a51b72d3a10bdd78e92d1290 SHA256 455648638f47f7b428f1bf0aea85fb7167d9aa959fcd4c119dc9fa27bc8752fd -DIST brainworkshop-4.8.1.zip 8921750 RMD160 3cc08fac3aa1d18ddd494cab095870d389385bdc SHA1 dee3fce1c82306696072464038d47a0cb33adaab SHA256 6413a71c02b435c52f799b3fbb73bb6fdc6669dd680c3f9418ce7d8ab1e55f40 -EBUILD brainworkshop-4.8.1.ebuild 1047 RMD160 48e00c1a9208847ef86a6a965014520653e13a5a SHA1 c976201039f737806ff7d8d1cb1c8d0d609065c0 SHA256 4f66eddedc38360de51feaea29213cc3b397e4771bef44cfc267cd6fe32a6e2f -MISC ChangeLog 691 RMD160 55deb9300e767416aaf1dac246f6ec62dd87cb12 SHA1 1a112a575b0012b3e2c309e62781b14ed3547a14 SHA256 49999c4bfd306aadb391b27c39020b4397917f9ef540c1b4d6ee334f1afc1476 -MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +AUX brainworkshop-4.8.1-fix-paths.patch 476 SHA256 455648638f47f7b428f1bf0aea85fb7167d9aa959fcd4c119dc9fa27bc8752fd SHA512 d78aa55903263f8320dcc88cf3ebb8f8d74d46277ba481d9dbade1b73dc00abc0f7bba2a8d9b39832311bf1b67613eda5ed0b6f6841f95f02532f09b3d841414 WHIRLPOOL 138c7a1d22907481f46990cbb175cb8726111318e5dad092044d9a4fa0ab36bd2c79b508cecf9de7145c7c7a41d20d63fe549deadb8921a52a3aae77931ccd3d +AUX brainworkshop-4.8.4-fix-paths.patch 473 SHA256 a3ce16df2aad55cf1f1aa1137e7e921a2edf2f99da65929feea158f1f544ea0d SHA512 858e837e001db04efd9a3c420860821e02ca9b7ef7197a8fe69221d0135f11a05cb6f2f9b4c19cd9eeec84c84ec5842c7e8126f08dc94f9ff79569f580f9d515 WHIRLPOOL cd2bb0e53bb65a6fc5b525413ee980df61095a009cfcbab8f8232e963bd900f89988049e39f893e75384ce0760c64ef85777ed5abcf7aa6647ede5df0bd839cf +DIST brainworkshop-4.8.1.zip 8921750 SHA256 6413a71c02b435c52f799b3fbb73bb6fdc6669dd680c3f9418ce7d8ab1e55f40 SHA512 b98b8da9108bc2608ee76330dae77f045f431f4ac72138ea1a76e5de1ea65f7fc65d20effb6f6a247fc4aa5a822e73525a5ce9c9a1b6eb4216508aa8f09240d9 WHIRLPOOL 00567ce8fb242fd3e8c6d1044c8246fa2680a71ec880df61bd2f685aa469b457ebbaaa02335e610474ece08c8dc4066060415c49bf9d5686114e958a5215a2eb +DIST brainworkshop-4.8.4.zip 9373980 SHA256 bb1f259eda90e945a803524eedbc0087283e3fb9ae2ab4c16ded88c8c4e95b15 SHA512 d3819036fef98fab9a89637ba01b2d844146babc7cb34b6ec6f4a589c18a7532fd23cf083c867ea1c917df9d7a6507ab51a5942e745d3ab9d01d938812486936 WHIRLPOOL 4faf02832dc3af0f7c5fd0103996a884921433d2f3ff37d77d6c2510d7f6f3ab274dbe08c89f26e360725cb0ea3c52312cd23a813b680d330274579135fee2ef +EBUILD brainworkshop-4.8.1.ebuild 1047 SHA256 4f66eddedc38360de51feaea29213cc3b397e4771bef44cfc267cd6fe32a6e2f SHA512 1cc42b61d587c5e80c482ee3096d0131704760a72602e33495fb6d1c8b1f95f2754521e030b9787510a80ac14e5a5a2f83fb60b21fb79659fbd391c75385f825 WHIRLPOOL 7e502b72e8979c10d7d93c38a21c82a9920ad79a26fd4e6490e157450a8ba806af5d62ac14d2238e7994e63c909b6e44818e9038e5223658ab141926e455bd49 +EBUILD brainworkshop-4.8.4.ebuild 1350 SHA256 fe5a9c9adcc9739aeec672537def623015092ba8108827929000ae7c2db9b142 SHA512 5bb2edcc01a95dbfb7dc6fcc078797bdb5d9bb751032fee2b7c5c9f76e7b3f400df33186e727139b27c1097deb9d96a14bc971b07b5cf437054ff721147287db WHIRLPOOL dccdd6fd4d59a75407beaa935f4fe39a33a341f1b3f939fb473840d7352e7dc70e81a0e341c9eae95d9467c93ea4d7e55a808ad8f0960d99adc9ac2850a2127f +MISC ChangeLog 894 SHA256 d048269f0bad9df64dbb3e112954bb8d8f464767d01a2dd47fff080b5d9763d3 SHA512 d0bd374039175713a2226220d0bc05f53f5ac6193a18712c1fd0e642f2f45f98bdb201f6d2892b083f468bd7a13473fc73aa96124dfe27c5fb3954dcfa302bd9 WHIRLPOOL 87b69c257e284668e452817b494ec0b4c9c75987cd750f918aaaf5b07646a43713961607f56fac9a1467752dacff962d19a45208c8b0771b3f9cfcadb66b8e96 +MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk1w2uQACgkQnZsgo/h8kNYzGgCggkVxavon/jrdPyZskc4VPDYv -BbYAnRX+Mdjyn94U2EOB2Y/57X+eCWZf -=hk2v +iQEcBAEBCAAGBQJREqGwAAoJEFpvPKfnPDWzp6MH/3xTeTmLUxXtPfhyps2+SkpX +TU2O3GGOs7sHebV+hANuDz9O5L8lBb8F7FmAC6PqyzQ8GnaxgbHWUTcyT9aIRIrE +gloMKCvJe501nOZ0DHFvu3ZRuqIDnfEqX/0C/pO+dCPRTEMDT7VwOuXeYzWZsSEV +xxyMUWnBN4JEf8r5aJ6YpOsD7R9Ic0Hs5nN7FybNkDtmGuNcHGCo2x+qckuN2YpM +2qyUfOgZtvOVMmcjx91t7MszbI6FlhY/onUddQEx/bwaIZ6nFW3uLOKqZn4HnfOS +FyJfW4rVxPac6ntPdVj04Li5HkQOrYuwMmb3SzDFdgv9dqI4QmRglukpu7qKNk4= +=9eGX -----END PGP SIGNATURE----- diff --git a/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild b/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild new file mode 100644 index 000000000000..f679893b50bc --- /dev/null +++ b/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild,v 1.1 2013/02/06 18:32:12 hasufell Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_5 python2_6 python2_7 ) +inherit eutils gnome2-utils python-r1 games + +DESCRIPTION="Short-term-memory training N-Back game" +HOMEPAGE="http://brainworkshop.sourceforge.net/" +SRC_URI="mirror://sourceforge/brainworkshop/${P}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${PYTHON_DEPS} + dev-python/pyopenal + || ( >=dev-python/pyglet-1.1.4[openal] + >=dev-python/pyglet-1.1.4[alsa] )" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-fix-paths.patch + edos2unix ${PN}.pyw + + sed -i \ + -e 's#@GENTOO_DATADIR@#'${GAMES_DATADIR}'#' \ + ${PN}.pyw || die +} + +src_install() { + newgamesbin ${PN}.pyw ${PN} + python_replicate_script "${D}${GAMES_BINDIR}"/${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r res/* + dodoc Readme.txt data/Readme-stats.txt + newicon -s 48 res/misc/brain/brain.png ${PN}.png + make_desktop_entry ${PN} "Brain Workshop" + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch b/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch new file mode 100644 index 000000000000..061187b7cfe0 --- /dev/null +++ b/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch @@ -0,0 +1,15 @@ +--- a/brainworkshop.pyw 2010-10-15 19:06:16.529006906 +0200 ++++ b/brainworkshop.pyw 2010-10-15 19:08:17.095632136 +0200 +@@ -35,8 +35,10 @@ + NOVBO = True
+ VSYNC = False
+ DEBUG = False
+-FOLDER_RES = 'res'
+-FOLDER_DATA = 'data'
++FOLDER_RES = '@GENTOO_DATADIR@/brainworkshop'
++FOLDER_DATA = os.path.expanduser('~/.brainworkshop')
++if not os.path.isdir(FOLDER_DATA):
++ os.mkdir(FOLDER_DATA)
+ CONFIGFILE = 'config.ini'
+ STATS_BINARY = 'logfile.dat'
+ USER = 'default'
|