summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-24 00:22:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-24 00:22:30 +0000
commit633571e15f0590b9b869d8753f26753fb5745bd0 (patch)
tree49c9b25f60aa4df55f427769293f22d908c4a4bc /games-board
parentFix under quoting of the $ac_unique_file variable by Justace Clutter #96882. (diff)
downloadhistorical-633571e15f0590b9b869d8753f26753fb5745bd0.tar.gz
historical-633571e15f0590b9b869d8753f26753fb5745bd0.tar.bz2
historical-633571e15f0590b9b869d8753f26753fb5745bd0.zip
update HOMEPAGE, use python eclass, touchups
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pysol/Manifest14
-rw-r--r--games-board/pysol/pysol-4.82.ebuild26
2 files changed, 23 insertions, 17 deletions
diff --git a/games-board/pysol/Manifest b/games-board/pysol/Manifest
index f6afd83ec5bd..95f77726a1ce 100644
--- a/games-board/pysol/Manifest
+++ b/games-board/pysol/Manifest
@@ -1,4 +1,14 @@
-MD5 e2d558ab9e16f03098cfc8fca36c10bf ChangeLog 1140
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 f26c8c375d6eebfadb337d62a3fccdca pysol-4.82.ebuild 1216
+MD5 2ed9f5b51fdbd06e6ebca139b3068076 pysol-4.82.ebuild 1009
+MD5 e2d558ab9e16f03098cfc8fca36c10bf ChangeLog 1140
MD5 64d3e8b76a0ed236cf4a0fdb4a3e4b50 files/digest-pysol-4.82 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCu1JXgIKl8Uu19MoRAg+zAKCDiu2alJDTpk8qVeDQPWaCb9aj9ACePoGD
+0//k6CXOxxaOC0W3pRyxB40=
+=me08
+-----END PGP SIGNATURE-----
diff --git a/games-board/pysol/pysol-4.82.ebuild b/games-board/pysol/pysol-4.82.ebuild
index 6bbd9cdc77bb..0be918443e5a 100644
--- a/games-board/pysol/pysol-4.82.ebuild
+++ b/games-board/pysol/pysol-4.82.ebuild
@@ -1,43 +1,39 @@
# Copyright 1999-2005 Gentoo Foundation
# 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.10 2005/06/15 18:31:16 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.11 2005/06/24 00:22:30 vapier Exp $
+
+inherit python
DESCRIPTION="An exciting collection of more than 200 solitaire card games"
-HOMEPAGE="http://www.oberhumer.com/opensource/pysol/"
+HOMEPAGE="http://www.pysol.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc amd64"
+KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND="virtual/python
- >=sys-apps/sed-4"
+DEPEND="virtual/python"
RDEPEND="virtual/python
>=games-board/pysol-sound-server-3.0
>=dev-lang/tk-8.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
+ python_tkinter_exists
}
-src_install () {
+src_install() {
local prefix="/usr"
local datadir="${prefix}/share"
local pkgdatadir=${datadir}/${PN}/${PV}
sed -i \
-e "s|@prefix@|${prefix}|" \
- -e "s|@pkgdatadir@|${pkgdatadir}|" pysol || \
- die "sed pysol failed"
+ -e "s|@pkgdatadir@|${pkgdatadir}|" \
+ pysol || die "sed pysol failed"
dobin pysol || die "dobin failed"
- make prefix="${D}/usr" install-data
+ make prefix="${D}/usr" install-data || die "install-data failed"
insinto /usr/include/X11/pixmaps
doins data/pysol.xpm
doman pysol.6