Date: Monday, February 14, 2022 @ 13:43:31 Author: felixonmars Revision: 1133146
upgpkg: python-whitenoise 6.0.0-1 Modified: python-whitenoise/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-14 13:40:08 UTC (rev 1133145) +++ PKGBUILD 2022-02-14 13:43:31 UTC (rev 1133146) @@ -1,8 +1,8 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-whitenoise -pkgver=5.3.0 -pkgrel=2 +pkgver=6.0.0 +pkgrel=1 pkgdesc='Radically simplified static file serving for WSGI applications' arch=('any') license=('MIT') @@ -10,16 +10,9 @@ depends=('python') makedepends=('python-setuptools') checkdepends=('python-brotli' 'python-django' 'python-pytest' 'python-requests') -source=("$pkgname-$pkgver.tar.gz::https://github.com/evansd/whitenoise/archive/v$pkgver.tar.gz" - $pkgname-requests-2.26.0.patch::https://github.com/evansd/whitenoise/pull/294.patch) -sha512sums=('480098a4f4ad313f0346d72f1eca5ee2f571056077edcf07f40f37356043663fc1fa99c7a33f840c176c74ee9894a99e15828ecadae944dc0c9445034aef2cb4' - '8d8b1e028945bbe127dfd16999b6f7060b4f9e10d44f931974892c6b7f02e94d78e812301f33eed3c3d39b4fa282901ec076940431925181ad04f67908720c37') +source=("https://github.com/evansd/whitenoise/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('ae01070f510df78fdb0ae12ebca594d8a35a89dba5d7903516eb1c3078a1fd6493fc248db34250084584f46c9445738ea5f00106e4a64b7f1b344427b8b8f41b') -prepare() { - cd whitenoise-$pkgver - patch -Np1 -i ../$pkgname-requests-2.26.0.patch -} - build() { cd whitenoise-$pkgver python setup.py build @@ -27,7 +20,7 @@ check() { cd whitenoise-$pkgver - DJANGO_SETTINGS_MODULE=tests.django_settings pytest + DJANGO_SETTINGS_MODULE=tests.django_settings PYTHONPATH="$PWD"/build/lib pytest } package() {
