diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2015-02-03 17:06:04 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2015-02-03 17:06:04 +0000 |
commit | f5ec28f79638a4a709e43dc0e68edba19a9130c1 (patch) | |
tree | ec4f2d9c9cd17ead65c9fb2cdaed8d82810f3438 /games-kids/tuxmathscrabble | |
parent | Change version numbering following upstream (diff) | |
download | historical-f5ec28f79638a4a709e43dc0e68edba19a9130c1.tar.gz historical-f5ec28f79638a4a709e43dc0e68edba19a9130c1.tar.bz2 historical-f5ec28f79638a4a709e43dc0e68edba19a9130c1.zip |
Version bump to 0.8.1. Bug #532012
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x0145142D
Diffstat (limited to 'games-kids/tuxmathscrabble')
-rw-r--r-- | games-kids/tuxmathscrabble/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/tuxmathscrabble/Manifest | 11 | ||||
-rw-r--r-- | games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch | 92 | ||||
-rw-r--r-- | games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild | 62 |
4 files changed, 168 insertions, 5 deletions
diff --git a/games-kids/tuxmathscrabble/ChangeLog b/games-kids/tuxmathscrabble/ChangeLog index 18f26c7dfc16..4c068f34e727 100644 --- a/games-kids/tuxmathscrabble/ChangeLog +++ b/games-kids/tuxmathscrabble/ChangeLog @@ -1,6 +1,12 @@ # 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.22 2015/02/03 16:57:03 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.23 2015/02/03 17:05:59 tupone Exp $ + +*tuxmathscrabble-0.8.1 (03 Feb 2015) + + 03 Feb 2015; Tupone Alfredo <tupone@gentoo.org> + +tuxmathscrabble-0.8.1.ebuild, +files/tuxmathscrabble-0.8.1-gentoo.patch: + Version bump to 0.8.1. Bug #532012 by Charles Cosse *tuxmathscrabble-0.7.4 (03 Feb 2015) diff --git a/games-kids/tuxmathscrabble/Manifest b/games-kids/tuxmathscrabble/Manifest index 740b3509803a..337227b55af3 100644 --- a/games-kids/tuxmathscrabble/Manifest +++ b/games-kids/tuxmathscrabble/Manifest @@ -2,14 +2,17 @@ Hash: SHA256 AUX tuxmathscrabble-0.7.4-gentoo.patch 3154 SHA256 0e9ae4107036cd53221fb8f22c2b7dd7cb5b50050799a84291f9bf51a19cd3d3 SHA512 05a7d8948032900f7e0efa33b98a8dae48f8c0531349948d07f090fa14cd6d7ec307521ed09f545acee34378130a0439f386118d57ff6ce6604a9b506655c76a WHIRLPOOL 21bbdacbed6bf5e3317dac6f9051263a4112d939c741b8b0bc670ee728bd939e4d2cda1010d65769aaf8764c6b1569403e03d16d6ff386672f3fcd364552c12d +AUX tuxmathscrabble-0.8.1-gentoo.patch 2770 SHA256 31a8b35d2ba169a2e794793c2c9caada80c6d078932d363d6c1ddefb3c3f8e94 SHA512 5b57a84e7545776e9fc85266612b359f9ca2795586499a26cf621aaee4f8cf990edef9287c9e6ef8db8e4781b2da893070325c193ed9e163dbcc6f69fb86c245 WHIRLPOOL bfddc80b24f60d265ffecdfde8e3d0c109facc51cb554366643d615abafa1df6b612abbb784ab9358697abd59ff353680855ad974700c916b2d09559d8e72099 DIST tuxmathscrabble-0.7.4.zip 7705680 SHA256 ab1d8daf817581ec8d55641432845127f014c5711fc7e9ed01145216d3619879 SHA512 a990a19f5480d5e5a3221d9f8e11b205b1885199b358ff5403d1dd51947ede34ebc898bfb22f7104e69026727bc717460b192ee6d684f91e40525f950b14dbc2 WHIRLPOOL cb5b3b3eb89e027d9a5aee444755383f726923cdb64714ce09da749eeae2215d8eedc6e782fbc1c62ce04e9be15543406eb684f984a600aaac5c0c52f425e6bf +DIST tuxmathscrabble-0.8.1.tar.gz 9376820 SHA256 6cce0ecc9d30decf11cdf746e8c3dad4527022878b2efba433563b1ca0d28c92 SHA512 70a48b078af170c4008beca495576afc6e0dd72239b2b57543a98642ee9e8d13a2ae48aa5afab77015c8c56cd9a2d80865645504a620b2e2b798ed40f653533c WHIRLPOOL 2e5e35803b08e035bed343b66ca12bdd2d0bea09643885ec129acc6206203ac599a6cb6e85ce4a1772120f9898a418a68fdb64af4486e5b743750134833cc330 EBUILD tuxmathscrabble-0.7.4.ebuild 1363 SHA256 8ebd48959b24a207a0700693df40c6fcd518e9099251eae717e37e72966c912c SHA512 98e0f89e52b32600a005b2594b19d52cd073ae7eff35fe6033939c10e94b24cfe5bf98b748c0de7d2b39323ac045b6d7b47a19f9d3910645337098ea76887f13 WHIRLPOOL ffe159fddf777d69266e028833614ce8effd137380ef64f87336db485280d39ffc36208ade412694575ce87175cd2804762bbce1325293826231a37748a83acd -MISC ChangeLog 3205 SHA256 8e460596740e3417d6e51b2f83066f68c63559fbe41923fec41208142cdf0a72 SHA512 834739f0779915da9c7fa4cc166264ab9d13f35eacc76e756d6e6ea308e7d2507b62b12af4b48db0eb00131ece80107ac2d0787b5f4a7b0f7f395d403d5e7a19 WHIRLPOOL f04fdf928562d5cdfb77d638de59e6964a1d6d4c7b0180889b674a6062acbddb9f0ddc44abad55233628a78c14f0570e5b7ad70a28621cd21f52e281cbc14e33 +EBUILD tuxmathscrabble-0.8.1.ebuild 1490 SHA256 60a077a52765960b114f67afb45ed0b9a9c65619f2b1a1ad88ee7e02f8a9f400 SHA512 8cc60c4a248f6d106d9f19dfad07c61d8420d9880c77153bf640dc4399e1a3aa1368e9abc5d45dd27fe3bafc2d4b11446f5396bf6a920c4b367c8ef79995af90 WHIRLPOOL de9636517e1cbca0124addee06671cbb18a24a96ddd81027081ee3d18242f5dd9f1fdaba030ad5a8088936fc95c29ea82a10bd7bc989b2c71dbc37dd436f0831 +MISC ChangeLog 3424 SHA256 e35b9fd049926f340d2e306f7f75ce29a4dbe185bbd5455cba5499427c01e419 SHA512 df9b3ff2860af82236ab7a0802da0bf762ecea1b35f35f2968d614fd681c56a9eb5ee04ddafee70a2bb0ef0c3b0544d787c921b05210a13ee3560ae88778bb0f WHIRLPOOL ed5f20b789108177932a66903132f8d85ac9617e1467e5276499b8f85e70739b995c81072bb14b4693992d1a782f4f44e42d2a3606c110d2bd0a84a528720bb4 MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlTQ/eQACgkQIY77eQFFFC0P7ACg3oajXTXIZ/kjWYqlREQJ7hlE -zsgAoIBAVtEhVUF41MToTu9R/T41N1RO -=n464 +iEYEAREIAAYFAlTQ//gACgkQIY77eQFFFC3seACaAyV3jp169fytKQqExGMIx634 +xacAoO3ajbChsM98gz4y1E7Dr7QR3qFO +=6u1h -----END PGP SIGNATURE----- diff --git a/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch b/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch new file mode 100644 index 000000000000..691c29a3bb0e --- /dev/null +++ b/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch @@ -0,0 +1,92 @@ +--- TuxMathScrabble/tms.py.old 2015-02-02 22:19:30.894373011 +0100 ++++ 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 + +--- .tms_config_master.old 2015-02-02 22:21:59.655216399 +0100 ++++ .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', diff --git a/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild b/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild new file mode 100644 index 000000000000..2cfbf4898ccc --- /dev/null +++ b/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild @@ -0,0 +1,62 @@ +# 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.8.1.ebuild,v 1.1 2015/02/03 17:05:59 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="https://github.com/asymptopia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +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" + sed -i \ + -e "s:python2.7-32:python:g" \ + ${PN}.py || die "2nd 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 +} |