pkgname=flexget _pkgname=FlexGet pkgver=1.2.58 pkgrel=1 pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.)" arch=(any) url="http://flexget.com/" license=('MIT') depends=('python2' # documented in FlexGet.egg-info/requires.txt 'python2-feedparser>=5.1.3' 'python2-sqlalchemy>=0.9.1' 'python2-yaml' 'python2-beautifulsoup4<4.4' 'python2-html5lib>=0.11' 'python2-pyrss2gen' #AUR# 'python2-progressbar' 'python2-rpyc' #AUR# 'python2-jinja' 'python2-requests>=1.0' 'python2-dateutil-2.1' 'python2-jsonschema>=2.0' #AUR# 'python2-tvrage' #AUR# 'python2-tmdb3' #AUR# # undocumented in FlexGet.egg-info/requires.txt 'python2-certifi>=0.0.7' #AUR# # possibly required by python2-requests 'python2-pynzb' #AUR# ) optdepends=('python2-guppy: for memusage plugin' #AUR# 'python2-transmissionrpc: Transmission support' #AUR# 'python2-cherrypy: web interface' 'python2-flask: web interface' 'python2-pynzb: nzb support') makedepends=('python2-distribute') source=("http://download.flexget.com/${_pkgname}-${pkgver}.tar.gz") md5sums=('1b241ef81d1e4278c5e6ff04b5ece665') package() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py install --root="${pkgdir}/" optimize=1 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }