summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-03-31 16:22:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-03-31 16:22:42 +0000
commit323f384b3160e726417a01732a13cf68ba4f366a (patch)
treed3c4fede5733956b66ced40a5910195fb8369982 /games-kids/tuxmathscrabble
parentalpha and sparc are unstable (diff)
downloadgentoo-2-323f384b3160e726417a01732a13cf68ba4f366a.tar.gz
gentoo-2-323f384b3160e726417a01732a13cf68ba4f366a.tar.bz2
gentoo-2-323f384b3160e726417a01732a13cf68ba4f366a.zip
old
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-kids/tuxmathscrabble')
-rw-r--r--games-kids/tuxmathscrabble/ChangeLog6
-rw-r--r--games-kids/tuxmathscrabble/files/tuxmathscrabble-0.7.4-gentoo.patch92
-rw-r--r--games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild59
3 files changed, 5 insertions, 152 deletions
diff --git a/games-kids/tuxmathscrabble/ChangeLog b/games-kids/tuxmathscrabble/ChangeLog
index ed5b26dd82fa..db910636edc8 100644
--- a/games-kids/tuxmathscrabble/ChangeLog
+++ b/games-kids/tuxmathscrabble/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-kids/tuxmathscrabble
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.25 2015/03/25 13:47:16 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.26 2015/03/31 16:22:42 mr_bones_ Exp $
+
+ 31 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/tuxmathscrabble-0.7.4-gentoo.patch, -tuxmathscrabble-0.7.4.ebuild:
+ old
25 Mar 2015; Agostino Sarubbo <ago@gentoo.org> tuxmathscrabble-0.8.1.ebuild:
Stable for x86, wrt bug #542512
diff --git a/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.7.4-gentoo.patch b/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.7.4-gentoo.patch
deleted file mode 100644
index 6194978017b1..000000000000
--- a/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.7.4-gentoo.patch
+++ /dev/null
@@ -1,92 +0,0 @@
---- TuxMathScrabble/tms.py.old 2010-12-07 14:08:33.000000000 +0100
-+++ TuxMathScrabble/tms.py 2010-12-07 14:09:09.000000000 +0100
-@@ -1232,7 +1232,7 @@
- infname=os.path.join(homedir,'.tms_config')
-
- if not os.path.exists(infname):
-- master_fname=os.path.join('.','.tms_config_master')
-+ master_fname=os.path.join('@GENTOO_DATADIR@','.tms_config_master')
- if self.env.OS=='win':
- cmd="copy %s \"%s\""%(master_fname,os.path.join(homedir,'.tms_config'))
- os.system(cmd)
---- .tms_config_master 2010-01-15 14:36:13.000000000 +0100
-+++ .tms_config_master.new 2010-12-07 21:12:53.000000000 +0100
-@@ -380,66 +380,66 @@
- 'wtype':'wx.SpinCtrl',
- },
- 'FONT_APPNAME':{
-- 'default_path':os.path.join('.','Font'),
-+ 'default_path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'default_value':'mickey.ttf',
- 'descr':'',
- 'dtype':'wx.String',
-- 'path':os.path.join('.','Font'),
-+ 'path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'showme':-1,
- 'tooltip':'Font to be used for application name overlay.',
- 'value':'mickey.ttf',
- 'wtype':'wx.FileDialog',
- },
- 'FONT_BFONT':{
-- 'default_path':os.path.join('.','Font'),
-+ 'default_path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'default_value':'Bluehigh.ttf',
- 'descr':'',
- 'dtype':'wx.String',
-- 'path':os.path.join('.','Font'),
-+ 'path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'showme':0,
- 'tooltip':'Button Font',
- 'value':'Bluehigh.ttf',
- 'wtype':'wx.FileDialog',
- },
- 'FONT_CFONT':{
-- 'default_path':os.path.join('.','Font'),
-+ 'default_path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'default_value':'arialbd.ttf',
- 'descr':'',
- 'dtype':'wx.String',
-- 'path':os.path.join('.','Font'),
-+ 'path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'showme':0,
- 'tooltip':'Character font used for tile characters',
- 'value':'arialbd.ttf',
- 'wtype':'wx.FileDialog',
- },
- 'FONT_HUD':{
-- 'default_path':os.path.join('.','Font'),
-+ 'default_path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'default_value':'aqua_pfont.ttf',
- 'descr':'',
- 'dtype':'wx.String',
-- 'path':os.path.join('.','Font'),
-+ 'path':os.path.join('@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':os.path.join('.','Font'),
-+ 'default_path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'default_value':'arial.ttf',
- 'descr':'',
- 'dtype':'wx.String',
-- 'path':os.path.join('.','Font'),
-+ 'path':os.path.join('@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':os.path.join('.','Font'),
-+ 'default_path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'default_value':'Bluehigh.ttf',
- 'descr':'',
- 'dtype':'wx.String',
-- 'path':os.path.join('.','Font'),
-+ 'path':os.path.join('@GENTOO_DATADIR@','Font'),
- 'showme':0,
- 'tooltip':'Point value font (ie lower right corner of tiles)',
- 'value':'Bluehigh.ttf',
diff --git a/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild b/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild
deleted file mode 100644
index efe356b89a99..000000000000
--- a/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild,v 1.1 2015/02/03 16:57:03 tupone Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-single-r1 multilib games
-
-MY_PN=TuxMathScrabble
-DESCRIPTION="math-version of the popular board game for children 4-10"
-HOMEPAGE="http://www.asymptopia.org/"
-SRC_URI="mirror://gentoo/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc 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
- games_pkg_setup
-}
-
-src_prepare() {
- rm -f $(find . -name '*.pyc')
- epatch "${FILESDIR}"/${P}-gentoo.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${MY_PN}:" \
- ${MY_PN}/tms.py \
- .tms_config_master \
- || die "sed failed"
- python_fix_shebang .
-}
-
-src_install() {
- newgamesbin ${PN}.py ${PN}
-
- insinto $(python_get_sitedir)
- doins -r ${MY_PN}
-
- insinto "${GAMES_DATADIR}"/${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
- prepgamesdirs
-}