archlinux-pkgbuilds/PKGBUILD

19 lines
551 B
Text
Raw Normal View History

2015-11-16 12:39:18 +01:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=python2-pytvmaze
_pkgname=pytvmaze
2016-10-10 11:56:27 +02:00
pkgver=2.0.2
2015-11-16 12:39:18 +01:00
pkgrel=1
pkgdesc="Python interface to the TV Maze API "
arch=(any)
url="http://pypi.python.org/pypi/pytvmaze"
license=(MIT)
depends=('python2' 'python2-requests')
2015-11-16 12:39:18 +01:00
makedepends=(python2-distribute)
source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
2016-10-10 11:56:27 +02:00
md5sums=('579a852da0a11aa15879ecbcd37b1927')
2015-11-16 12:39:18 +01:00
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}