Portage is a package management system used by Gentoo Linux
# ChangeLog for games-board/pysol
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/ChangeLog,v 1.21 2008/08/04 17:34:45 fmccor Exp $
04 Aug 2008; Ferris McCormick
Sparc stable, 30 day probation finished.
10 Jul 2008; Ferris McCormick
Add ~sparc, nice game which works fine.
29 May 2008; Ali Polatel
python_mod_optimize is ROOT aware.
28 Mar 2008; Tristan Heaven
Fix python eclass usage
06 Mar 2008; Chris Gianelloni
I hate to do this, but dropping from mips to ~mips since mips doesn't have a
stable dev-lang/tk version.
29 Feb 2008; Carsten Lohrke
Remove icon extension from desktop entry to match Icon Theme Specification.
*pysol-4.82-r2 (02 Apr 2007)
02 Apr 2007;
Merging pysol-cardsets
05 Oct 2006; Tristan Heaven
Fix .desktop file, bug #149740
29 Aug 2006; Joshua Kinard
Marked stable on mips.
08 Jul 2006; Markus Rothe
Stable on ppc64
25 May 2006; Markus Rothe
Added ~ppc64; bug #134214
13 Apr 2006; Chris Gianelloni
Cleaning up older ebuilds.
24 Mar 2006; Chris Gianelloni
Rearranged inherit to stick games last.
*pysol-4.82-r1 (24 Jun 2005)
24 Jun 2005; Mike Frysinger
+files/pysol-4.82-sound-ok.patch, +pysol-4.82-r1.ebuild:
Install the source to fix #81176 by David Ripton and fix an assert error
#94234 by Mark Knecht.
15 Jun 2005; Chris Gianelloni
Removed INSTALL file.
19 Nov 2004; Michael Sterrett
old tarball went away upstream.
19 Apr 2004; Chris Gianelloni
Marking stable on amd64 (no bugs in 229 days).
*pysol-4.82 (03 Sep 2003)
03 Sep 2003; Michael Sterrett
version bump
29 Apr 2003; Alastair Tse
Added tk missing warning
*pysol-4.81-r1 (16 Jul 2002)
16 Jul 2002; Jon Nelson
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
New ebuild for Py Solitaire
Closes bug #1963
AUX pysol-4.82-sound-ok.patch 635 RMD160 e3a43fce0433b59d335d2c1f8be35df57d488515 SHA1 45d845f10d478982c8866f30eefd2ef6ef79bac7 SHA256 ac4b0898cc3dc9f6fcf98f29409b2e68c5f4b2e58ebe75f3ceb8542556bd44f4
DIST pysol-4.82-src.tar.bz2 150515 RMD160 4d799903a7d8ef6600dae6c65333d136faf1fe32 SHA1 f5f1cc553b1eb44eba717494854f06015bae3ba0 SHA256 4f87d2dfbf08dd74a2f2a1fa5ab1f61314e7c86608b93b7280f856fbd7df6a8c
DIST pysol-4.82.tar.bz2 3586977 RMD160 98c6118339967b23d927f30fac64ccd84dd9eb8c SHA1 606ed86aa2ae70ee5655db961ca05a44755efd84 SHA256 294baeea1da0b8f1c0120b1ee39bb91774c60c2a4050574dd63dc2909f4a562a
DIST pysol-cardsets_4.40.orig.tar.gz 17811289 RMD160 470009d6b9d204a9928cee8f1ba35d81270eb410 SHA1 7b528e386e338a60648ee9a3f1889560eea6c535 SHA256 d2130adf766aae51a3353b603b6386a743207c2dfd2fad78adbb10105427ff86
EBUILD pysol-4.82-r2.ebuild 2008 RMD160 4abb3e4f65d718a00a4936f22e4c11db1e302070 SHA1 bf18696bdd228448b746992b71e48438b0fd7f16 SHA256 fddf22c87d75da3f233f9ffcc847c467b3b15d5b56e6d754a9e9a05b3bffb771
MISC ChangeLog 2882 RMD160 6e0a68b841df59e3f1873d316f70ead1ad23c81c SHA1 06068e04644ec889df03240a8425078d27ff61e8 SHA256 782fc9d663fc220ebd22ac91280a6bf9014f71dcab7cadb942d92aa306f6d009
MISC metadata.xml 239 RMD160 cccabf12d0902da5be8779d1fd9544a42f315ff1 SHA1 9525d6fc77ab059ca354ad8b5e4542d8f9fd8ca3 SHA256 49edb0fef47c08f16228231abb2c9569ace9991b1ef02af9c81a594dcdfded5f
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82-r2.ebuild,v 1.9 2008/08/04 17:34:45 fmccor Exp $
inherit eutils python games
PNX=pysol-cardsets
PVX=4.40
DESCRIPTION="An exciting collection of more than 200 solitaire card games"
HOMEPAGE="http://www.pysol.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://www.pysol.org/download/pysol/${P}-src.tar.bz2
extra-cardsets? (
mirror://debian/pool/main/p/${PNX}/${PNX}_${PVX}.orig.tar.gz
)"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
IUSE="extra-cardsets"
DEPEND="virtual/python"
RDEPEND="virtual/python
>=games-board/pysol-sound-server-3.0
>=dev-lang/tk-8.0"
pkg_setup() {
python_tkinter_exists
games_pkg_setup
}
src_unpack() {
unpack ${A}
cd "${S}"
rm -f Makefile data/*.pyc
epatch "${FILESDIR}"/${P}-sound-ok.patch #94234
if use extra-cardsets; then
mv ../${PNX}-${PVX}/README{,.extra}
mv ../${PNX}-${PVX}/NEWS{,.extra}
# Removing cardsets already shipped with pysol tar
local cardset
for cardset in cardset-2000 cardset-colossus cardset-hard-a-port \
cardset-hexadeck cardset-kintengu cardset-oxymoron \
cardset-tuxedo cardset-vienna-2k ; do
rm -rf ../${PNX}-${PVX}/data/${cardset}
done
fi
}
src_install() {
insinto "$(games_get_libdir)"/${PN}
doins -r src/* || die "src failed"
games_make_wrapper ${PN} "python ./pysol.py" "$(games_get_libdir)"/${PN}
insinto "${GAMES_DATADIR}"/${PN}
doins -r data/* || die "data failed"
doicon data/pysol.xpm
make_desktop_entry pysol PySol pysol 'Game;CardGame'
doman pysol.6
dodoc NEWS README
if use extra-cardsets; then
doins -r ../${PNX}-${PVX}/data/* || die "Installing extra cardsets failed"
dodoc ../${PNX}-${PVX}/{NEWS,README}.extra
fi
prepgamesdirs
}
pkg_postinst() {
python_mod_optimize "$(games_get_libdir)"/${PN}
games_pkg_postinst
}
pkg_postrm() {
python_mod_cleanup "$(games_get_libdir)"/${PN}
}