summaryrefslogtreecommitdiffstats
path: root/abs/extra/flexget/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-19 21:07:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-19 21:07:10 (GMT)
commit166ab2f7f91517c463a9b975c489b8b271c28326 (patch)
tree1e861220039ed1d8eb46d7a9f6e997f53280d120 /abs/extra/flexget/PKGBUILD
parent6738ae3ebd6c6b5ee9f7c5c741c4ddd907a805ba (diff)
downloadlinhes_pkgbuild-166ab2f7f91517c463a9b975c489b8b271c28326.zip
linhes_pkgbuild-166ab2f7f91517c463a9b975c489b8b271c28326.tar.gz
linhes_pkgbuild-166ab2f7f91517c463a9b975c489b8b271c28326.tar.bz2
flexget: initial inclusion
Diffstat (limited to 'abs/extra/flexget/PKGBUILD')
-rw-r--r--abs/extra/flexget/PKGBUILD93
1 files changed, 93 insertions, 0 deletions
diff --git a/abs/extra/flexget/PKGBUILD b/abs/extra/flexget/PKGBUILD
new file mode 100644
index 0000000..6c31358
--- /dev/null
+++ b/abs/extra/flexget/PKGBUILD
@@ -0,0 +1,93 @@
+# Maintainer: S. Leduc <sebastien@sleduc.fr>
+# Contributor: Amr Hassan <amr.hassan@gmail.com>
+# Contributor: Nathan Owe <ndowens.aur at gmail dot com>
+# Contributor: G. Richard Bellamy <rbellamy@pteradigm.com>
+
+pkgname=flexget
+_pkgname=Flexget
+pkgver=2.10.48
+pkgrel=1
+
+pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more."
+
+arch=('any')
+url="http://flexget.com/"
+license=('MIT')
+
+depends=('python2'
+ # documented in FlexGet.egg-info/requires.txt
+ 'python2-feedparser'
+ 'python2-sqlalchemy'
+ 'python2-yaml'
+ 'python2-beautifulsoup4'
+ 'python2-html5lib'
+ 'python2-pyrss2gen' #AUR#
+ 'python2-pynzb' #AUR#
+ 'python2-rpyc' #AUR#
+ 'python2-jinja'
+ 'python2-requests'
+ 'python2-dateutil'
+ 'python2-jsonschema'
+ 'python2-path' #AUR#
+ 'python2-guessit>=2.1.2'
+ 'python2-apscheduler>=3.2.0' #AUR#
+ 'python2-terminaltables'
+ 'python2-colorclass'
+ 'python2-pytvmaze>=1.4.8' #AUR#
+ 'python2-ordereddict'
+ 'python2-cherrypy>=3.7.0'
+ 'python2-flask'
+ 'python2-flask-restful' #AUR#
+ 'python2-flask-restplus086' #AUR#
+ 'python2-flask-compress'
+ 'python2-flask-login>=0.3.2'
+ 'python2-flask-cors>=2.1.2'
+ 'python2-pyparsing>=2.0.3'
+ 'python2-future'
+ 'python2-zxcvbn'
+ )
+optdepends=('python2-guppy: for memusage plugin' #AUR#
+ 'python2-transmissionrpc: Transmission support' #AUR#
+ 'python2-rarfile: decompress plugin' #AUR#
+ )
+makedepends=('python2-paver'
+ 'python2-setuptools'
+ )
+
+source=("https://github.com/Flexget/Flexget/archive/${pkgver}.tar.gz"
+ 'flexget.service'
+ "http://download.flexget.com/ChangeLog"
+ "fix_guessit_2.1.2.patch"
+ )
+
+changelog=ChangeLog
+
+sha256sums=('fe7024b516030f869189ff87afcaee09b31c34516c44346514715bf41e988f6f'
+ 'e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa'
+ 'dcc1bc676b8c2b798fa9a7e0ed2b6853323e9e9d8ff696696dddeaf29cbc13d6'
+ '8246a4cbdb902d41379c8c4e6045da349c98428adefaf682aff0413b8b8969f7')
+
+prepare() {
+ cd "${_pkgname}"-"${pkgver}"
+
+ msg "Patching shebangs to point to python2"
+ sed -i 's/\(python\)/\12/' flexget{,/ui}/__init__.py
+
+ patch -p0 < ${srcdir}/fix_guessit_2.1.2.patch
+
+}
+
+package() {
+ cd "${_pkgname}"-"${pkgver}"
+
+ # Python setup
+ python2 setup.py install --root="${pkgdir}"/ --prefix=/usr --optimize=1
+
+ # License
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+
+ # install systemd user unit
+ install -Dm644 ../flexget.service "${pkgdir}"/usr/lib/systemd/user/flexget.service
+}
+
+# vim:set ts=2 sw=2 et: