[arch-commits] Commit in urlwatch/repos (staging-any staging-any/PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Sun Nov 22 03:24:22 UTC 2020
Date: Sunday, November 22, 2020 @ 03:24:21
Author: polyzen
Revision: 758828
archrelease: copy trunk to staging-any
Added:
urlwatch/repos/staging-any/
urlwatch/repos/staging-any/PKGBUILD
(from rev 758827, urlwatch/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: urlwatch/repos/staging-any/PKGBUILD (from rev 758827, urlwatch/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-11-22 03:24:21 UTC (rev 758828)
@@ -0,0 +1,42 @@
+# 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=4
+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-pdftotext: for the pdf2text 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