version bump; clean out old ebuilds
authorMichael Sterrett <mr_bones_@gentoo.org>
Sun, 11 Feb 2007 18:08:15 +0000 (18:08 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sun, 11 Feb 2007 18:08:15 +0000 (18:08 +0000)
Package-Manager: portage-2.1.1-r2

games-board/glchess/ChangeLog
games-board/glchess/files/digest-glchess-1.0.2 [new file with mode: 0644]
games-board/glchess/glchess-1.0.2.ebuild [new file with mode: 0644]

index 61e1e81fc494e9176c21120ddabf8d9a75ba81d2..4a7647dd8b9d4f1e2d9f7d331e176c7ccb70b43f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-board/glchess
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/ChangeLog,v 1.11 2007/01/02 08:38:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/ChangeLog,v 1.12 2007/02/11 18:08:15 mr_bones_ Exp $
+
+*glchess-1.0.2 (11 Feb 2007)
+
+  11 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> -glchess-1.0.ebuild,
+  -glchess-1.0.1.ebuild, +glchess-1.0.2.ebuild:
+  version bump; clean out old ebuilds
 
 *glchess-1.0.1 (02 Jan 2007)
 
diff --git a/games-board/glchess/files/digest-glchess-1.0.2 b/games-board/glchess/files/digest-glchess-1.0.2
new file mode 100644 (file)
index 0000000..e218455
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 477937572bf4206dcf8247a5a8d20877 glchess-1.0.2.tar.gz 247585
+RMD160 877b09ba1d2345c926c77d5ffe505fafa275437c glchess-1.0.2.tar.gz 247585
+SHA256 253f651c675aa4f888387d7aa79f2a6b14d8c7aecda9e88a33b89043d041c524 glchess-1.0.2.tar.gz 247585
diff --git a/games-board/glchess/glchess-1.0.2.ebuild b/games-board/glchess/glchess-1.0.2.ebuild
new file mode 100644 (file)
index 0000000..4d6563d
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/glchess-1.0.2.ebuild,v 1.1 2007/02/11 18:08:15 mr_bones_ Exp $
+
+inherit python distutils games
+
+DESCRIPTION="A 3D OpenGL based chess game"
+HOMEPAGE="http://glchess.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE="nls"
+
+DEPEND="dev-python/pygtkglext
+       dev-python/imaging"
+
+DOCS="BUGS"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       sed -i \
+               -e "/_DIR/s:/usr/share/games:${GAMES_DATADIR}:" \
+               lib/glchess/gtkui/{dialogs,gtkui}.py \
+               lib/glchess/scene/opengl/{builtin_models,new_models,opengl}.py \
+               || die "sed failed"
+}
+
+src_install() {
+       python_version
+       distutils_src_install --install-scripts=${GAMES_BINDIR}
+       if use nls ; then
+               emake DESTDIR="${D}" install || die "emake install failed"
+       fi
+       rm -f "${D}"usr/share/doc/${PF}/{MANIFEST.in,PKG-INFO}.gz
+       prepgamesdirs
+}