summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/pysol')
-rw-r--r--games-board/pysol/ChangeLog24
-rw-r--r--games-board/pysol/Manifest5
-rw-r--r--games-board/pysol/files/digest-pysol-4.81-r11
-rw-r--r--games-board/pysol/files/digest-pysol-4.821
-rw-r--r--games-board/pysol/pysol-4.81-r1.ebuild60
-rw-r--r--games-board/pysol/pysol-4.82.ebuild61
6 files changed, 152 insertions, 0 deletions
diff --git a/games-board/pysol/ChangeLog b/games-board/pysol/ChangeLog
new file mode 100644
index 000000000000..34aa01bb575d
--- /dev/null
+++ b/games-board/pysol/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for app-games/pysol
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/ChangeLog,v 1.1 2003/09/10 17:46:27 vapier Exp $
+
+*pysol-4.82 (03 Sep 2003)
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> pysol-4.82.ebuild:
+ version bump
+
+ 29 Apr 2003; Alastair Tse <liquidx@gentoo.org> pysol-4.81-r1.ebuild:
+ Added tk missing warning
+
+*pysol-4.81-r1 (16 Jul 2002)
+
+ 16 Jul 2002; Jon Nelson <jnelson@gentoo.org> pysol-4.81-r1.ebuild files/digest-pysol-4.81-r1:
+
+ Updated ebuild to depend on tcltk (Closes: #4849)
+ Removed pysol-4.81.ebuild files/digest-pysol-4.81
+
+*pysol-4.81 (08 Jul 2002)
+
+ 08 Jul 2002; Jon Nelson <jnelson@gentoo.org> pysol-4.81.ebuild ChangeLog:
+ New ebuild for Py Solitaire
+ Closes bug #1963
diff --git a/games-board/pysol/Manifest b/games-board/pysol/Manifest
new file mode 100644
index 000000000000..5b9dbc6b14dd
--- /dev/null
+++ b/games-board/pysol/Manifest
@@ -0,0 +1,5 @@
+MD5 c073db34dd7b8e49a0ab2e4d0cb03a24 ChangeLog 815
+MD5 aab6e91aa9113a8958a30488dd0d0c8e pysol-4.81-r1.ebuild 1639
+MD5 7d88d90a8927da4ba2817774a07817a6 pysol-4.82.ebuild 1627
+MD5 b678862ac0cf6cb48cc82b461ff685a7 files/digest-pysol-4.81-r1 64
+MD5 64d3e8b76a0ed236cf4a0fdb4a3e4b50 files/digest-pysol-4.82 64
diff --git a/games-board/pysol/files/digest-pysol-4.81-r1 b/games-board/pysol/files/digest-pysol-4.81-r1
new file mode 100644
index 000000000000..77b1162721e8
--- /dev/null
+++ b/games-board/pysol/files/digest-pysol-4.81-r1
@@ -0,0 +1 @@
+MD5 3a4148f8cd4afd907f7f6798e4ab976f pysol-4.81.tar.bz2 3379257
diff --git a/games-board/pysol/files/digest-pysol-4.82 b/games-board/pysol/files/digest-pysol-4.82
new file mode 100644
index 000000000000..ed27f3ab1579
--- /dev/null
+++ b/games-board/pysol/files/digest-pysol-4.82
@@ -0,0 +1 @@
+MD5 31a3ed96c6feb54717c6bce9ddd82b24 pysol-4.82.tar.bz2 3586977
diff --git a/games-board/pysol/pysol-4.81-r1.ebuild b/games-board/pysol/pysol-4.81-r1.ebuild
new file mode 100644
index 000000000000..1a151ed38460
--- /dev/null
+++ b/games-board/pysol/pysol-4.81-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.81-r1.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="PySol card game"
+SRC_URI="http://www.oberhumer.com/opensource/pysol/download/${P}.tar.bz2"
+HOMEPAGE="http://www.oberhumer.com/opensource/pysol/"
+
+DEPEND="virtual/python"
+RDEPEND=">=app-games/pysol-sound-server-3.0
+ >=dev-lang/tk-8.0
+ ${DEPEND}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+pkg_setup() {
+ if ! python -c "import Tkinter" >/dev/null 2>&1
+ then
+ eerror "You need to recompile python with Tkinter support."
+ eerror "That means: USE='tcltk' emerge python"
+ echo
+ die "missing tkinter support with installed python"
+ fi
+}
+
+src_install () {
+ #tar -xvjf ${DISTDIR}/${P}.tar.bz2 -C ${D}/opt || die
+ local prefix
+ local datadir
+ local pkgdatadir
+
+ prefix="/usr"
+ datadir="${prefix}/share"
+ pkgdatadir=${datadir}/${PN}/${PV}
+
+ mv ${S}/pysol ${S}/pysol.orig
+ sed -e "s|@prefix@|${prefix}|" -e "s|@pkgdatadir@|${pkgdatadir}|" < pysol.orig > pysol
+ dobin pysol
+
+ make prefix=${D}/usr install-data
+
+ insinto /usr/X11R6/include/X11/pixmaps
+ doins data/pysol.xpm
+
+ doman pysol.6
+
+# cp -a ${WORKDIR}/pysol-cardsets-4.40/data/cardset-* ${D}/opt/${P}/data/
+# cp -a ${WORKDIR}/pysol-music-4.40/data/music/* ${D}/opt/${P}/data/music/
+ dodoc COPYING INSTALL NEWS README
+}
+
+pkg_postinst() {
+ einfo "Please make sure that python was built with TK support:"
+ einfo "grep tcltk /var/db/pkg/dev-lang/python*/USE"
+ einfo "If the grep fails, then:"
+ einfo "USE='tcltk' emerge python"
+}
diff --git a/games-board/pysol/pysol-4.82.ebuild b/games-board/pysol/pysol-4.82.ebuild
new file mode 100644
index 000000000000..fbac510584f4
--- /dev/null
+++ b/games-board/pysol/pysol-4.82.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $
+
+DESCRIPTION="An exciting collection of more than 200 solitaire card games"
+SRC_URI="http://www.oberhumer.com/opensource/pysol/download/${P}.tar.bz2"
+HOMEPAGE="http://www.oberhumer.com/opensource/pysol/"
+
+DEPEND="virtual/python
+ >=sys-apps/sed-4"
+RDEPEND="virtual/python
+ >=app-games/pysol-sound-server-3.0
+ >=dev-lang/tk-8.0"
+
+KEYWORDS="x86 ppc"
+LICENSE="GPL-2"
+SLOT="0"
+
+pkg_setup() {
+ if ! python -c "import Tkinter" >/dev/null 2>&1
+ then
+ eerror "You need to recompile python with Tkinter support."
+ eerror "That means: USE='tcltk' emerge python"
+ echo
+ die "missing tkinter support with installed python"
+ fi
+}
+
+src_install () {
+ local prefix
+ local datadir
+ local pkgdatadir
+
+ prefix="/usr"
+ datadir="${prefix}/share"
+ pkgdatadir=${datadir}/${PN}/${PV}
+
+ sed -i \
+ -e "s|@prefix@|${prefix}|" \
+ -e "s|@pkgdatadir@|${pkgdatadir}|" pysol || \
+ die "sed pysol failed"
+ dobin pysol
+
+ make prefix=${D}/usr install-data
+
+ insinto /usr/X11R6/include/X11/pixmaps
+ doins data/pysol.xpm
+
+ doman pysol.6
+
+# cp -a ${WORKDIR}/pysol-cardsets-4.40/data/cardset-* ${D}/opt/${P}/data/
+# cp -a ${WORKDIR}/pysol-music-4.40/data/music/* ${D}/opt/${P}/data/music/
+ dodoc COPYING INSTALL NEWS README
+}
+
+pkg_postinst() {
+ einfo "Please make sure that python was built with TK support:"
+ einfo "grep tcltk /var/db/pkg/dev-lang/python*/USE"
+ einfo "If the grep fails, then:"
+ einfo "USE='tcltk' emerge python"
+}