summaryrefslogtreecommitdiff
blob: 0c8f4e6196f3294214d1c93d50232a255c2d76de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pylize/pylize-1.3b.ebuild,v 1.1 2005/12/18 23:34:44 lucass Exp $

inherit python

DESCRIPTION="Python HTML Slideshow Generator using HTML and CSS"
HOMEPAGE="http://www.chrisarndt.de/en/software/pylize/"
SRC_URI="http://www.chrisarndt.de/en/software/pylize/download/${P}.tar.bz2"

IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"

DEPEND="virtual/python
	dev-python/empy
	dev-python/imaging"

src_compile() {
	einfo "no need to compile"
}

src_install() {
	python install.py ${D}/usr || die

	# Fix Data dir in code
	sed -e "s:^sys_libdir.*:sys_libdir = \'/usr/share/pylize\':" -i ${D}/usr/bin/pylize

	python_version
	insinto /usr/lib/python${PYVER}/site-packages
	doins lib/roman.py

	dodoc COPYING Changelog README README.empy TODO
}