Date: Tuesday, March 15, 2022 @ 22:36:31 Author: polyzen Revision: 1155214
archrelease: copy trunk to community-any Added: urlwatch/repos/community-any/PKGBUILD (from rev 1155213, urlwatch/trunk/PKGBUILD) Deleted: urlwatch/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-15 22:36:13 UTC (rev 1155213) +++ PKGBUILD 2022-03-15 22:36:31 UTC (rev 1155214) @@ -1,48 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Skydrome <skydr...@i2pmail.org> -# Contributor: Allan McRae <al...@archlinux.org> - -pkgname=urlwatch -pkgver=2.24 -pkgrel=2 -pkgdesc='Tool for monitoring webpages for updates' -arch=('any') -url=https://thp.io/2008/urlwatch/ -license=('BSD') -depends=('python-appdirs' 'python-cssselect' 'python-keyring' 'python-lxml' - 'python-minidb' 'python-requests' 'python-yaml') -makedepends=('python-setuptools') -checkdepends=('python-docutils' 'python-pycodestyle' 'python-pytesseract' - 'python-pytest') -optdepends=('lynx: for one of the html2text filter methods' - 'python-beautifulsoup4: for the beautify filter and one of the html2text filter methods' - 'python-cssbeautifier: for the beautify filter' - 'python-html2text: for one of the html2text filter methods' - 'python-jq: for the jq filter' - 'python-jsbeautifier: for the beautify filter' - 'python-pdftotext: for the pdf2text filter' - 'python-pyppeteer: for the browser job' - 'python-pytesseract: for the ocr filter') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('f0b36db4bccd38923b178b66408c0d80d3103b7257f286b78e87d991283b86d7') -b2sums=('7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613') - -build() { - cd $pkgname-$pkgver - python setup.py build -} - -check() { - cd $pkgname-$pkgver - pytest -} - -package() { - cd $pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname COPYING -} - -# vim:set ts=2 sw=2 et: Copied: urlwatch/repos/community-any/PKGBUILD (from rev 1155213, urlwatch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-15 22:36:31 UTC (rev 1155214) @@ -0,0 +1,48 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Skydrome <skydr...@i2pmail.org> +# Contributor: Allan McRae <al...@archlinux.org> + +pkgname=urlwatch +pkgver=2.25 +pkgrel=1 +pkgdesc='Tool for monitoring webpages for updates' +arch=('any') +url=https://thp.io/2008/urlwatch/ +license=('BSD') +depends=('python-appdirs' 'python-cssselect' 'python-keyring' 'python-lxml' + 'python-minidb' 'python-requests' 'python-yaml') +makedepends=('python-setuptools') +checkdepends=('python-docutils' 'python-pycodestyle' 'python-pytesseract' + 'python-pytest') +optdepends=('lynx: for one of the html2text filter methods' + 'python-beautifulsoup4: for the beautify filter and one of the html2text filter methods' + 'python-cssbeautifier: for the beautify filter' + 'python-html2text: for one of the html2text filter methods' + 'python-jq: for the jq filter' + 'python-jsbeautifier: for the beautify filter' + 'python-pdftotext: for the pdf2text filter' + 'python-pyppeteer: for the browser job' + 'python-pytesseract: for the ocr filter') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('6802297d3318286e7f3d36b9a4567a2fb09b0ae779d4b76811dd29a7281c1f8a') +b2sums=('85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40') + +build() { + cd $pkgname-$pkgver + python setup.py build +} + +check() { + cd $pkgname-$pkgver + pytest +} + +package() { + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname COPYING +} + +# vim:set ts=2 sw=2 et: