tupone      15/02/03 17:05:59

  Modified:             ChangeLog
  Added:                tuxmathscrabble-0.8.1.ebuild
  Log:
  Version bump to 0.8.1. Bug #532012
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0145142D)

Revision  Changes    Path
1.23                 games-kids/tuxmathscrabble/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.23&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.23&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog   3 Feb 2015 16:57:03 -0000       1.22
+++ ChangeLog   3 Feb 2015 17:05:59 -0000       1.23
@@ -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 <[email protected]>
+  +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)
 



1.1                  games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild?rev=1.1&content-type=text/plain

Index: tuxmathscrabble-0.8.1.ebuild
===================================================================
# 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
}




Reply via email to