diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-12-08 08:55:55 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-12-08 08:55:55 +0000 |
commit | 8c3600360e36a4ab626f7ef00fb996ed712e35d6 (patch) | |
tree | c6c3581ee6773c9e29231fb19952385958ef24e6 /games-kids | |
parent | Automated update of use.local.desc (diff) | |
download | historical-8c3600360e36a4ab626f7ef00fb996ed712e35d6.tar.gz historical-8c3600360e36a4ab626f7ef00fb996ed712e35d6.tar.bz2 historical-8c3600360e36a4ab626f7ef00fb996ed712e35d6.zip |
Version bump to 0.7.4 Bug #202844
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/tuxmathscrabble/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/tuxmathscrabble/Manifest | 5 | ||||
-rw-r--r-- | games-kids/tuxmathscrabble/files/tuxmathscrabble-7.4-gentoo.patch | 92 | ||||
-rw-r--r-- | games-kids/tuxmathscrabble/tuxmathscrabble-7.4.ebuild | 59 |
4 files changed, 162 insertions, 2 deletions
diff --git a/games-kids/tuxmathscrabble/ChangeLog b/games-kids/tuxmathscrabble/ChangeLog index 6ef8345f054d..83b0e5661985 100644 --- a/games-kids/tuxmathscrabble/ChangeLog +++ b/games-kids/tuxmathscrabble/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-kids/tuxmathscrabble # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.15 2010/04/22 12:09:35 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.16 2010/12/08 08:55:55 tupone Exp $ + +*tuxmathscrabble-7.4 (08 Dec 2010) + + 08 Dec 2010; Tupone Alfredo <tupone@gentoo.org> +tuxmathscrabble-7.4.ebuild, + +files/tuxmathscrabble-7.4-gentoo.patch: + Version bump to 0.7.4 Bug #202844 by charlie cosse 22 Apr 2010; Tupone Alfredo <tupone@gentoo.org> tuxmathscrabble-4.5.ebuild: diff --git a/games-kids/tuxmathscrabble/Manifest b/games-kids/tuxmathscrabble/Manifest index 09764a96aa2d..69b6e85d28d5 100644 --- a/games-kids/tuxmathscrabble/Manifest +++ b/games-kids/tuxmathscrabble/Manifest @@ -1,7 +1,10 @@ AUX 2.7-gentoo.patch 1037 RMD160 472155e0ec525c8b4ec75183060e4af201f9833c SHA1 4697c9ddd6989e5f8fd737a5a98a76d8438acd7e SHA256 5be648296e647fd51423b3802e04a95249814755f00008c73482a8fb01eee59f +AUX tuxmathscrabble-7.4-gentoo.patch 3154 RMD160 cc0f2461d3731fca882e23fb58208e060fc6bafb SHA1 61a3b62c65aea8460ff5fde73f0dc1b54c7b46b6 SHA256 0e9ae4107036cd53221fb8f22c2b7dd7cb5b50050799a84291f9bf51a19cd3d3 DIST TuxMathScrabble-0.4.5.tgz 4359261 RMD160 055625a81042ebf1a486efeef8138f0e24f5bcc1 SHA1 23dfd41b8b1a75348f76bcab55c70b62f18c6a85 SHA256 4983dafcc3c5f93bc569715da93739e3aca219a09921c9df934dba48a5dada49 +DIST tuxmathscrabble-0.7.4.zip 7705680 RMD160 3e6ddd31f68f0890568b3263212d14e1efe8e36b SHA1 73cf84008ac5659d06046fd0fd08d4a400c2a46b SHA256 ab1d8daf817581ec8d55641432845127f014c5711fc7e9ed01145216d3619879 DIST tuxmathscrabble-2.7.tgz 607089 RMD160 b07e05ffd5273d486b32bbe2ebdc30056a55244d SHA1 c6c6fc40df50e7c5cda87e36ac135be89e9f25b0 SHA256 9f9a08defac5718fb460022e33c512b6a4a5f0da74497d0345f66ce7634aaea3 EBUILD tuxmathscrabble-2.7.ebuild 873 RMD160 99e482b087a432f9b5337921c30bdb454b67ee7f SHA1 ff1a4a229e1b6ae42e53d6a214afb6d47b3ee7ff SHA256 9759709cf5129a8f91a4bcf5ff199db02830afbe9858b38718376331b245b86c EBUILD tuxmathscrabble-4.5.ebuild 1509 RMD160 73a57f961a81b28d17daaa1ca25b7a2d2ef05ec3 SHA1 589a6d620a38c2bc4d8c054db15d4c051734998d SHA256 f1f2fb9618972e8ae856df51ce761b6c2f5d2e3bc582168fe392ed6455adfb7c -MISC ChangeLog 2064 RMD160 beab0e26230d6744e23966cba283b8c64ca5966c SHA1 76312348d634638dd991e703ee9d211732c582d4 SHA256 124971f49e48c1ae7dcf5292cc520a6bda29c76a1274c7b6c906806bbc840988 +EBUILD tuxmathscrabble-7.4.ebuild 1406 RMD160 5a9b266f20152ad1beaf342ed1e12481a24d58f2 SHA1 3b02ad385f10514d48ffe0ac6e06c0b2fb76270d SHA256 5077bd9bc96f2ccdc480f33e0d09ce7e4f274a1e090a3d28fafed80c9419ff73 +MISC ChangeLog 2276 RMD160 66616121191138169930c4e11b7754cea86b7e36 SHA1 7311c64c770f9415a3e661e1388f9971903a99d0 SHA256 74f56329e5f64f127abe4bb2deb1a10d21fd6b786e362f10bfca901b1f5eefd1 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-kids/tuxmathscrabble/files/tuxmathscrabble-7.4-gentoo.patch b/games-kids/tuxmathscrabble/files/tuxmathscrabble-7.4-gentoo.patch new file mode 100644 index 000000000000..6194978017b1 --- /dev/null +++ b/games-kids/tuxmathscrabble/files/tuxmathscrabble-7.4-gentoo.patch @@ -0,0 +1,92 @@ +--- 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-7.4.ebuild b/games-kids/tuxmathscrabble/tuxmathscrabble-7.4.ebuild new file mode 100644 index 000000000000..c67b65761c16 --- /dev/null +++ b/games-kids/tuxmathscrabble/tuxmathscrabble-7.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-7.4.ebuild,v 1.1 2010/12/08 08:55:55 tupone Exp $ + +EAPI=2 +PYTHON_DEPEND="2" +inherit eutils python multilib games + +MY_PN=TuxMathScrabble +MY_P=${PN}-0.${PV} +DESCRIPTION="math-version of the popular board game for children 4-10" +HOMEPAGE="http://www.asymptopia.org/" +SRC_URI="mirror://gentoo/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +CDEPEND="dev-python/wxpython" +DEPEND="${CDEPEND} + app-arch/unzip" +RDEPEND="${CDEPEND} + dev-python/pygame" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + python_set_active_version 2 + 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_convert_shebangs -r 2 . +} + +src_install() { + newgamesbin ${PN}.py ${PN} || die "newgamesbin failed" + + insinto $(python_get_sitedir) + doins -r ${MY_PN} || die "doins failed" + + insinto "${GAMES_DATADIR}"/${MY_PN} + doins -r .tms_config_master Font || die "doins failed" + + newicon tms.ico ${PN}.ico + make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico + + dodoc CHANGES README + prepgamesdirs + fperms -R g+w "${GAMES_STATEDIR}"/${MY_PN} +} |