Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202844 - games-kids/tuxmathscrabble-0.7.3 version bump
Summary: games-kids/tuxmathscrabble-0.7.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.asymptopia.org/staticpages...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-20 03:56 UTC by charlie cosse
Modified: 2010-12-08 08:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tuxmathscrabble-0.5.6.ebuild (tuxmathscrabble-0.5.6.ebuild,770 bytes, text/plain)
2008-11-27 07:54 UTC, charlie cosse
Details
New ebuild for version 7.1 (tuxmathscrabble-7.1.ebuild,922 bytes, text/plain)
2010-01-02 23:10 UTC, charlie cosse
Details
games-kids/tuxmathscrabble-7.1.ebuild (tuxmathscrabble-7.1.ebuild,920 bytes, text/plain)
2010-01-03 21:27 UTC, charlie cosse
Details
tuxmathscrabble-7.1.ebuild (tuxmathscrabble-7.1.ebuild,894 bytes, text/plain)
2010-01-04 00:57 UTC, charlie cosse
Details
games-kids/tuxmathscrabble-7.1.ebuild (tuxmathscrabble-7.1.ebuild,898 bytes, text/plain)
2010-01-04 03:59 UTC, charlie cosse
Details
final tested ebuild v7.1 (tuxmathscrabble-7.1.ebuild,879 bytes, text/plain)
2010-01-04 04:50 UTC, charlie cosse
Details
games-kids/tuxmathscrabble-7.2 version bump (tuxmathscrabble-7.2.ebuild,802 bytes, text/plain)
2010-01-15 20:51 UTC, charlie cosse
Details
games-kids/tuxmathscrabble-7.3.ebuild (tuxmathscrabble-7.3.ebuild,795 bytes, text/plain)
2010-01-20 04:58 UTC, charlie cosse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlie cosse 2007-12-20 03:56:35 UTC
Current ebuild is for 4.5 and 5.0-rc3 was released today.  The version numbering was changed around June 2007 to coincide with other software using the same base library.  Thus, current "5.0" now appears as 0.5.0.  

Here is the tgz: 
http://www.asymptopia.org/software/TuxMathScrabble-0.5.0-rc3.tgz
Comment 1 charlie cosse 2008-11-25 19:59:05 UTC
TuxMathScrabble 0.5.5 was released on November 8, 2008
Comment 2 charlie cosse 2008-11-27 05:43:17 UTC
I wrote and tested a new ebuild for tuxmathscrabble but can't figure out how to add it via cvs and repoman.  Am pasting the ebuild here in case someone can help.  Also, old version (circa 2005) is 2.7.  Since then added leading zero such that current version is named 0.5.6 ... so would be good to remove 2.7 altogether since it's very old and clunky by comparison to 0.5.6.  Here is new ebuild file:
----------------------
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils python
DESCRIPTION="Math version of the popular board game for kids 4-40"

HOMEPAGE="http://www.asymptopia.org/"

SRC_URI="http://www.asymptopia.org/gentoo/${P}.tgz"

LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"

IUSE=""
DEPEND="dev-lang/python"

RDEPEND="dev-python/pygame
	dev-python/pygame
	media-libs/libsdl
	media-libs/sdl-image
	media-libs/sdl-mixer"


src_install() {
	insinto /usr/$(get_libdir)/python*/site-packages
	doins -r TuxMathScrabble
	insinto /usr/local/bin
	insopts -m0755
	doins tuxmathscrabble
	dodir /var/games
	dodir /var/games/TuxMathScrabble
	insinto /var/games/TuxMathScrabble
	doins -r Font
	doins -r Globals
}

Comment 3 charlie cosse 2008-11-27 07:54:04 UTC
Created attachment 173566 [details]
tuxmathscrabble-0.5.6.ebuild
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-12-16 04:26:28 UTC
The ebuild needs to inherit the games eclass and honor the GAMES_* variables before it can be included.
Comment 5 charlie cosse 2010-01-02 19:30:29 UTC
Would it be possible to remove tuxmathscrabble-2.7 from portage?  Some years back I added a leading zero to the release numbering scheme so 2.7 -> 0.2.7.  The current version is 0.7.1.  I also have a new ebuild for this version which will attach shortly.
Comment 6 charlie cosse 2010-01-02 23:08:00 UTC
(In reply to comment #5)
> Would it be possible to remove tuxmathscrabble-2.7 from portage?  Some years
> back I added a leading zero to the release numbering scheme so 2.7 -> 0.2.7. 
> The current version is 0.7.1.  I also have a new ebuild for this version which
> will attach shortly.
> 
Please disregard this request (for now) ... New ebuild in following post w/attachment ... dropping leading zero so new version is 7.1.
Comment 7 charlie cosse 2010-01-02 23:10:42 UTC
Created attachment 214965 [details]
New ebuild for version 7.1

inherits from games and uses GAMES_* variables
major upgrades since last gentoo version
Comment 8 charlie cosse 2010-01-03 21:27:34 UTC
Created attachment 215082 [details]
games-kids/tuxmathscrabble-7.1.ebuild
Comment 9 charlie cosse 2010-01-04 00:57:38 UTC
Created attachment 215104 [details]
tuxmathscrabble-7.1.ebuild
Comment 10 charlie cosse 2010-01-04 03:59:54 UTC
Created attachment 215122 [details]
games-kids/tuxmathscrabble-7.1.ebuild

Modified according to reviews on #gentoo-sunrise and now tested.
Comment 11 charlie cosse 2010-01-04 04:50:12 UTC
Created attachment 215132 [details]
final tested ebuild v7.1

there was a path problem before.
Comment 12 charlie cosse 2010-01-04 21:27:12 UTC
> Here is the tgz: 
> http://www.asymptopia.org/software/TuxMathScrabble-0.5.0-rc3.tgz
> 

This .tgz is no longer applicable.  Please use the persistent url in the ebuild.
Comment 13 charlie cosse 2010-01-15 20:51:38 UTC
Created attachment 216643 [details]
games-kids/tuxmathscrabble-7.2 version bump
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2010-01-20 01:38:25 UTC
That ebuild doesn't seem to work.

Other items.  Should use EAPI=2 and use deps for the sdl libraries that it needs.
Also, dogamesbin for the executable.

GAMES_STATEDIR doesn't seem like the right place to install the files used when the program is running.  I would expect to see the files installed in GAMES_DATADIR.

There's no need to explicitly depend on python.  That's in the system set.
Comment 15 charlie cosse 2010-01-20 04:58:15 UTC
Created attachment 216959 [details]
games-kids/tuxmathscrabble-7.3.ebuild

All suggestions of last post have been implemented except using GAMES_DATADIR as opposed to GAMES_STATEDIR. That change will be made in subsequent release.
Comment 16 Tupone Alfredo gentoo-dev 2010-12-08 08:57:19 UTC
Bumped to 0.7.4
Thanks for report