[arch-commits] Commit in urlwatch/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Jan 31 19:41:38 UTC 2016


    Date: Sunday, January 31, 2016 @ 20:41:37
  Author: bgyorgy
Revision: 159688

upgpkg: urlwatch 2.0-1

Update to new version

Modified:
  urlwatch/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-31 19:40:10 UTC (rev 159687)
+++ PKGBUILD	2016-01-31 19:41:37 UTC (rev 159688)
@@ -4,31 +4,24 @@
 # Contributor: Allan McRae <allan at archlinux.org>
 
 pkgname=urlwatch
-pkgver=1.18
+pkgver=2.0
 pkgrel=1
 pkgdesc="A tool for monitoring webpages for updates"
 arch=('any')
 url="http://thp.io/2008/urlwatch/"
 license=('BSD')
-depends=('python2-futures')
+depends=('python-keyring' 'python-minidb' 'python-requests' 'python-yaml')
 source=("http://thp.io/2008/urlwatch/$pkgname-$pkgver.tar.gz")
-md5sums=('d3110c1961c70590f24f346ceae0e67f')
+md5sums=('799989901324ea670ae6610b738e7c8e')
 
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Python2 fix
-  sed -i 's@^#!.*python$@#!/usr/bin/python2@' lib/urlwatch/*.py
-}
-
 build() {
   cd $pkgname-$pkgver
-  python2 setup.py build
+  python3 setup.py build
 }
 
 package() {
   cd $pkgname-$pkgver
-  python2 setup.py install --root="$pkgdir"
+  python3 setup.py install --root="$pkgdir"
 
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }



More information about the arch-commits mailing list