[arch-commits] Commit in gunicorn/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 22:46:50 UTC 2021


    Date: Wednesday, December 1, 2021 @ 22:46:50
  Author: foutrelis
Revision: 1061507

archrelease: copy trunk to community-staging-any

Added:
  gunicorn/repos/community-staging-any/PKGBUILD
    (from rev 1061506, gunicorn/trunk/PKGBUILD)
Deleted:
  gunicorn/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 47 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 22:46:46 UTC (rev 1061506)
+++ PKGBUILD	2021-12-01 22:46:50 UTC (rev 1061507)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
-# Contributor: pumpkin <pumpkin at mailoo dot org>
-# Contributor: Vsevolod Balashov <vsevolod at balashov dot name>
-
-pkgname=gunicorn
-pkgver=20.1.0
-pkgrel=2
-pkgdesc='WSGI HTTP Server for UNIX'
-arch=('any')
-url='https://gunicorn.org/'
-license=('MIT')
-depends=('python-setuptools')
-optdepends=('python-eventlet: For asynchronous request handling with eventlet.'
-            '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')
-
-prepare() {
-  sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
-}
-
-build() {
-  cd gunicorn-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd gunicorn-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd gunicorn-$pkgver
-  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gunicorn/repos/community-staging-any/PKGBUILD (from rev 1061506, gunicorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 22:46:50 UTC (rev 1061507)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
+# Contributor: pumpkin <pumpkin at mailoo dot org>
+# Contributor: Vsevolod Balashov <vsevolod at balashov dot name>
+
+pkgname=gunicorn
+pkgver=20.1.0
+pkgrel=3
+pkgdesc='WSGI HTTP Server for UNIX'
+arch=('any')
+url='https://gunicorn.org/'
+license=('MIT')
+depends=('python-setuptools')
+optdepends=('python-eventlet: For asynchronous request handling with eventlet.'
+            '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"
+        "$pkgname-eventlet-0.30.3.patch::https://github.com/benoitc/gunicorn/commit/6a8ebb4844b2.patch")
+sha512sums=('4fd905f62adc30e044cf2a56a1a77e14bc633258267d6bfbd4f6a68494f93f377e9fb9ed94fab7f11f9d7813857a680974a88c4b6bf97d4f1b74792a81810111'
+            'b9c11eab4725a05fffc21b74636518674139d458eb7267729cfbad5f96470600396f71faa1027160dd51e610d74ff785fc03e2d661837808062328a66d6a0442')
+
+prepare() {
+  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() {
+  cd gunicorn-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd gunicorn-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd gunicorn-$pkgver
+  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list