mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
games-puzzle/brainworkshop: drop 5.0.3
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST brainworkshop-5.0.3.tar.gz 8005691 BLAKE2B 0edaf6edb2b33ccb09d3d76c7023257c26e7303237afe9c114315c3461f55e76944a2f1e24a3ed63f4b942e5ff816b776ea2561438996b5a286faeee016e9b42 SHA512 036ea1dff0d7346e9f34a889d306a160976a602200ba428e36e72eba1fb7fbd6a4d513811faf59dcf5efe8abeae26f0a882c295f845d88b5e9a7a59d1facad55
|
||||
DIST brainworkshop-5.0.3_p20250317.tar.gz 8008889 BLAKE2B 565cfbc061520de888510da6d5bc84926d90b0aee72b0864d5647d754eec301bb30e8a619ae3850ba76250b202a40d5a273fef4391e17069d8cfcdf9962ffc6d SHA512 6632e53790b8f66042393899df3389e81721477ea365cdc32aeade66ba510f11fd9fcec61e0f4a168334e26c1dd6841956e82e0c52e6781e2fa834480a7fe63a
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit desktop python-single-r1
|
||||
|
||||
DESCRIPTION="Short-term-memory training N-Back game"
|
||||
HOMEPAGE="https://github.com/brain-workshop/brainworkshop/"
|
||||
SRC_URI="
|
||||
https://github.com/brain-workshop/brainworkshop/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="CC-Sampling-Plus-1.0 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP},sound]')
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.0.2-datadir.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s|@GENTOO_DATADIR@|${EPREFIX}/usr/share/${PN}|" ${PN}.py || die
|
||||
|
||||
python_fix_shebang ${PN}.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${PN}.py ${PN}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r res/.
|
||||
|
||||
dodoc Readme.md Readme-{instructions,resources}.txt data/Readme-stats.txt
|
||||
|
||||
domenu ${PN}.desktop
|
||||
newicon res/misc/brain/brain.png ${PN}.png
|
||||
}
|
||||
Reference in New Issue
Block a user