29 lines
970 B
Bash
29 lines
970 B
Bash
# Template file for 'urlwatch'
|
|
pkgname=urlwatch
|
|
version=2.25
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-appdirs 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-Pygments python3-jq ${depends}"
|
|
short_desc="Tool for monitoring webpages for updates"
|
|
maintainer="RunningDroid <runningdroid@zoho.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://thp.io/2008/urlwatch/"
|
|
distfiles="${PYPI_SITE}/u/urlwatch/urlwatch-${version}.tar.gz"
|
|
checksum=6802297d3318286e7f3d36b9a4567a2fb09b0ae779d4b76811dd29a7281c1f8a
|
|
|
|
do_check() {
|
|
# skip the tests that require python modules that aren't packaged
|
|
# (pdftotext & pytesseract)
|
|
pytest -k 'not (pdf or ocr)' -v
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|