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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 8 23:40:46 UTC 2021


    Date: Wednesday, December 8, 2021 @ 23:40:46
  Author: foutrelis
Revision: 1065722

Fix a test broken by requests 2.26.0

Modified:
  python-whitenoise/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-08 23:01:19 UTC (rev 1065721)
+++ PKGBUILD	2021-12-08 23:40:46 UTC (rev 1065722)
@@ -10,9 +10,16 @@
 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")
-sha512sums=('480098a4f4ad313f0346d72f1eca5ee2f571056077edcf07f40f37356043663fc1fa99c7a33f840c176c74ee9894a99e15828ecadae944dc0c9445034aef2cb4')
+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')
 
+prepare() {
+  cd whitenoise-$pkgver
+  patch -Np1 -i ../$pkgname-requests-2.26.0.patch
+}
+
 build() {
   cd whitenoise-$pkgver
   python setup.py build



More information about the arch-commits mailing list