blob: b4434aad75a5e461c918441ab59d982418185afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# 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.0.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.0.3'
'python2-apscheduler>=3.2.0' #AUR#
'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-safe'
'python2-future'
)
optdepends=('python2-guppy: for memusage plugin' #AUR#
'python2-transmissionrpc: Transmission support' #AUR#
'python2-rarfile: decompress plugin' #AUR#
)
makedepends=('python2-paver'
'python2-setuptools'
)
source=("https://pypi.python.org/packages/73/3f/326847ced17dd1f3ad2e3cd2019be43ff22f1c5f19b32295f776be1eb4a8/${_pkgname}-${pkgver}.tar.gz"
'flexget.service'
"http://download.flexget.com/ChangeLog"
)
changelog=ChangeLog
sha256sums=('48062be611ebcc6882d7e2e9055a6ba333c996979239e58417a45fe877636269'
'e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa'
'dcc1bc676b8c2b798fa9a7e0ed2b6853323e9e9d8ff696696dddeaf29cbc13d6')
prepare() {
cd "${_pkgname}"-"${pkgver}"
msg "Patching shebangs to point to python2"
sed -i 's/\(python\)/\12/' flexget{,/ui}/__init__.py
}
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:
|