summaryrefslogtreecommitdiff
path: root/pcr/python2-relatorio
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /pcr/python2-relatorio
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-relatorio')
-rw-r--r--pcr/python2-relatorio/PKGBUILD41
1 files changed, 14 insertions, 27 deletions
diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD
index fcaae5c7a..3e52303b4 100644
--- a/pcr/python2-relatorio/PKGBUILD
+++ b/pcr/python2-relatorio/PKGBUILD
@@ -1,35 +1,22 @@
-# Maintainer: Jakub Klinkovský <kuba.klinkovsky@gmail.com>
-# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
+# Contributor: Florian Walch <florian.walch@gmx.at>
+# Maintainer: Thomas Bahn <Thomas-Bahn@gmx.net>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=python2-relatorio
-pkgver=183
-pkgrel=1
-pkgdesc="Relatorio is an OpenHex and B2CK project to easily create reports in a variety of formats (openoffice text, PDF, XHTML) from python objects."
+pkgver=0.5.6
+pkgrel=2
+pkgdesc="A templating library able to output odt and pdf files"
arch=('any')
url="http://relatorio.openhex.org"
license=('GPL')
-depends=('python2-genshi' 'python2-lxml' 'python2-yaml' 'python2-pycha')
-makedepends=('mercurial' 'python2-distribute')
-
-_hgroot="http://hg.openhex.org/hgwebdir.cgi/relatorio"
-_hgrepo="relatorio"
+depends=('python2-genshi>=0.7' 'python2-lxml>=3.2.1')
+makedepends=('python2-distribute')
+source=("http://pypi.python.org/packages/source/r/relatorio/relatorio-$pkgver.tar.gz")
build() {
- cd "$srcdir"
- msg "Connecting to Mercurial server...."
-
- if [[ -d "$_hgrepo" ]]; then
- cd "$_hgrepo"
- hg pull -u
- msg "The local files are updated."
- else
- hg clone "$_hgroot" "$_hgrepo"
- fi
-
- msg "Mercurial checkout done or server timeout"
+ cd $srcdir/relatorio-$pkgver
+ chmod 644 relatorio.egg-info/*
+ python2 setup.py install --root=$pkgdir
}
-package() {
- cd "$srcdir/$_hgrepo"
- msg "Starting build..."
- python2 setup.py install --root=$pkgdir
-}
+
+md5sums=('944fb60fadaff451ab6ee8818de516ad')