alpha-quadrant/dev-python/pyexcelerator/pyexcelerator-0.6.4.1.ebuild
2013-04-19 14:26:39 +02:00

27 lines
660 B
Bash

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="Python im-/export filters for MS Excel files. Including xls2txt, xls2csv and xls2html commands."
HOMEPAGE="http://sourceforge.net/projects/pyexcelerator"
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="dev-lang/python"
src_install() {
python ./setup.py install --root=${D} || die
cd tools || die
ls *.py | while read file ; do mv "${file}" "${file/.py/}" ; done
dobin xls2txt || die
dobin xls2csv || die
dobin xls2html || die
}