archlinux-pkgbuilds/python2-pytvmaze/PKGBUILD

19 lines
551 B
Text
Raw Permalink Normal View History

2015-11-16 12:39:18 +01:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=python2-pytvmaze
_pkgname=pytvmaze
2017-01-17 12:02:02 +01:00
pkgver=2.0.8
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")
2017-01-17 12:02:02 +01:00
md5sums=('562f807f97b1c626d9d9ab090195ba7b')
2015-11-16 12:39:18 +01:00
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}