blob: b2faca6bde1a02e1e3fb4b3c7c766ce8e4a74093 (
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
|
# Maintainer: Tristan Hill
pkgname=changedetection.io
pkgver=0.45.8.1
pkgrel=3
pkgdesc='change monitoring of web pages'
arch=('any')
url='https://github.com/dgtlmoon/changedetection.io'
license=('Apache 2.0')
makedepends=('python-setuptools')
depends=(# ordered per https://github.com/dgtlmoon/changedetection.io/blob/master/requirements.txt
'python-flask-compress'
'python-eventlet'
'python-validators'
'python-timeago'
'python-inscriptis'
'python-feedgen'
'python-flask-compress'
'python-flask-login'
'python-flask-paginate'
'python-flask-expects-json'
'python-flask-restful'
'python-flask-wtf'
'python-flask'
'python-pytz'
'python-requests'
'python-urllib3'
'python-chardet'
'python-wtforms'
'python-jsonpath-ng'
'python-jq'
'apprise'
'python-paho-mqtt'
'python-cryptography'
'python-bs4'
'python-lxml'
'python-elementpath'
'python-selenium'
'python-werkzeug'
'python-jinja-time'
'python-types-python-dateutil' # required by jinja-time
'python-openpyxl'
'python-pillow'
'python-pytest-flask'
'python-pysocks')
source=("https://github.com/dgtlmoon/changedetection.io/archive/refs/tags/$pkgver.tar.gz"
'sysusers'
'tmpfiles'
'service')
sha512sums=('47c99b11549995bb23133cb5b1d6b26de132fea5ee4d1e0bef0a4eac6572f5cdf6e82abbd2c76998862f96b6fb994582267a2d96eaf1973ca75ab7be4f07810e'
'5ef8b215bddc02b04d55d3699f27ad043461d8771591be2ebf0ed6390c58ab881426214173c8e1cc8bb36ecd7acebc5d69d760fc65b8a3b191b2116150748f53'
'62a684e35c3b479b8ab139b2d79f83f408bede0d4e0f1e500ee75f13126456fa5b574d8cb826c8c56ff0da488dec4ed3562854d0f05d44814beaa3b726bcd318'
'06bed54b6df80a603451bb8ffde14bf612da6787c1ec38611cd501e2b889591f942feccd04d60acf3cc90d62453b2413eb9724a7dc948c10fc3cfeade6a29eb2')
package() {
cd "$srcdir/$pkgname-$pkgver"
# pinned to old versions
sed -Ei '/jsonschema|cryptography|selenium/s/[~=]=.*//' requirements.txt
# waiting on updates
sed -Ei '/werkzeug|flask_wtf|flask-login/s/[~=>]=.*//' requirements.txt
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 "${srcdir}/sysusers" "${pkgdir}/usr/lib/sysusers.d/changedetection.io.conf"
install -Dm644 "${srcdir}/tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/changedetection.io.conf"
install -Dm644 "${srcdir}/service" "${pkgdir}/usr/lib/systemd/system/changedetection.io.service"
}
|