diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-07-24 22:37:10 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-07-24 22:37:10 +0100 |
commit | 7f87002c10580ef0fcee3b71dffffa31db296250 (patch) | |
tree | 1cec201bcc7ccf843d19a7f4d8358f45c2573b8c /games-puzzle | |
parent | games-puzzle/brainworkshop: Version bump to 5_beta20180712 (diff) | |
download | gentoo-7f87002c10580ef0fcee3b71dffffa31db296250.tar.gz gentoo-7f87002c10580ef0fcee3b71dffffa31db296250.tar.bz2 gentoo-7f87002c10580ef0fcee3b71dffffa31db296250.zip |
games-puzzle/brainworkshop: Drop old and broken 4.8.4
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/brainworkshop/Manifest | 1 | ||||
-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 |
3 files changed, 0 insertions, 75 deletions
diff --git a/games-puzzle/brainworkshop/Manifest b/games-puzzle/brainworkshop/Manifest index 8f3e9e3b8c34..347f37c38235 100644 --- a/games-puzzle/brainworkshop/Manifest +++ b/games-puzzle/brainworkshop/Manifest @@ -1,2 +1 @@ -DIST brainworkshop-4.8.4.zip 9373980 BLAKE2B 85af1f17755f0007f01c1684f4d746de6bab6580ed29c717e9462f8dd57115ce8ed7d2d61a411523e2d92191abe5a49d29b2598e937b014e68b3e1cb9ac3e059 SHA512 d3819036fef98fab9a89637ba01b2d844146babc7cb34b6ec6f4a589c18a7532fd23cf083c867ea1c917df9d7a6507ab51a5942e745d3ab9d01d938812486936 DIST brainworkshop-5_beta20180712.tar.gz 8001699 BLAKE2B 0bf6114d89ab39a79e7659f6fb76d1e1cb21624a014381fc73bf6ca56f2bd721c192bc89e42b147666dd6fb7d0f6df12c60230dc3bf17b75d68f3fba1ea58b99 SHA512 5733daefd79f77c0eadcf7cec03d1cd3658ca8f79b23705f763ba5b15cf44d2f67861852287a3998c101072a7dfae20304508bf68cd728f27e2051271a16464f diff --git a/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild b/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild deleted file mode 100644 index e454d7dd3448..000000000000 --- a/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( 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="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -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 deleted file mode 100644 index 061187b7cfe0..000000000000 --- a/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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'
|