Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 656194
Collapse All | Expand All

(-)/usr/portage/games-board/pysolfc/pysolfc-2.2.0.ebuild (-7 / +5 lines)
Lines 13-24 Link Here
13
DESCRIPTION="An exciting collection of more than 1000 solitaire card games"
13
DESCRIPTION="An exciting collection of more than 1000 solitaire card games"
14
HOMEPAGE="http://pysolfc.sourceforge.net/"
14
HOMEPAGE="http://pysolfc.sourceforge.net/"
15
SRC_URI="https://github.com/shlomif/${MY_PN}/archive/${P}.tar.gz
15
SRC_URI="https://github.com/shlomif/${MY_PN}/archive/${P}.tar.gz
16
	extra-cardsets? ( mirror://sourceforge/${PN}/archive/${P}/${MY_PN}-Cardsets-2.0.tar.bz2 )"
16
	mirror://sourceforge/${PN}/archive/${P}/${MY_PN}-Cardsets-2.0.tar.bz2"
17
17
18
LICENSE="GPL-3"
18
LICENSE="GPL-3"
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="~amd64 ~x86"
20
KEYWORDS="~amd64 ~x86"
21
IUSE="extra-cardsets minimal +sound"
21
IUSE="minimal +sound"
22
22
23
S=${WORKDIR}/${MY_PN}-${P}
23
S=${WORKDIR}/${MY_PN}-${P}
24
24
Lines 47-53 Link Here
47
47
48
python_compile_all() {
48
python_compile_all() {
49
	pushd html-src > /dev/null || die "html-src not found"
49
	pushd html-src > /dev/null || die "html-src not found"
50
	PYTHONPATH=../pysollib "${EPYTHON}" gen-html.py || die "gen-html failed"
50
	PYTHONPATH=.. "${EPYTHON}" gen-html.py || die "gen-html failed"
51
	mv images html/ || die "mv images failed"
51
	mv images html/ || die "mv images failed"
52
	popd > /dev/null
52
	popd > /dev/null
53
}
53
}
Lines 55-64 Link Here
55
python_install_all() {
55
python_install_all() {
56
	make_desktop_entry pysol.py "PySol Fan Club Edition" pysol02
56
	make_desktop_entry pysol.py "PySol Fan Club Edition" pysol02
57
57
58
	if use extra-cardsets; then
58
	insinto /usr/share/${PN}
59
		insinto /usr/share/${PN}
59
	doins -r "${WORKDIR}"/${MY_PN}-Cardsets-2.0/*
60
		doins -r "${WORKDIR}"/${MY_PN}-Cardsets-2.0/*
61
	fi
62
60
63
	dosym /usr/share/doc/${PF}/html /usr/share/${PN}/html
61
	dosym /usr/share/doc/${PF}/html /usr/share/${PN}/html
64
62

Return to bug 656194