blob: da7963e4c2c8d6c57a88eaec3c72634c886b5fff (
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
36
37
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ReportLab/ReportLab-1.11.ebuild,v 1.10 2003/02/13 11:33:10 vapier Exp $
#goofy tarball versioning
vmaj=${PV%%.*}
vmin=${PV##*.}
DESCRIPTION="Tools for generating printable PDF documents from any data source."
SRC_URI="http://www.reportlab.com/ftp/${PN}_${vmaj}_${vmin}.tgz"
HOMEPAGE="http://www.reportlab.com/"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 sparc alpha"
DEPEND=">=dev-lang/python-2.0
>=sys-libs/zlib-0.95
dev-python/Imaging"
S=${WORKDIR}/reportlab
src_install() {
#grab python verision so ebuild doesn't depend on it
local pv
pv=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:')
insinto /usr/lib/python$pv/site-packages
echo "reportlab" > reportlab.pth
doins reportlab.pth
#I'm feeling lazy
cd ../
cp -a reportlab ${D}/usr/lib/python$pv/site-packages
cd ${S}
dodoc README license.txt
}
|