aboutsummaryrefslogtreecommitdiffstats
path: root/testing/urlwatch/APKBUILD
blob: 72c99f2dee2dc471fee816672cf7a21c67117f18 (plain) (blame)
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
# Contributor: Thiago Perrotta <tbperrotta@gmail.com>
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=urlwatch
pkgver=2.24
pkgrel=0
pkgdesc="Tool for monitoring webpages for updates"
url="https://thp.io/2008/urlwatch/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-appdirs py3-cssselect py3-keyring py3-lxml py3-minidb py3-requests py3-yaml"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-docutils py3-pycodestyle"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
}

sha512sums="
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52  urlwatch-2.24.tar.gz
"