# Template file for 'urlwatch'
pkgname=urlwatch
version=2.29
revision=1
build_style=python3-module
# skip the tests that require python modules that aren't packaged
# (pdftotext & pytesseract)
make_check_args="-k not((pdf)or(ocr))"
hostmakedepends="python3-setuptools"
depends="python3-platformdirs python3-keyring python3-minidb python3-requests
 python3-yaml python3-lxml python3-cssselect"
# Check the Docs for optional packages:
# https://urlwatch.readthedocs.io/en/latest/dependencies.html#optional-packages
checkdepends="python3-pytest python3-pycodestyle python3-docutils
 python3-jq python3-Pygments ${depends}"
short_desc="Tool for monitoring webpages for updates"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="BSD-3-Clause"
homepage="https://thp.io/2008/urlwatch/"
changelog="https://raw.githubusercontent.com/thp/urlwatch/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/u/urlwatch/urlwatch-${version}.tar.gz"
checksum=f317ca8b123b15af510ec9e08bf885d8a8b574f502253e5ded200d757366da98

post_install() {
	vlicense COPYING
}
