summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-01-02 07:58:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-01-02 07:58:42 +0000
commitebbb64db6001a5cf04c51cd3ad34b2f159312186 (patch)
tree7f2fe086eb07260135430096ded4b009977c67c3 /games-puzzle
parentVersion bump, remove old, add long description. Noteworthy upstream improveme... (diff)
downloadgentoo-2-ebbb64db6001a5cf04c51cd3ad34b2f159312186.tar.gz
gentoo-2-ebbb64db6001a5cf04c51cd3ad34b2f159312186.tar.bz2
gentoo-2-ebbb64db6001a5cf04c51cd3ad34b2f159312186.zip
EAPI=5; use python-single-r1
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/jools/ChangeLog10
-rw-r--r--games-puzzle/jools/jools-0.20-r2.ebuild57
2 files changed, 64 insertions, 3 deletions
diff --git a/games-puzzle/jools/ChangeLog b/games-puzzle/jools/ChangeLog
index 690ec6e5702a..c42b99f28445 100644
--- a/games-puzzle/jools/ChangeLog
+++ b/games-puzzle/jools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/jools
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/ChangeLog,v 1.11 2012/04/13 19:20:20 ulm Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/ChangeLog,v 1.12 2015/01/02 07:58:42 mr_bones_ Exp $
+
+*jools-0.20-r2 (02 Jan 2015)
+
+ 02 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org> +jools-0.20-r2.ebuild:
+ EAPI=5; use python-single-r1
13 Apr 2012; Ulrich Müller <ulm@gentoo.org> jools-0.20-r1.ebuild:
Move EAPI assignment to top of ebuild, bug 411875.
@@ -41,4 +46,3 @@
14 Jan 2007; <tupone@gentoo.org> +jools-0.20.ebuild:
New ebuild. Bug #93770 by Anton Romanov
-
diff --git a/games-puzzle/jools/jools-0.20-r2.ebuild b/games-puzzle/jools/jools-0.20-r2.ebuild
new file mode 100644
index 000000000000..3eaae4d4e837
--- /dev/null
+++ b/games-puzzle/jools/jools-0.20-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jools/jools-0.20-r2.ebuild,v 1.1 2015/01/02 07:58:42 mr_bones_ Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 games
+
+MUS_P=${PN}-musicpack-1.0
+DESCRIPTION="clone of Bejeweled, a popular pattern-matching game"
+HOMEPAGE="http://pessimization.com/software/jools/"
+SRC_URI="http://pessimization.com/software/jools/${P}.tar.gz
+ http://pessimization.com/software/jools/${MUS_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-python/pygame[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+RDEPEND=${DEPEND}
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+S=${WORKDIR}/${P}/jools
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"/music
+ unpack ${MUS_P}.tar.gz
+}
+
+src_prepare() {
+ echo "MEDIAROOT = \"${GAMES_DATADIR}/${PN}\"" > config.py
+ python_fix_shebang .
+}
+
+src_install() {
+ games_make_wrapper ${PN} "${EPYTHON} ./__init__.py" "$(games_get_libdir)"/${PN}
+ insinto "$(games_get_libdir)"/${PN}
+ doins *.py
+ python_optimize "${D}$(games_get_libdir)/${PN}"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r fonts images music sounds
+
+ newicon images/ruby/0001.png ${PN}.png
+ make_desktop_entry ${PN} Jools
+ dodoc ../{ChangeLog,doc/{POINTS,TODO}}
+ dohtml ../doc/manual.html
+ prepgamesdirs
+}