From 24dc7eeba3c1c575af7100f7e1421cf6af214b73 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 2 Jun 2021 04:31:09 -0400 Subject: games-puzzle/brainworkshop: drop 5_beta20200310 beta and didn't work out of the box, no sense in keeping Signed-off-by: Ionen Wolkens --- games-puzzle/brainworkshop/Manifest | 1 - .../brainworkshop-5_beta20200310.ebuild | 56 ---------------------- .../files/brainworkshop-5-fix-paths.patch | 12 ----- 3 files changed, 69 deletions(-) delete mode 100644 games-puzzle/brainworkshop/brainworkshop-5_beta20200310.ebuild delete mode 100644 games-puzzle/brainworkshop/files/brainworkshop-5-fix-paths.patch diff --git a/games-puzzle/brainworkshop/Manifest b/games-puzzle/brainworkshop/Manifest index 880950cbd91b..5513b27da4e9 100644 --- a/games-puzzle/brainworkshop/Manifest +++ b/games-puzzle/brainworkshop/Manifest @@ -1,2 +1 @@ DIST brainworkshop-5.0.2.tar.gz 7998711 BLAKE2B d2662d2e565b576b441a41ec9177c3bd17f30d0f671d67ee7497bc2a983ba193e977a0d4cb4bfcd684cc46fe918159ffa5181a141e591adf819b28e744437222 SHA512 07ab0b30cef92b3c5ac0476a1baa5afb8f57afb557b266169a7f72fe4cbe8c0afbf0db491a23106da6c61f055c24c5f0c4268ead41d92101e5a8284a7dc80265 -DIST brainworkshop-5_beta20200310.tar.gz 8001718 BLAKE2B ec3ef92d169956cb9334230e60b5e2c370154c11640daa3201b56654cd402ecba37d3bd1e3ff95339b351bd8984fb84a6bab72bf9f752175d0fb3ae1d989ba10 SHA512 f061ef005ac5f1c8b3fe1f23d847852730a9402bfa6be83946b2cd1f3a352a7a6eb67b73c81506f082fe2ae590598435736a36c87513a11b87f3e8237a296669 diff --git a/games-puzzle/brainworkshop/brainworkshop-5_beta20200310.ebuild b/games-puzzle/brainworkshop/brainworkshop-5_beta20200310.ebuild deleted file mode 100644 index c0ec2a730ce8..000000000000 --- a/games-puzzle/brainworkshop/brainworkshop-5_beta20200310.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit desktop edos2unix python-single-r1 xdg - -COMMIT="ea817f7e163c4fb07a60b2066c694cba92d23818" -DESCRIPTION="Short-term-memory training N-Back game" -HOMEPAGE="https://github.com/samcv/brainworkshop" -SRC_URI="https://github.com/samcv/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/pyglet-1.5[${PYTHON_USEDEP},sound] - ') -" - -BDEPEND=" - ${PYTHON_DEPS} -" - -S="${WORKDIR}/${PN}-${COMMIT}" - -PATCHES=( - "${FILESDIR}"/${PN}-${PV%_*}-fix-paths.patch -) - -src_prepare() { - edos2unix ${PN}.pyw - default - - sed -i \ - "s#@GENTOO_DATADIR@#${EPREFIX}/usr/share/${PN}#g" \ - ${PN}.pyw || die -} - -src_install() { - python_newscript ${PN}.pyw ${PN} - - insinto /usr/share/${PN} - doins -r res/* - - dodoc Readme.md Readme-{instructions,resources}.txt data/Readme-stats.txt - - newicon -s 48 res/misc/brain/brain.png ${PN}.png - make_desktop_entry ${PN} "Brain Workshop" -} diff --git a/games-puzzle/brainworkshop/files/brainworkshop-5-fix-paths.patch b/games-puzzle/brainworkshop/files/brainworkshop-5-fix-paths.patch deleted file mode 100644 index 5e720d5cf8ba..000000000000 --- a/games-puzzle/brainworkshop/files/brainworkshop-5-fix-paths.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/brainworkshop.pyw b/brainworkshop.pyw ---- a/brainworkshop.pyw 2018-07-14 19:11:17.536581902 +0100 -+++ b/brainworkshop.pyw 2018-07-14 19:12:07.582695292 +0100 -@@ -173,7 +173,7 @@ - if rtrn: - return rtrn - else: -- return os.path.join(get_main_dir(), FOLDER_RES) -+ return '@GENTOO_DATADIR@' - def edit_config_ini(): - if sys.platform == 'win32': - cmd = 'notepad' -- cgit v1.2.3-65-gdbad