mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-kids/tuxmathscrabble: Remove last-rited pkg
Closes: https://bugs.gentoo.org/693032 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST tuxmathscrabble-0.8.1.tar.gz 9376820 BLAKE2B 40746d4e9b9ee81b09e563a522f6d1ae839a4729b7b38c9a96758553766b2597360c7391d42f09c8de494871ce086883f47186a17e9ee4b61c8a0afdc0f07b11 SHA512 70a48b078af170c4008beca495576afc6e0dd72239b2b57543a98642ee9e8d13a2ae48aa5afab77015c8c56cd9a2d80865645504a620b2e2b798ed40f653533c
|
||||
@@ -1,92 +0,0 @@
|
||||
--- a/TuxMathScrabble/tms.py 2015-02-02 22:19:30.894373011 +0100
|
||||
+++ b/TuxMathScrabble/tms.py 2015-02-02 22:20:19.530320947 +0100
|
||||
@@ -1258,7 +1258,7 @@
|
||||
if not os.path.exists(infname):
|
||||
|
||||
master_fname=os.path.join(self.env.fontdir,'.tms_config_master')
|
||||
- candidate=os.path.join('/','usr','share','games','tuxmathscrabble','.tms_config_master')
|
||||
+ candidate=os.path.join('@GENTOO_DATADIR@','.tms_config_master')
|
||||
if os.path.exists(candidate):
|
||||
master_fname=candidate
|
||||
|
||||
--- a/.tms_config_master 2015-02-02 22:21:59.655216399 +0100
|
||||
+++ b/.tms_config_master 2015-02-02 22:25:33.754003432 +0100
|
||||
@@ -380,66 +380,66 @@
|
||||
'wtype':'wx.SpinCtrl',
|
||||
},
|
||||
'FONT_APPNAME':{
|
||||
- 'default_path':'./Font',
|
||||
+ 'default_path':'@GENTOO_DATADIR@/Font',
|
||||
'default_value':'mickey.ttf',
|
||||
'descr':'',
|
||||
'dtype':'wx.String',
|
||||
- 'path':'./Font',
|
||||
+ 'path':'@GENTOO_DATADIR@/Font',
|
||||
'showme':-1,
|
||||
'tooltip':'Font to be used for application name overlay.',
|
||||
'value':'mickey.ttf',
|
||||
'wtype':'wx.FileDialog',
|
||||
},
|
||||
'FONT_BFONT':{
|
||||
- 'default_path':'./Font',
|
||||
+ 'default_path':'@GENTOO_DATADIR@/Font',
|
||||
'default_value':'Bluehigh.ttf',
|
||||
'descr':'',
|
||||
'dtype':'wx.String',
|
||||
- 'path':'./Font',
|
||||
+ 'path':'@GENTOO_DATADIR@/Font',
|
||||
'showme':0,
|
||||
'tooltip':'Button Font',
|
||||
'value':'Bluehigh.ttf',
|
||||
'wtype':'wx.FileDialog',
|
||||
},
|
||||
'FONT_CFONT':{
|
||||
- 'default_path':'./Font',
|
||||
+ 'default_path':'@GENTOO_DATADIR@/Font',
|
||||
'default_value':'arialbd.ttf',
|
||||
'descr':'',
|
||||
'dtype':'wx.String',
|
||||
- 'path':'./Font',
|
||||
+ 'path':'@GENTOO_DATADIR@/Font',
|
||||
'showme':0,
|
||||
'tooltip':'Character font used for tile characters',
|
||||
'value':'arialbd.ttf',
|
||||
'wtype':'wx.FileDialog',
|
||||
},
|
||||
'FONT_HUD':{
|
||||
- 'default_path':'./Font',
|
||||
+ 'default_path':'@GENTOO_DATADIR@/Font',
|
||||
'default_value':'aqua_pfont.ttf',
|
||||
'descr':'',
|
||||
'dtype':'wx.String',
|
||||
- 'path':'./Font',
|
||||
+ 'path':'@GENTOO_DATADIR@/Font',
|
||||
'showme':0,
|
||||
'tooltip':'The default font to be used for other overlay information (credits, etc).',
|
||||
'value':'aqua_pfont.ttf',
|
||||
'wtype':'wx.FileDialog',
|
||||
},
|
||||
'FONT_OVERLAY':{
|
||||
- 'default_path':'./Font',
|
||||
+ 'default_path':'@GENTOO_DATADIR@/Font',
|
||||
'default_value':'arial.ttf',
|
||||
'descr':'',
|
||||
'dtype':'wx.String',
|
||||
- 'path':'./Font',
|
||||
+ 'path':'@GENTOO_DATADIR@/Font',
|
||||
'showme':0,
|
||||
'tooltip':'The default font to be used for other overlay information (credits, etc).',
|
||||
'value':'arial.ttf',
|
||||
'wtype':'wx.FileDialog',
|
||||
},
|
||||
'FONT_PFONT':{
|
||||
- 'default_path':'./Font',
|
||||
+ 'default_path':'@GENTOO_DATADIR@/Font',
|
||||
'default_value':'Bluehigh.ttf',
|
||||
'descr':'',
|
||||
'dtype':'wx.String',
|
||||
- 'path':'./Font',
|
||||
+ 'path':'@GENTOO_DATADIR@/Font',
|
||||
'showme':0,
|
||||
'tooltip':'Point value font (ie lower right corner of tiles)',
|
||||
'value':'Bluehigh.ttf',
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">asymptopia/tuxmathscrabble</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils python-single-r1 multilib
|
||||
|
||||
MY_PN=TuxMathScrabble
|
||||
DESCRIPTION="math-version of the popular board game for children 4-10"
|
||||
HOMEPAGE="http://www.asymptopia.org/"
|
||||
SRC_URI="https://github.com/asymptopia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}
|
||||
dev-python/wxpython[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/unzip"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/pygame[${PYTHON_USEDEP}]"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -f $(find . -name '*.pyc')
|
||||
sed -i \
|
||||
-e "s:@GENTOO_DATADIR@:/usr/share/${MY_PN}:" \
|
||||
${MY_PN}/tms.py \
|
||||
.tms_config_master \
|
||||
|| die "sed failed"
|
||||
sed -i \
|
||||
-e "s:python2.7-32:python:g" \
|
||||
${PN}.py || die "2nd sed failed"
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${PN}.py ${PN}
|
||||
|
||||
python_domodule ${MY_PN}
|
||||
|
||||
insinto /usr/share/${MY_PN}
|
||||
doins -r .tms_config_master Font
|
||||
|
||||
python_optimize
|
||||
|
||||
newicon tms.ico ${PN}.ico
|
||||
make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico
|
||||
|
||||
dodoc CHANGES README
|
||||
}
|
||||
@@ -779,11 +779,6 @@ games-arcade/bub-n-bros
|
||||
# Removal in 30 days. Bug #703762.
|
||||
games-action/accelerator3d
|
||||
|
||||
# David Seifert <soap@gentoo.org> (2019-12-25)
|
||||
# Py2 only, upstream abandoned further development, Broken.
|
||||
# Removal in 30 days. Bug #693032.
|
||||
games-kids/tuxmathscrabble
|
||||
|
||||
# Tomáš Mózes <hydrapolic@gentoo.org> (2019-12-19)
|
||||
# Needs more testing.
|
||||
=app-emulation/xen-4.13.0
|
||||
|
||||
Reference in New Issue
Block a user