python-urlreader update to 0.0a1

This commit is contained in:
Francesco Marinucci 2014-04-11 12:03:58 +00:00
parent faf1051af7
commit a6d04a247b

View File

@ -1,32 +1,28 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Fabien Valthier (hcooh) <hcoohb ah gmail dog com>
# include global config
# source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=python-urlreader
_pkgname=urlreader
pkgver=0.0a0
_pkgver=437535c6bab7
pkgname=python2-urlreader
_pkgname=URLReader
pkgver=0.0a1
pkgrel=1
pkgdesc="Simple Python package to download documents using HTTP."
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://hg.mtjm.eu/urlreader/tags"
license=('GPL3')
depends=('python2' 'python-distribute')
makedepends=('setuptools')
depends=('python2' 'python2-setuptools')
makedepends=('python2-setuptools')
provides=('python-urlreader')
conflicts=('python-urlreader')
replaces=('python-urlreader')
categories=('network')
source=(http://hg.mtjm.eu/$_pkgname/archive/$_pkgver.tar.gz)
md5sums=('0a265bfc13ee66b13d78ce9df2cf2f20')
source=("http://pypi.python.org/packages/source/U/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('5a96519a24099aae05fc0612d9cfd650')
build() {
cd $srcdir/$_pkgname-$_pkgver
cd $srcdir/$_pkgname-$pkgver
}
package() {
cd $srcdir/$_pkgname-$_pkgver
cd $srcdir/$_pkgname-$pkgver
export PYTHON="/usr/bin/python2"
python2 setup.py install --root=$pkgdir/ --optimize=1