archlinux-pkgbuilds/python2-pytvmaze/PKGBUILD
Cedric Girard dd7e849115 Add 'python2-pytvmaze/' from commit '1c2efcbba124e73424a0c68d343150c86206be3e'
git-subtree-dir: python2-pytvmaze
git-subtree-mainline: 84de3d09aa
git-subtree-split: 1c2efcbba1
2019-02-14 15:30:14 +01:00

18 lines
551 B
Bash

# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=python2-pytvmaze
_pkgname=pytvmaze
pkgver=2.0.8
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')
makedepends=(python2-distribute)
source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('562f807f97b1c626d9d9ab090195ba7b')
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}