mr_bones_    15/01/01 01:49:51

  Modified:             ChangeLog
  Added:                qct-0.7-r1.ebuild
  Log:
  convert to python-single-r1; EAPI=5
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.9                  games-simulation/qct/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/ChangeLog?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/ChangeLog?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog   8 Apr 2010 08:48:11 -0000       1.8
+++ ChangeLog   1 Jan 2015 01:49:51 -0000       1.9
@@ -1,6 +1,11 @@
 # ChangeLog for games-simulation/qct
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v 1.8 
2010/04/08 08:48:11 tupone Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v 1.9 
2015/01/01 01:49:51 mr_bones_ Exp $
+
+*qct-0.7-r1 (01 Jan 2015)
+
+  01 Jan 2015; Michael Sterrett <[email protected]> +qct-0.7-r1.ebuild:
+  convert to python-single-r1; EAPI=5
 
   08 Apr 2010; Tupone Alfredo <[email protected]> qct-0.7.ebuild:
   Force use of python2 . Bug #312281 by [email protected]
@@ -26,4 +31,3 @@
   01 Apr 2004; Michael Sterrett <[email protected]> metadata.xml,
   qct-0.7.ebuild:
   initial commit; ebuild submitted by Alexandru Toma via bug #46472
-



1.1                  games-simulation/qct/qct-0.7-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild?rev=1.1&content-type=text/plain

Index: qct-0.7-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild,v 1.1 
2015/01/01 01:49:51 mr_bones_ Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1 games

DESCRIPTION="Quiet Console Town puts you in the place of the mayor of a budding 
new console RPG city"
HOMEPAGE="http://packages.gentoo.org/package/games-simulation/qct";
SRC_URI="http://www.sourcefiles.org/Games/Role_Play/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=">=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]"
RDEPEND=${RDEPEND}
REQUIRED_USE=${PYTHON_REQUIRED_USE}

S=${WORKDIR}/${PN}

src_prepare() {
        epatch "${FILESDIR}"/${P}-constant.patch
        python_fix_shebang .
}

src_install() {
        # Ug.  Someone fix this to install in $(games_get_libdir)/${PN} instead
        local destdir="${GAMES_DATADIR}/${PN}"
        insinto "${destdir}"
        exeinto "${destdir}"

        dodoc README
        doins *.py *.png
        doexe qct.py

        python_optimize "${D}${GAMES_DATADIR}/${PN}"

        games_make_wrapper qct "./qct.py" "${destdir}"

        prepgamesdirs
}

pkg_setup() {
        python-single-r1_pkg_setup
        games_pkg_setup
}




Reply via email to