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

2020-01-23 Thread Felix Yan via arch-commits
Date: Thursday, January 23, 2020 @ 23:25:21
  Author: felixonmars
Revision: 555267

upgpkg: gunicorn 20.0.4-1

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-23 22:10:52 UTC (rev 555266)
+++ PKGBUILD2020-01-23 23:25:21 UTC (rev 555267)
@@ -4,7 +4,7 @@
 # Contributor: Vsevolod Balashov 
 
 pkgname=gunicorn
-pkgver=20.0.3
+pkgver=20.0.4
 pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
@@ -16,7 +16,7 @@
 checkdepends=('python-aiohttp' 'python-coverage' 'python-pytest' 
'python-pytest-cov'
   'python-pytest-runner')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz";)
-sha512sums=('ca3d6f259f09275e85a9d398ccdef2ae957f9829961c351ae0cf99d33f2e4812237be7c6f09187a77ad7c6c4739bb9f8bbe3a7e63d7efcfe39f5eccb5b3b8bfa')
+sha512sums=('5a82a448e07ede9e987b14c9ae4abfda29ed80d4220d640f68dab6fb59bb4bdab3d5fc3f0689ddc36102d88a10dbd244ee90e62647acea259429e8a79f370ea4')
 
 prepare() {
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt


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

2020-01-22 Thread Felix Yan via arch-commits
Date: Wednesday, January 22, 2020 @ 16:36:36
  Author: felixonmars
Revision: 554301

upgpkg: gunicorn 20.0.3-1

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-22 16:35:15 UTC (rev 554300)
+++ PKGBUILD2020-01-22 16:36:36 UTC (rev 554301)
@@ -4,7 +4,7 @@
 # Contributor: Vsevolod Balashov 
 
 pkgname=gunicorn
-pkgver=20.0.2
+pkgver=20.0.3
 pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
@@ -16,7 +16,7 @@
 checkdepends=('python-aiohttp' 'python-coverage' 'python-pytest' 
'python-pytest-cov'
   'python-pytest-runner')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz";)
-sha512sums=('d666d049c41494bf413bc53d61f5a557c2bb68334a7d142a129968b1b7c0ea6d1495a4cdd4aa0997e3bde05c62dfa1e339e9fe66bff9ba3eae95426b53c58d34')
+sha512sums=('ca3d6f259f09275e85a9d398ccdef2ae957f9829961c351ae0cf99d33f2e4812237be7c6f09187a77ad7c6c4739bb9f8bbe3a7e63d7efcfe39f5eccb5b3b8bfa')
 
 prepare() {
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt


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

2020-01-10 Thread Felix Yan via arch-commits
Date: Friday, January 10, 2020 @ 16:46:47
  Author: felixonmars
Revision: 551730

upgpkg: gunicorn 20.0.2-1

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-10 16:46:23 UTC (rev 551729)
+++ PKGBUILD2020-01-10 16:46:47 UTC (rev 551730)
@@ -4,7 +4,7 @@
 # Contributor: Vsevolod Balashov 
 
 pkgname=gunicorn
-pkgver=20.0.1
+pkgver=20.0.2
 pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
@@ -16,7 +16,7 @@
 checkdepends=('python-aiohttp' 'python-coverage' 'python-pytest' 
'python-pytest-cov'
   'python-pytest-runner')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz";)
-sha512sums=('f38803bc69d14ef7a1a2ca94c5f4664088133f585ecf0b715ffaeee2c0c92f94965070343845db08843542b210a873eb6789a6702772916fa84d3e7638170c1a')
+sha512sums=('d666d049c41494bf413bc53d61f5a557c2bb68334a7d142a129968b1b7c0ea6d1495a4cdd4aa0997e3bde05c62dfa1e339e9fe66bff9ba3eae95426b53c58d34')
 
 prepare() {
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt


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

2020-01-09 Thread Felix Yan via arch-commits
Date: Thursday, January 9, 2020 @ 13:23:54
  Author: felixonmars
Revision: 551143

upgpkg: gunicorn 20.0.1-1

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-09 13:23:50 UTC (rev 551142)
+++ PKGBUILD2020-01-09 13:23:54 UTC (rev 551143)
@@ -4,7 +4,7 @@
 # Contributor: Vsevolod Balashov 
 
 pkgname=gunicorn
-pkgver=20.0.0
+pkgver=20.0.1
 pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
@@ -16,7 +16,7 @@
 checkdepends=('python-aiohttp' 'python-coverage' 'python-pytest' 
'python-pytest-cov'
   'python-pytest-runner')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz";)
-sha512sums=('245d69cc45457516324b2cc18513ff15de623f9af42ffa2471d4fddbbcfd8b6ae8032ca4594abe86ce1c59d21cc0d1f87963d792d13c6f10efe6c0da5e43b2b2')
+sha512sums=('f38803bc69d14ef7a1a2ca94c5f4664088133f585ecf0b715ffaeee2c0c92f94965070343845db08843542b210a873eb6789a6702772916fa84d3e7638170c1a')
 
 prepare() {
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 19:43:42
  Author: felixonmars
Revision: 550524

upgpkg: gunicorn 20.0.0-1

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |   23 +--
 1 file changed, 9 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 19:43:40 UTC (rev 550523)
+++ PKGBUILD2020-01-08 19:43:42 UTC (rev 550524)
@@ -4,8 +4,8 @@
 # Contributor: Vsevolod Balashov 
 
 pkgname=gunicorn
-pkgver=19.9.0
-pkgrel=3
+pkgver=20.0.0
+pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='https://gunicorn.org/'
@@ -13,33 +13,28 @@
 depends=('python-setuptools')
 optdepends=('python-eventlet: For asynchronous request handling with eventlet.'
 'python-gevent: For asynchronous request handling with gevent.')
-checkdepends=('python-coverage' 'python-pytest' 'python-pytest-cov' 
'python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";
- gunicorn-pytest5.patch)
-sha512sums=('8d1ff775dd5c1abb8bb4c80aecacb544382e38d101f105fd0fd7eb6bf98ecb663dd533d16e7b1741d6e5ef0eb12a707ab90e0a7751356e625725f076b4dc1a30'
-
'c14fe17b247567ae096ffb1522b9dd424a2e29f3cabf2b4d8ae3b84bf17d9b1ad4abf25df2f2eed884fc931087879c6ce68c160f4f7f7074afb913cbe56546dc')
+checkdepends=('python-aiohttp' 'python-coverage' 'python-pytest' 
'python-pytest-cov'
+  'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgname/archive/$pkgver.tar.gz";)
+sha512sums=('245d69cc45457516324b2cc18513ff15de623f9af42ffa2471d4fddbbcfd8b6ae8032ca4594abe86ce1c59d21cc0d1f87963d792d13c6f10efe6c0da5e43b2b2')
 
 prepare() {
-  (cd gunicorn-$pkgver
-   patch -p1 -i ../gunicorn-pytest5.patch # Fix test failures with pytest 5
-  )
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
 }
 
 build() {
-  cd "$srcdir"/gunicorn-$pkgver
+  cd gunicorn-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/gunicorn-$pkgver
+  cd gunicorn-$pkgver
   python setup.py pytest
 }
 
 package() {
-  cd $pkgbase-$pkgver
+  cd gunicorn-$pkgver
   python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
-  rm -r "$pkgdir"/usr/bin/gunicorn_paster
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 


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

2019-11-01 Thread Antonio Rojas via arch-commits
Date: Friday, November 1, 2019 @ 23:55:57
  Author: arojas
Revision: 522112

Drop python2

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |   41 +++--
 1 file changed, 7 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 23:51:08 UTC (rev 522111)
+++ PKGBUILD2019-11-01 23:55:57 UTC (rev 522112)
@@ -3,8 +3,7 @@
 # Contributor: pumpkin 
 # Contributor: Vsevolod Balashov 
 
-pkgbase=gunicorn
-pkgname=(gunicorn python2-gunicorn)
+pkgname=gunicorn
 pkgver=19.9.0
 pkgrel=3
 pkgdesc='WSGI HTTP Server for UNIX'
@@ -11,11 +10,11 @@
 arch=('any')
 url='https://gunicorn.org/'
 license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python2-mock' 'python-coverage' 'python2-coverage' 
'python-pytest' 'python2-pytest'
-  'python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner'
-  'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";
+depends=('python-setuptools')
+optdepends=('python-eventlet: For asynchronous request handling with eventlet.'
+'python-gevent: For asynchronous request handling with gevent.')
+checkdepends=('python-coverage' 'python-pytest' 'python-pytest-cov' 
'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";
  gunicorn-pytest5.patch)
 
sha512sums=('8d1ff775dd5c1abb8bb4c80aecacb544382e38d101f105fd0fd7eb6bf98ecb663dd533d16e7b1741d6e5ef0eb12a707ab90e0a7751356e625725f076b4dc1a30'
 
'c14fe17b247567ae096ffb1522b9dd424a2e29f3cabf2b4d8ae3b84bf17d9b1ad4abf25df2f2eed884fc931087879c6ce68c160f4f7f7074afb913cbe56546dc')
@@ -25,30 +24,19 @@
patch -p1 -i ../gunicorn-pytest5.patch # Fix test failures with pytest 5
   )
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
-  cp -a gunicorn-$pkgver{,-py2}
 }
 
 build() {
   cd "$srcdir"/gunicorn-$pkgver
   python setup.py build
-
-  cd "$srcdir"/gunicorn-$pkgver-py2
-  python2 setup.py build
 }
 
 check() {
   cd "$srcdir"/gunicorn-$pkgver
   python setup.py pytest
-
-  cd "$srcdir"/gunicorn-$pkgver-py2
-  python2 setup.py pytest
 }
 
-package_gunicorn() {
-  depends=('python-setuptools')
-  optdepends=('python-eventlet: For asynchronous request handling with 
eventlet.'
-  'python-gevent: For asynchronous request handling with gevent.')
-
+package() {
   cd $pkgbase-$pkgver
   python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
   rm -r "$pkgdir"/usr/bin/gunicorn_paster
@@ -55,19 +43,4 @@
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
-package_python2-gunicorn() {
-  depends=('python2-setuptools')
-  provides=('gunicorn-python2')
-  conflicts=('gunicorn-python2')
-  replaces=('gunicorn-python2')
-  optdepends=('python2-eventlet: For asynchronous request handling with 
eventlet.'
-  'python2-gevent: For asynchronous request handling with gevent.')
-
-  cd $pkgbase-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
-  rm -r "$pkgdir"/usr/bin/gunicorn_paster
-  mv "$pkgdir"/usr/bin/gunicorn "$pkgdir"/usr/bin/gunicorn-python2
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
 # vim:set ts=2 sw=2 et:


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

2019-11-01 Thread Felix Yan via arch-commits
Date: Friday, November 1, 2019 @ 13:18:19
  Author: felixonmars
Revision: 521783

Python 3.8 rebuild

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:16:35 UTC (rev 521782)
+++ PKGBUILD2019-11-01 13:18:19 UTC (rev 521783)
@@ -6,7 +6,7 @@
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
 pkgver=19.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='https://gunicorn.org/'


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

2019-11-01 Thread Antonio Rojas via arch-commits
Date: Friday, November 1, 2019 @ 13:15:12
  Author: arojas
Revision: 521779

Fix tests with pytest 5

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:07:56 UTC (rev 521778)
+++ PKGBUILD2019-11-01 13:15:12 UTC (rev 521779)
@@ -15,10 +15,15 @@
 checkdepends=('python2-mock' 'python-coverage' 'python2-coverage' 
'python-pytest' 'python2-pytest'
   'python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner'
   'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";)
-sha512sums=('8d1ff775dd5c1abb8bb4c80aecacb544382e38d101f105fd0fd7eb6bf98ecb663dd533d16e7b1741d6e5ef0eb12a707ab90e0a7751356e625725f076b4dc1a30')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";
+ gunicorn-pytest5.patch)
+sha512sums=('8d1ff775dd5c1abb8bb4c80aecacb544382e38d101f105fd0fd7eb6bf98ecb663dd533d16e7b1741d6e5ef0eb12a707ab90e0a7751356e625725f076b4dc1a30'
+
'c14fe17b247567ae096ffb1522b9dd424a2e29f3cabf2b4d8ae3b84bf17d9b1ad4abf25df2f2eed884fc931087879c6ce68c160f4f7f7074afb913cbe56546dc')
 
 prepare() {
+  (cd gunicorn-$pkgver
+   patch -p1 -i ../gunicorn-pytest5.patch # Fix test failures with pytest 5
+  )
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
   cp -a gunicorn-$pkgver{,-py2}
 }


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

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 15:55:49
  Author: felixonmars
Revision: 519277

Python 3.8 rebuild

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 15:55:47 UTC (rev 519276)
+++ PKGBUILD2019-10-25 15:55:49 UTC (rev 519277)
@@ -6,7 +6,7 @@
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
 pkgver=19.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='https://gunicorn.org/'


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

2019-09-17 Thread Antonio Rojas via arch-commits
Date: Tuesday, September 17, 2019 @ 20:37:17
  Author: arojas
Revision: 511008

https

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-17 20:36:48 UTC (rev 511007)
+++ PKGBUILD2019-09-17 20:37:17 UTC (rev 511008)
@@ -9,7 +9,7 @@
 pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
-url='http://gunicorn.org/'
+url='https://gunicorn.org/'
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python2-mock' 'python-coverage' 'python2-coverage' 
'python-pytest' 'python2-pytest'


[arch-commits] Commit in gunicorn/trunk (PKGBUILD pr1796-python37.patch)

2018-07-28 Thread Felix Yan via arch-commits
Date: Saturday, July 28, 2018 @ 14:14:43
  Author: felixonmars
Revision: 363751

upgpkg: gunicorn 19.9.0-1

Modified:
  gunicorn/trunk/PKGBUILD
Deleted:
  gunicorn/trunk/pr1796-python37.patch

---+
 PKGBUILD  |   12 --
 pr1796-python37.patch |  281 
 2 files changed, 4 insertions(+), 289 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-28 14:13:18 UTC (rev 363750)
+++ PKGBUILD2018-07-28 14:14:43 UTC (rev 363751)
@@ -6,8 +6,8 @@
 
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
-pkgver=19.8.1
-pkgrel=2
+pkgver=19.9.0
+pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='http://gunicorn.org/'
@@ -16,14 +16,10 @@
 checkdepends=('python2-mock' 'python-coverage' 'python2-coverage' 
'python-pytest' 'python2-pytest'
   'python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner'
   'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";
-pr1796-python37.patch)
-sha512sums=('2fbdbc939c08fde2035d88780f97afdcdd9aada9267fefdd9c39e2c8e48f790077ea9e45e7149e93d2f97041d176af8470e0be400775ee775e50573f7de03148'
-
'cae6af688ca47a3b56196e7894f320a360ed60a9542b499dd072218c79c6210852510e7698dd6e3cf7cea7220cba460e3c7c0c48faa3e36366246f2baf90c577')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";)
+sha512sums=('8d1ff775dd5c1abb8bb4c80aecacb544382e38d101f105fd0fd7eb6bf98ecb663dd533d16e7b1741d6e5ef0eb12a707ab90e0a7751356e625725f076b4dc1a30')
 
 prepare() {
-  # https://github.com/benoitc/gunicorn/issues/1795
-  patch -d gunicorn-$pkgver -Np1 < pr1796-python37.patch
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
   cp -a gunicorn-$pkgver{,-py2}
 }

Deleted: pr1796-python37.patch
===
--- pr1796-python37.patch   2018-07-28 14:13:18 UTC (rev 363750)
+++ pr1796-python37.patch   2018-07-28 14:14:43 UTC (rev 363751)
@@ -1,281 +0,0 @@
-From 0a88d19ddf29b461b819b66e49ea313c89ab576c Mon Sep 17 00:00:00 2001
-From: Diego Oliveira 
-Date: Sat, 26 May 2018 10:22:42 -0300
-Subject: [PATCH 1/6] Move the module async to _async
-

- gunicorn/workers/{async.py => _async.py} | 0
- gunicorn/workers/geventlet.py| 2 +-
- gunicorn/workers/ggevent.py  | 2 +-
- 3 files changed, 2 insertions(+), 2 deletions(-)
- rename gunicorn/workers/{async.py => _async.py} (100%)
-
-diff --git a/gunicorn/workers/async.py b/gunicorn/workers/_async.py
-similarity index 100%
-rename from gunicorn/workers/async.py
-rename to gunicorn/workers/_async.py
-diff --git a/gunicorn/workers/geventlet.py b/gunicorn/workers/geventlet.py
-index f0bb06495..0c0fa1dcb 100644
 a/gunicorn/workers/geventlet.py
-+++ b/gunicorn/workers/geventlet.py
-@@ -24,7 +24,7 @@
- import greenlet
- 
- from gunicorn.http.wsgi import sendfile as o_sendfile
--from gunicorn.workers.async import AsyncWorker
-+from gunicorn.workers._async import AsyncWorker
- 
- def _eventlet_sendfile(fdout, fdin, offset, nbytes):
- while True:
-diff --git a/gunicorn/workers/ggevent.py b/gunicorn/workers/ggevent.py
-index 34ee72a82..ac9011bef 100644
 a/gunicorn/workers/ggevent.py
-+++ b/gunicorn/workers/ggevent.py
-@@ -27,7 +27,7 @@
- 
- import gunicorn
- from gunicorn.http.wsgi import base_environ
--from gunicorn.workers.async import AsyncWorker
-+from gunicorn.workers._async import AsyncWorker
- from gunicorn.http.wsgi import sendfile as o_sendfile
- 
- VERSION = "gevent/%s gunicorn/%s" % (gevent.__version__, gunicorn.__version__)
-
-From 43e31c366b79d9e212bcbc9ad7bae788539bd62f Mon Sep 17 00:00:00 2001
-From: Diego Oliveira 
-Date: Sat, 26 May 2018 10:42:15 -0300
-Subject: [PATCH 2/6] Fix gaiohttp worker
-

- .gitignore| 2 ++
- THANKS| 1 +
- docs/source/news.rst  | 8 
- gunicorn/workers/__init__.py  | 2 +-
- gunicorn/workers/_gaiohttp.py | 2 +-
- requirements_test.txt | 4 ++--
- tests/test_gaiohttp.py| 2 +-
- 7 files changed, 16 insertions(+), 5 deletions(-)
-
-diff --git a/THANKS b/THANKS
-index f23b74ed0..ff271ad13 100644
 a/THANKS
-+++ b/THANKS
-@@ -49,6 +49,7 @@ Dariusz Suchojad 
- David Vincelli 
- David Wolever 
- Denis Bilenko 
-+Diego Oliveira 
- Dima Barsky 
- Djoume Salvetti 
- Dmitry Medvinsky 
-diff --git a/docs/source/news.rst b/docs/source/news.rst
-index 3d90aead2..eb9c4e498 100644
 a/docs/source/news.rst
-+++ b/docs/source/news.rst
-@@ -2,6 +2,14 @@
- Changelog
- =
- 
-+19.9.0 / 2018/05/26
-+===
-+
-+- the internal module `gunicorn.workers.async` was renamed to 
`gunicorn.workers.async`
-+  since ``async`` is now a reserved word in Python 3.7
-+  (:pr:`1527`)
-+
-+
- 19.8.1 / 2018/04/30
- ===
- 
-diff --git

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

2018-07-01 Thread Evangelos Foutras via arch-commits
Date: Sunday, July 1, 2018 @ 18:45:12
  Author: foutrelis
Revision: 349420

Python 3.7 rebuild

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-01 18:44:12 UTC (rev 349419)
+++ PKGBUILD2018-07-01 18:45:12 UTC (rev 349420)
@@ -7,7 +7,7 @@
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
 pkgver=19.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='http://gunicorn.org/'


[arch-commits] Commit in gunicorn/trunk (PKGBUILD pr1796-python37.patch)

2018-07-01 Thread Evangelos Foutras via arch-commits
Date: Sunday, July 1, 2018 @ 18:44:12
  Author: foutrelis
Revision: 349419

Fix build with Python 3.7

Added:
  gunicorn/trunk/pr1796-python37.patch
Modified:
  gunicorn/trunk/PKGBUILD

---+
 PKGBUILD  |8 +
 pr1796-python37.patch |  281 
 2 files changed, 287 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-01 15:07:29 UTC (rev 349418)
+++ PKGBUILD2018-07-01 18:44:12 UTC (rev 349419)
@@ -16,10 +16,14 @@
 checkdepends=('python2-mock' 'python-coverage' 'python2-coverage' 
'python-pytest' 'python2-pytest'
   'python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner'
   'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";)
-sha512sums=('2fbdbc939c08fde2035d88780f97afdcdd9aada9267fefdd9c39e2c8e48f790077ea9e45e7149e93d2f97041d176af8470e0be400775ee775e50573f7de03148')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";
+pr1796-python37.patch)
+sha512sums=('2fbdbc939c08fde2035d88780f97afdcdd9aada9267fefdd9c39e2c8e48f790077ea9e45e7149e93d2f97041d176af8470e0be400775ee775e50573f7de03148'
+
'cae6af688ca47a3b56196e7894f320a360ed60a9542b499dd072218c79c6210852510e7698dd6e3cf7cea7220cba460e3c7c0c48faa3e36366246f2baf90c577')
 
 prepare() {
+  # https://github.com/benoitc/gunicorn/issues/1795
+  patch -d gunicorn-$pkgver -Np1 < pr1796-python37.patch
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
   cp -a gunicorn-$pkgver{,-py2}
 }

Added: pr1796-python37.patch
===
--- pr1796-python37.patch   (rev 0)
+++ pr1796-python37.patch   2018-07-01 18:44:12 UTC (rev 349419)
@@ -0,0 +1,281 @@
+From 0a88d19ddf29b461b819b66e49ea313c89ab576c Mon Sep 17 00:00:00 2001
+From: Diego Oliveira 
+Date: Sat, 26 May 2018 10:22:42 -0300
+Subject: [PATCH 1/6] Move the module async to _async
+
+---
+ gunicorn/workers/{async.py => _async.py} | 0
+ gunicorn/workers/geventlet.py| 2 +-
+ gunicorn/workers/ggevent.py  | 2 +-
+ 3 files changed, 2 insertions(+), 2 deletions(-)
+ rename gunicorn/workers/{async.py => _async.py} (100%)
+
+diff --git a/gunicorn/workers/async.py b/gunicorn/workers/_async.py
+similarity index 100%
+rename from gunicorn/workers/async.py
+rename to gunicorn/workers/_async.py
+diff --git a/gunicorn/workers/geventlet.py b/gunicorn/workers/geventlet.py
+index f0bb06495..0c0fa1dcb 100644
+--- a/gunicorn/workers/geventlet.py
 b/gunicorn/workers/geventlet.py
+@@ -24,7 +24,7 @@
+ import greenlet
+ 
+ from gunicorn.http.wsgi import sendfile as o_sendfile
+-from gunicorn.workers.async import AsyncWorker
++from gunicorn.workers._async import AsyncWorker
+ 
+ def _eventlet_sendfile(fdout, fdin, offset, nbytes):
+ while True:
+diff --git a/gunicorn/workers/ggevent.py b/gunicorn/workers/ggevent.py
+index 34ee72a82..ac9011bef 100644
+--- a/gunicorn/workers/ggevent.py
 b/gunicorn/workers/ggevent.py
+@@ -27,7 +27,7 @@
+ 
+ import gunicorn
+ from gunicorn.http.wsgi import base_environ
+-from gunicorn.workers.async import AsyncWorker
++from gunicorn.workers._async import AsyncWorker
+ from gunicorn.http.wsgi import sendfile as o_sendfile
+ 
+ VERSION = "gevent/%s gunicorn/%s" % (gevent.__version__, gunicorn.__version__)
+
+From 43e31c366b79d9e212bcbc9ad7bae788539bd62f Mon Sep 17 00:00:00 2001
+From: Diego Oliveira 
+Date: Sat, 26 May 2018 10:42:15 -0300
+Subject: [PATCH 2/6] Fix gaiohttp worker
+
+---
+ .gitignore| 2 ++
+ THANKS| 1 +
+ docs/source/news.rst  | 8 
+ gunicorn/workers/__init__.py  | 2 +-
+ gunicorn/workers/_gaiohttp.py | 2 +-
+ requirements_test.txt | 4 ++--
+ tests/test_gaiohttp.py| 2 +-
+ 7 files changed, 16 insertions(+), 5 deletions(-)
+
+diff --git a/THANKS b/THANKS
+index f23b74ed0..ff271ad13 100644
+--- a/THANKS
 b/THANKS
+@@ -49,6 +49,7 @@ Dariusz Suchojad 
+ David Vincelli 
+ David Wolever 
+ Denis Bilenko 
++Diego Oliveira 
+ Dima Barsky 
+ Djoume Salvetti 
+ Dmitry Medvinsky 
+diff --git a/docs/source/news.rst b/docs/source/news.rst
+index 3d90aead2..eb9c4e498 100644
+--- a/docs/source/news.rst
 b/docs/source/news.rst
+@@ -2,6 +2,14 @@
+ Changelog
+ =
+ 
++19.9.0 / 2018/05/26
++===
++
++- the internal module `gunicorn.workers.async` was renamed to 
`gunicorn.workers.async`
++  since ``async`` is now a reserved word in Python 3.7
++  (:pr:`1527`)
++
++
+ 19.8.1 / 2018/04/30
+ ===
+ 
+diff --git a/gunicorn/workers/__init__.py b/gunicorn/workers/__init__.py
+index 05a3e286a..fceaa03c1 100644
+--- a/gunicorn/workers/__init__.py
 b/gunicorn/workers/__init__.py
+@@ -17,6 +17,6 @@
+ }
+ 
+ 
+-if sys.version_i

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

2018-05-01 Thread Felix Yan via arch-commits
Date: Tuesday, May 1, 2018 @ 17:00:55
  Author: felixonmars
Revision: 318598

upgpkg: gunicorn 19.8.1-1

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-01 16:33:15 UTC (rev 318597)
+++ PKGBUILD2018-05-01 17:00:55 UTC (rev 318598)
@@ -6,7 +6,7 @@
 
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
-pkgver=19.8.0
+pkgver=19.8.1
 pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
@@ -17,7 +17,7 @@
   'python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner'
   'python2-pytest-runner')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";)
-sha512sums=('53cf1678ca3acb11f20409e301812d7903f7662f67b7f6da7079053147d658b74864cca2919fe5e84d5f8b533d29ca30682b7ebd6c2debaf7eb0322e7fbec9e2')
+sha512sums=('2fbdbc939c08fde2035d88780f97afdcdd9aada9267fefdd9c39e2c8e48f790077ea9e45e7149e93d2f97041d176af8470e0be400775ee775e50573f7de03148')
 
 prepare() {
   sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt


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

2018-04-28 Thread Felix Yan via arch-commits
Date: Sunday, April 29, 2018 @ 05:43:06
  Author: felixonmars
Revision: 318433

upgpkg: gunicorn 19.8.0-1

Modified:
  gunicorn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-04-29 05:39:08 UTC (rev 318432)
+++ PKGBUILD2018-04-29 05:43:06 UTC (rev 318433)
@@ -6,8 +6,8 @@
 
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
-pkgver=19.7.1
-pkgrel=2
+pkgver=19.8.0
+pkgrel=1
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='http://gunicorn.org/'
@@ -17,10 +17,10 @@
   'python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner'
   'python2-pytest-runner')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/benoitc/$pkgbase/archive/$pkgver.tar.gz";)
-sha512sums=('d06862016937f11064c0d08f2eceb262a4cdecf876f02a0c722e8ff61c439da27890dee78e20b4aeddac9db12b3e04233f16eb320e85c56b70ac2f332433cc14')
+sha512sums=('53cf1678ca3acb11f20409e301812d7903f7662f67b7f6da7079053147d658b74864cca2919fe5e84d5f8b533d29ca30682b7ebd6c2debaf7eb0322e7fbec9e2')
 
 prepare() {
-  sed -i 's/==/>=/' gunicorn-$pkgver/requirements_test.txt
+  sed -e 's/==/>=/' -e 's/,<.*$//' -i gunicorn-$pkgver/requirements_test.txt
   cp -a gunicorn-$pkgver{,-py2}
 }
 


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

2018-04-09 Thread Eli Schwartz via arch-commits
Date: Monday, April 9, 2018 @ 20:05:58
  Author: eschwartz
Revision: 315482

upgpkg: gunicorn 19.7.1-2

move setuptools to depends (fixes FS#58048)

Modified:
  gunicorn/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-09 19:49:45 UTC (rev 315481)
+++ PKGBUILD2018-04-09 20:05:58 UTC (rev 315482)
@@ -7,7 +7,7 @@
 pkgbase=gunicorn
 pkgname=(gunicorn python2-gunicorn)
 pkgver=19.7.1
-pkgrel=1
+pkgrel=2
 pkgdesc='WSGI HTTP Server for UNIX'
 arch=('any')
 url='http://gunicorn.org/'
@@ -41,7 +41,7 @@
 }
 
 package_gunicorn() {
-  depends=('python')
+  depends=('python-setuptools')
   optdepends=('python-eventlet: For asynchronous request handling with 
eventlet.'
   'python-gevent: For asynchronous request handling with gevent.')
 
@@ -52,7 +52,7 @@
 }
 
 package_python2-gunicorn() {
-  depends=('python2')
+  depends=('python2-setuptools')
   provides=('gunicorn-python2')
   conflicts=('gunicorn-python2')
   replaces=('gunicorn-python2')