Commit ecd2a5b5 authored by Fabian Affolter's avatar Fabian Affolter

testing/py-xlwt: new aport

xlwt is a library for generating spreadsheet files that are
compatible with Excel 97/2000/XP/2003, OpenOffice.org Calc,
and Gnumeric. xlwt has full support for Unicode. Excel
spreadsheets can be generated on any platform without needing
Excel or a COM server.

http://pypi.python.org/pypi/xlwt/
parent cccb1c70
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-xlwt
_pkgname=xlwt
pkgver=0.7.4
pkgrel=0
pkgdesc="A library to create spreadsheet files"
url="http://pypi.python.org/pypi/xlwt/"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="231f4ff30894fc70d142b4ed1ba71cc0 xlwt-0.7.4.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment