[arch-commits] Commit in gunicorn/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 22:46:15 UTC 2021
Date: Wednesday, December 1, 2021 @ 22:46:15
Author: foutrelis
Revision: 1061505
Add upstream fix for eventlet API change
Modified:
gunicorn/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 22:34:57 UTC (rev 1061504)
+++ PKGBUILD 2021-12-01 22:46:15 UTC (rev 1061505)
@@ -15,11 +15,17 @@
'python-gevent: For asynchronous request handling with gevent.')
checkdepends=('python-aiohttp' 'python-coverage' 'python-pytest' 'python-pytest-cov'
'python-eventlet' 'python-gevent')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz")
-sha512sums=('4fd905f62adc30e044cf2a56a1a77e14bc633258267d6bfbd4f6a68494f93f377e9fb9ed94fab7f11f9d7813857a680974a88c4b6bf97d4f1b74792a81810111')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz"
+ "$pkgname-eventlet-0.30.3.patch::https://github.com/benoitc/gunicorn/commit/6a8ebb4844b2.patch")
+sha512sums=('4fd905f62adc30e044cf2a56a1a77e14bc633258267d6bfbd4f6a68494f93f377e9fb9ed94fab7f11f9d7813857a680974a88c4b6bf97d4f1b74792a81810111'
+ 'b9c11eab4725a05fffc21b74636518674139d458eb7267729cfbad5f96470600396f71faa1027160dd51e610d74ff785fc03e2d661837808062328a66d6a0442')
prepare() {
- sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
+ cd gunicorn-$pkgver
+ sed -e 's/==/>=/' -e 's/,<.*$//' -i requirements_test.txt
+
+ # https://github.com/benoitc/gunicorn/pull/2581
+ patch -Np1 -i ../$pkgname-eventlet-0.30.3.patch
}
build() {
More information about the arch-commits
mailing list