Date: Monday, April 12, 2021 @ 21:02:09 Author: polyzen Revision: 916062
archrelease: copy trunk to community-any Added: urlwatch/repos/community-any/PKGBUILD (from rev 916061, urlwatch/trunk/PKGBUILD) Deleted: urlwatch/repos/community-any/PKGBUILD ----------+ PKGBUILD | 103 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-12 21:01:46 UTC (rev 916061) +++ PKGBUILD 2021-04-12 21:02:09 UTC (rev 916062) @@ -1,51 +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.22 -pkgrel=5 -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-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=('6aa63ef6aa9476d571d177936dcdb40df82fd50fca58d0fb24cc851bccc54423') -b2sums=('e7f10872e5d7f42ec0ac1073783431c4b0e4fcdcf40884a9f7f52aee36705fbdbaaf5f9e671223715040c6f68cc580f531ba753c9326a2b1380d2fb707f66f1c') - -build() { - cd $pkgname-$pkgver - python setup.py build -} - -check() { - cd $pkgname-$pkgver - pytest - - # Remove created cache files for reproduciblity with rebuilderd - rm -r {lib/urlwatch/tests,share/urlwatch/examples}/__pycache__ -} - -package() { - cd $pkgname-$pkgver - export PYTHONHASHSEED=0 - 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 916061, urlwatch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-12 21:02:09 UTC (rev 916062) @@ -0,0 +1,52 @@ +# 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.23 +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=('jq: for the jq filter' + '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-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=('73a29efbef80c02bc8c285fca427793979c0e4bef40bc084df5de5436378b842') +b2sums=('330c52cad62985d24b2cc4c7345156abe9d5d369f8b3f4402856eb96a98f75422de49045bc10910e5cc81306744aad2dce7c05667a6f4eeb22b2bba47869f260') + +build() { + cd $pkgname-$pkgver + python setup.py build +} + +check() { + cd $pkgname-$pkgver + pytest + + # Remove created cache files for reproduciblity with rebuilderd + rm -r {lib/urlwatch/tests,share/urlwatch/examples}/__pycache__ +} + +package() { + cd $pkgname-$pkgver + export PYTHONHASHSEED=0 + 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: