tupone      14/04/07 20:11:18

  Modified:             ChangeLog
  Added:                pysolfc-2.0-r3.ebuild
  Log:
  Relying on new python-exec Fix bug #504352
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0145142D)

Revision  Changes    Path
1.18                 games-board/pysolfc/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pysolfc/ChangeLog?rev=1.18&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pysolfc/ChangeLog?rev=1.18&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pysolfc/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog   24 Dec 2013 12:52:55 -0000      1.17
+++ ChangeLog   7 Apr 2014 20:11:18 -0000       1.18
@@ -1,6 +1,12 @@
 # ChangeLog for games-board/pysolfc
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v 1.17 
2013/12/24 12:52:55 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v 1.18 
2014/04/07 20:11:18 tupone Exp $
+
+*pysolfc-2.0-r3 (07 Apr 2014)
+
+  07 Apr 2014; Tupone Alfredo <[email protected]> +pysolfc-2.0-r3.ebuild,
+  +files/pysolfc-2.0-gentoo.patch:
+  Relying on new python-exec Fix bug #504352 by mgorny
 
   24 Dec 2013; Agostino Sarubbo <[email protected]> pysolfc-2.0-r2.ebuild:
   Stable for x86, wrt bug #490610



1.1                  games-board/pysolfc/pysolfc-2.0-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pysolfc/pysolfc-2.0-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pysolfc/pysolfc-2.0-r3.ebuild?rev=1.1&content-type=text/plain

Index: pysolfc-2.0-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/pysolfc-2.0-r3.ebuild,v 
1.1 2014/04/07 20:11:18 tupone Exp $

EAPI=5

PYTHON_COMPAT=( python2_6 python2_7 )
PYTHON_REQ_USE="tk"
DISTUTILS_SINGLE_IMPL="1"

inherit eutils python-single-r1 distutils-r1 games

MY_PN=PySolFC
SOL_URI="mirror://sourceforge/${PN}"

DESCRIPTION="An exciting collection of more than 1000 solitaire card games"
HOMEPAGE="http://pysolfc.sourceforge.net/";
SRC_URI="${SOL_URI}/${MY_PN}-${PV}.tar.bz2
        extra-cardsets? ( ${SOL_URI}/${MY_PN}-Cardsets-${PV}.tar.bz2 )"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="extra-cardsets minimal +sound"

S=${WORKDIR}/${MY_PN}-${PV}

DEPEND=""
RDEPEND="${RDEPEND}
        sound? ( dev-python/pygame[${PYTHON_USEDEP}] )
        !minimal? ( dev-python/pillow[tk,${PYTHON_USEDEP}]
                dev-tcltk/tktable )"

python_prepare_all() {
        local PATCHES=(
                "${FILESDIR}/${PN}-PIL-imports.patch" #471514
                "${FILESDIR}"/${P}-gentoo.patch
        )

        distutils-r1_python_prepare_all
}

pkg_setup() {
        games_pkg_setup
        python-single-r1_pkg_setup
}

src_prepare() {
        distutils-r1_src_prepare

        sed -i \
                -e "/pysol.desktop/d" \
                -e "s:share/icons:share/pixmaps:" \
                -e "s:data_dir =.*:data_dir = \'${GAMES_DATADIR}/${PN}\':" \
                setup.py || die

        sed -i \
                -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}/${PN}:" \
                pysollib/settings.py || die "fixing settings"

        mv docs/README{,.txt}
}

src_compile() {
        distutils-r1_src_compile
}

python_install_all() {
        make_desktop_entry pysol.py "PySol Fan Club Edition" pysol02

        if use extra-cardsets; then
                insinto "${GAMES_DATADIR}"/${PN}
                doins -r "${WORKDIR}"/${MY_PN}-Cardsets-${PV}/*
        fi

        doman docs/*.6

        DOCS=( README AUTHORS docs/README.txt docs/README.SOURCE )
        HTML_DOCS=( docs/*html )

        distutils-r1_python_install_all

        dodir "${GAMES_BINDIR}"

        mv "${D}"/usr/bin/pysol.py "${D}""${GAMES_BINDIR}"/

        prepgamesdirs
}

src_install() {
        distutils-r1_src_install
}




Reply via email to