[arch-commits] Commit in urlwatch/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:34:31 UTC 2020
Date: Thursday, November 12, 2020 @ 17:34:30
Author: foutrelis
Revision: 752674
archrelease: copy trunk to community-staging-any
Added:
urlwatch/repos/community-staging-any/
urlwatch/repos/community-staging-any/PKGBUILD
(from rev 752673, urlwatch/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: urlwatch/repos/community-staging-any/PKGBUILD (from rev 752673, urlwatch/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:34:30 UTC (rev 752674)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Skydrome <skydrome at i2pmail.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+
+pkgname=urlwatch
+pkgver=2.21
+pkgrel=3
+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'
+ 'python-pytesseract: for the ocr filter')
+checkdepends=('python-docutils' 'python-pycodestyle' 'python-pytesseract'
+ 'python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('c259e0169cc99114b54470d08a8312473159dfdbed1d712d1a222fd8a9d7291a')
+
+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
+}
More information about the arch-commits
mailing list