[arch-commits] Commit in gunicorn/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 8 19:43:42 UTC 2020
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
===================================================================
--- PKGBUILD 2020-01-08 19:43:40 UTC (rev 550523)
+++ PKGBUILD 2020-01-08 19:43:42 UTC (rev 550524)
@@ -4,8 +4,8 @@
# Contributor: Vsevolod Balashov <vsevolod at balashov dot name>
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
}
More information about the arch-commits
mailing list