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

Felix Yan felixonmars at archlinux.org
Wed Jan 8 10:30:51 UTC 2020


    Date: Wednesday, January 8, 2020 @ 10:30:50
  Author: felixonmars
Revision: 550201

upgpkg: python-whitenoise 5.0.1-1

Modified:
  python-whitenoise/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-08 10:30:34 UTC (rev 550200)
+++ PKGBUILD	2020-01-08 10:30:50 UTC (rev 550201)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-whitenoise
-pkgver=4.1.4
-pkgrel=2
+pkgver=5.0.1
+pkgrel=1
 pkgdesc='Radically simplified static file serving for WSGI applications'
 arch=('any')
 license=('MIT')
@@ -9,9 +9,9 @@
 url='http://whitenoise.evans.io'
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-django' 'python-requests' 'python-brotli')
+checkdepends=('python-brotli' 'python-django' 'python-pytest' 'python-requests')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/evansd/whitenoise/archive/v$pkgver.tar.gz")
-sha512sums=('45d55976dbba26bfdde15537886d80593535b141636334c6e0ce403c9f6d474c177cd90ede339701eafcf4ac23dbb2cd4d36541563f477bdfaccce0bb51b10a5')
+sha512sums=('5f334e6a84bbf09175b6a7f3d06f6928ea336150b9c268ebd8ea60128293f1586a7475497de642e17b4baed6bffb2ba12f3c3f58f08e4627cdc992fa61cf3a7b')
 
 build() {
   cd whitenoise-$pkgver
@@ -19,11 +19,8 @@
 }
 
 check() {
-  export DJANGO_SETTINGS_MODULE=tests.django_settings
-  export PYTHONWARNINGS=all
-
   cd whitenoise-$pkgver
-  python -m unittest discover
+  DJANGO_SETTINGS_MODULE=tests.django_settings pytest
 }
 
 package() {



More information about the arch-commits mailing list