[arch-commits] Commit in urlwatch/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Tue Aug 11 07:43:54 UTC 2020
Date: Tuesday, August 11, 2020 @ 07:43:54
Author: polyzen
Revision: 674428
upgpkg: urlwatch 2.21-2 Add python-pytesseract for ocr filter and tests
Modified:
urlwatch/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-11 07:29:12 UTC (rev 674427)
+++ PKGBUILD 2020-08-11 07:43:54 UTC (rev 674428)
@@ -6,7 +6,7 @@
pkgname=urlwatch
pkgver=2.21
-pkgrel=1
+pkgrel=2
pkgdesc='Tool for monitoring webpages for updates'
arch=('any')
url=https://thp.io/2008/urlwatch/
@@ -17,9 +17,10 @@
'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-docutils' 'python-pycodestyle' 'python-pytesseract'
-# 'python-pytest')
+ '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')
@@ -28,10 +29,10 @@
python setup.py build
}
-#check() {
-# cd $pkgname-$pkgver
-# pytest
-#}
+check() {
+ cd $pkgname-$pkgver
+ pytest
+}
package() {
cd $pkgname-$pkgver
More information about the arch-commits
mailing list