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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Mar 26 19:19:09 UTC 2019


    Date: Tuesday, March 26, 2019 @ 19:19:08
  Author: svenstaro
Revision: 443672

upgpkg: python-werkzeug 0.15.1-1

Modified:
  python-werkzeug/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-26 19:11:25 UTC (rev 443671)
+++ PKGBUILD	2019-03-26 19:19:08 UTC (rev 443672)
@@ -5,15 +5,15 @@
 # Contributor: Richard Murri
 
 pkgname=('python-werkzeug' 'python2-werkzeug')
-pkgver=0.14.1
-pkgrel=3
+pkgver=0.15.1
+pkgrel=1
 pkgdesc='Swiss Army knife of Python web development'
 url='http://werkzeug.pocoo.org/'
 arch=('any')
 license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pytest' 'python2-pytest' 'python-requests' 'python2-requests')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pytest' 'python2-pytest' 'python-requests' 'python2-requests' 'python-hypothesis' 'python2-hypothesis')
 source=("https://github.com/pallets/werkzeug/archive/${pkgver}.tar.gz")
-sha512sums=('71ec293b702f247b68bf82b4ff9e4351e21aa1949221c3cba46cd0db3c3f10ca2009029bf26869230ad32cec29109b279876b71f4aa0de64dd6635725c9baecb')
+sha512sums=('38b4210c9073b80b5e3f450b8b4504db24979aeb6ef6864a067e68ef6731a14bb77e64ccd6787b8d2719eb6b9ee75e103c8257c3ec8056f0ee03b5dd8ca8778d')
 
 prepare() {
   cp -r "werkzeug-$pkgver" "python-werkzeug-$pkgver"
@@ -30,20 +30,20 @@
   python2 setup.py build
 }
 
-# check() {
-#   cd "python-werkzeug-$pkgver"
-#   python setup.py test
-#
-#   cd "python2-werkzeug-$pkgver"
-#   python2 setup.py test
-# }
+check() {
+  cd "$srcdir/python-werkzeug-$pkgver"
+  python setup.py test
 
+  cd "$srcdir/python2-werkzeug-$pkgver"
+  python2 setup.py test
+}
+
 package_python-werkzeug() {
   depends=('python')
   cd "python-werkzeug-$pkgver"
 
   python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
 }
 
 package_python2-werkzeug() {
@@ -51,7 +51,7 @@
   cd "python2-werkzeug-$pkgver"
 
   python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list