2011-01-03 11:44:00 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
|
|
|
|
pkgname=python-getmediumurl
|
|
|
|
_pkgname=GetMediumURL
|
2012-03-19 02:22:24 +08:00
|
|
|
pkgver=0.0a5
|
2011-03-08 08:15:01 +08:00
|
|
|
pkgrel=1
|
2011-01-03 11:44:00 +08:00
|
|
|
pkgdesc="Python module to get URLs of downloadable media and their metadata."
|
|
|
|
arch=('i686' 'x86_64')
|
2011-07-31 11:25:25 +08:00
|
|
|
url="http://pypi.python.org/pypi/GetMediumURL"
|
2011-01-03 11:44:00 +08:00
|
|
|
license=('GPL3')
|
2011-07-31 11:25:25 +08:00
|
|
|
depends=('python-lxml' 'python-simplejson' 'python-urlreader')
|
2011-01-03 11:44:00 +08:00
|
|
|
makedepends=('setuptools')
|
2011-07-31 11:25:25 +08:00
|
|
|
source=(http://pypi.python.org/packages/source/G/$_pkgname/$_pkgname-$pkgver.tar.gz)
|
2012-03-19 02:22:24 +08:00
|
|
|
md5sums=('0d3660e178bd58549d7a5718f8e39de2')
|
2011-01-03 11:44:00 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
|
|
|
|
export PYTHON="/usr/bin/python2"
|
|
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
|
|
}
|