Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207920 Details for
Bug 253200
Suggest new package: games-board/PySolFC-1.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pysol-svn for python 2.x
pysolfc-9999.ebuild (text/plain), 2.46 KB, created by
Gary HUnt
on 2009-10-22 17:58:56 UTC
(
hide
)
Description:
pysol-svn for python 2.x
Filename:
MIME Type:
Creator:
Gary HUnt
Created:
2009-10-22 17:58:56 UTC
Size:
2.46 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 >inherit eutils python games subversion > >MY_PN=PySolFC >PNX="${MY_PN}-Cardsets" >PVX=1.1 >DESCRIPTION="A collection of more than 1000 solitaire card games. It is a fork of PySol Solitaire." >HOMEPAGE="http://pysolfc.sourceforge.net/" > >ESVN_REPO_URI="https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk" >ESVN_PROJECT="pythonfc-svn" > >#SRC_URI="mirror://sourceforge/pysolfc/${MY_PN}-${PV}.tar.bz2 ># extra-cardsets? ( ># mirror://sourceforge/pysolfc/${PNX}-${PVX}.tar.bz2 ># mirror://debian/pool/main/p/${PNX}/${PNX}-${PVX}.tar.bz2 ># )" > >LICENSE="GPL-3" # was GPL-2 >SLOT="0" >KEYWORDS="~x86" >#IUSE="+extra-cardsets" no clue how to add these with svn build. > >DEPEND="dev-lang/python[tk] > >=dev-lang/tk-8.4" # perhaps this should be >= 8.5 now. > >S=${WORKDIR}/PySolFC-${PV} > >src_prepare() { > rm -f Makefile # skip compilation > mv data/pysol.xpm ./${PN}.xpm # save the useful icon > rm -f data/{PySol.icns,pysol.ico,pysol.xbm} # and remove the rest > find . -name "*.py[co]" -exec rm -f '{}' + # these will be recreated later ># mv data/html/ . # this dir was moved to top dir and renamed html-src > mv html-src html # game requires it to be named this > # put a valid search path for data on the settings > sed -i \ > -e "s:/usr/share/PySolFC:${GAMES_DATADIR}/${MY_PN}/:g" \ > pysollib/settings.py \ > || die "sed failed" > > if use extra-cardsets; then > # remove the cardsets that come in the main tar > # but only if they come on the extra tar as well > local cardset > for cardset in $(ls "${WORKDIR}"/${PNX}-${PVX}/); do > rm -rf data/${cardset##*/} > done > # and put the extra cardsets in its place > mv "${WORKDIR}"/${PNX}-${PVX}/* data/ || die > fi >} > >src_install() { > insinto "$(games_get_libdir)"/${MY_PN} > doins -r pysol.py pysollib || die "src failed" > games_make_wrapper ${MY_PN} "python ./pysol.py" "$(games_get_libdir)"/${MY_PN} > > insinto "${GAMES_DATADIR}"/${MY_PN} > doins -r data/* || die "data failed" > > doicon ${PN}.xpm > make_desktop_entry PySolFC PySolFC /usr/share/pixmaps/${PN}.xpm > > doman docs/pysol.6 > dodoc README > dohtml html/* ># domo po/ru.po no longer included. > > #the html dir needs to appear in the data dir as well > dosym "/usr/share/doc/${PF}"/html "${GAMES_DATADIR}"/${MY_PN} > > prepgamesdirs >} > >pkg_postinst() { > python_mod_optimize "$(games_get_libdir)"/${MY_PN} > games_pkg_postinst >} > >pkg_postrm() { > python_mod_cleanup "$(games_get_libdir)"/${MY_PN} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 253200
:
176917
|
207236
| 207920 |
207932
|
222539