ptrcnull 14a8005845
testing/*: rebuild against python 3.12
small batch of packages that succeeded CI
2024-04-16 21:17:12 +02:00

43 lines
1.1 KiB
Plaintext

# Contributor: Thiago Perrotta <tbperrotta@gmail.com>
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=urlwatch
pkgver=2.28
pkgrel=1
pkgdesc="Tool for monitoring webpages for updates"
url="https://thp.io/2008/urlwatch/"
arch="noarch !ppc64le" # blocked by py3-keyring
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 $pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-$pkgver.tar.gz
lxml-5.patch
"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --root="$pkgdir" --skip-build
}
sha512sums="
21a662006dc92c0c636ef0beebc4f2ec90b82182aa0ba94a3348026c2c001b6d74198a14c198f681c8e773b640b6030b63de1a081984ea4d1bbc1e2648bc4161 urlwatch-2.28.tar.gz
ade44bf3953406c26699d7dbf3377c283b75e7ba38cba9710aad2a4fe488ce49435874e73a52f8009572692d4cc23b25f06ecfc6c7e5866745b4617daa3e001a lxml-5.patch
"