Date: Wednesday, July 29, 2020 @ 22:15:20 Author: polyzen Revision: 665809
archrelease: copy trunk to community-any Added: urlwatch/repos/community-any/PKGBUILD (from rev 665808, urlwatch/trunk/PKGBUILD) Deleted: urlwatch/repos/community-any/PKGBUILD ----------+ PKGBUILD | 85 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 40 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-29 22:15:01 UTC (rev 665808) +++ PKGBUILD 2020-07-29 22:15:20 UTC (rev 665809) @@ -1,45 +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.19 -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-setuptools' 'python-yaml') -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') -#checkdepends=('python-nose' 'python-pycodestyle') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('3279abed54868c09a4fcf113e06ba9d70c77e48c968136cfc1d9b602e54c4927') - -prepare() { - cd $pkgname-$pkgver - sed -i "s/'pycodestyle', //" setup.py -} - -build() { - cd $pkgname-$pkgver - python setup.py build -} - -# Code style errors (also on trunk) -#check() { -# cd $pkgname-$pkgver -# nosetests -#} - -package() { - cd $pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname COPYING -} Copied: urlwatch/repos/community-any/PKGBUILD (from rev 665808, urlwatch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-29 22:15:20 UTC (rev 665809) @@ -0,0 +1,40 @@ +# 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.20 +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-setuptools' 'python-yaml') +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') +#checkdepends=('python-pycodestyle' 'python-pytest') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('7547be0008a848acb1d252cab38b3649a36876acecd5bf39c7186a1d3b6f4aee') + +build() { + cd $pkgname-$pkgver + python setup.py build +} + +# https://github.com/thp/urlwatch/pull/545 +#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 +}