blob: b15ee76d75d535af1cf73dc5eafe60b8518f30ea (
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
|
# Maintainer: Nicolas Lorin <androw95220@gmail.com>
# Contributor: Sin Kim <kimsin98@gmail.com>
pkgname=webchanges
pkgver=3.26.0
pkgrel=0
pkgdesc='Check web content for changes and notify'
arch=('any')
url='https://github.com/mborsetti/webchanges'
license=('MIT' 'BSD')
depends=('python-cssselect'
'python-html2text'
'python-httpx'
'python-lxml'
'python-markdown2'
'python-msgpack'
'python-platformdirs'
'python-requests'
'python-yaml'
'python-urllib3')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
optdepends=('python-playwright: option to use browser'
'python-psutil: option to use browser'
'google-chrome: option to use browser'
'python-beautifulsoup4: beautify filter and one of html2text filter methods'
'python-jsbeautifier: beautify filter'
'python-cssbeautifier: beautify filter'
'python-vobject: ical2text filter'
'python-jq: jq filter'
'python-pytesseract: ocr filter'
'python-pillow: ocr filter'
'python-pdftotext: pdf2text filter'
'python-deepdiff: deep difference'
'python-matrix-client-git: matrix reporter'
'python-pushbullet.py: pushbullet reporter'
'python-chump: pushover reporter'
'python-aioxmpp: xmpp reporter'
'python-redis: redis database'
'python-keyring: password keyring storage')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('5b54d315dc7d13211ecb9ef97bc13986b869f34e60cf16cfea2bdfbd3ce44e56')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|