blob: 375867ae1a4843cc9490dc6b674b4770424e7764 (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: S. Leduc <sebastien@sleduc.fr>
# Contributor: redfish <redfish@galactica.pw>
# 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
_name=Flexget
pkgver=3.11.8
pkgrel=1
pkgdesc="Multipurpose automation tool for downloading media content from different sources"
arch=(any)
url="https://github.com/flexget/flexget"
license=(MIT)
depends=(
libnotify
python
python-apscheduler
python-babelfish
python-beautifulsoup4
python-cherrypy
python-cloudscraper
python-dateutil
python-dnspython
python-feedparser
python-flask
python-flask-compress
python-flask-cors
python-flask-login
python-flask-restx
python-gobject
python-guessit
python-html5lib
python-jinja
python-jsonschema
python-loguru
python-lxml
python-packaging
python-paramiko
python-pendulum
python-pillow
python-psutil
python-pynzb
python-pyparsing
python-pyrss2gen
python-pysftp
python-rebulk
python-referencing
python-requests
python-rich
python-rpyc
python-sqlalchemy
python-typing-extensions
python-werkzeug
python-yaml
python-zxcvbn
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
)
checkdepends=(
python-boto3
python-plexapi
python-pytest
python-rarfile
python-transmissionrpc
python-vcrpy
)
optdepends=(
'python-boto3: SNS output plugin'
'python-plexapi: Plex support'
'python-rarfile: decompress plugin'
'python-transmissionrpc: Transmission support'
)
source=(
"$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
"flexget.service"
"flexget@.service"
)
sha256sums=(
'e4a40c1360d7cd0ff8b1fff78ee9d012ef90d6f6c554aa75590c12395e3d5f5c'
'117de8d5cbe0ac53ecd3be3e579f2cfa62ef186ab36e382f857059380447c5aa'
'aceecee5496a34c14c12ed5ad8b97197de32896f358b5aef63a84bf4a419756a'
)
_archive="$_name-$pkgver"
build() {
cd "$_archive"
python -m build --wheel --no-isolation
}
check() {
cd "$_archive"
pytest \
--deselect flexget/tests/test_decompress.py::TestExtract::test_delete_rar \
--deselect flexget/tests/test_decompress.py::TestExtract::test_rar
}
package() {
cd "$_archive"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dvm644 -t "$pkgdir/usr/lib/systemd/user/" "$srcdir/$pkgname"{,@}.service
install -Dvm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
|