From 4630e4c0dad578717d76083d5203fdcd79557ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sun, 7 Jul 2013 17:05:48 -0300 Subject: python2-relatorio-0.5.6-2: updating version --- pcr/python2-relatorio/PKGBUILD | 43 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 28 deletions(-) (limited to 'pcr/python2-relatorio') diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD index fcaae5c7a..104caf313 100644 --- a/pcr/python2-relatorio/PKGBUILD +++ b/pcr/python2-relatorio/PKGBUILD @@ -1,35 +1,22 @@ -# Maintainer: Jakub Klinkovský -# Contributor (Parabola): André Silva +# Contributor: Florian Walch +# Maintainer: Thomas Bahn +# Maintainer (Parabola): André Silva 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." -arch=('any') +pkgver=0.5.6 +pkgrel=2 +pkgdesc="A templating library able to output odt and pdf files" +arch=('i686' 'x86_64' 'mips64el') 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.5' 'python2-lxml>=1.3.6') +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') -- cgit v1.2.2