[arch-commits] Commit in gunicorn/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 1 17:01:19 UTC 2018
Date: Tuesday, May 1, 2018 @ 17:01:19
Author: felixonmars
Revision: 318599
archrelease: copy trunk to community-any
Added:
gunicorn/repos/community-any/PKGBUILD
(from rev 318598, gunicorn/trunk/PKGBUILD)
Deleted:
gunicorn/repos/community-any/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-01 17:00:55 UTC (rev 318598)
+++ PKGBUILD 2018-05-01 17:01:19 UTC (rev 318599)
@@ -1,69 +0,0 @@
-# $Id$
-# 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>
-
-pkgbase=gunicorn
-pkgname=(gunicorn python2-gunicorn)
-pkgver=19.8.0
-pkgrel=1
-pkgdesc='WSGI HTTP Server for UNIX'
-arch=('any')
-url='http://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")
-sha512sums=('53cf1678ca3acb11f20409e301812d7903f7662f67b7f6da7079053147d658b74864cca2919fe5e84d5f8b533d29ca30682b7ebd6c2debaf7eb0322e7fbec9e2')
-
-prepare() {
- 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.')
-
- cd $pkgbase-$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
-}
-
-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:
Copied: gunicorn/repos/community-any/PKGBUILD (from rev 318598, gunicorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-01 17:01:19 UTC (rev 318599)
@@ -0,0 +1,69 @@
+# $Id$
+# 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>
+
+pkgbase=gunicorn
+pkgname=(gunicorn python2-gunicorn)
+pkgver=19.8.1
+pkgrel=1
+pkgdesc='WSGI HTTP Server for UNIX'
+arch=('any')
+url='http://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")
+sha512sums=('2fbdbc939c08fde2035d88780f97afdcdd9aada9267fefdd9c39e2c8e48f790077ea9e45e7149e93d2f97041d176af8470e0be400775ee775e50573f7de03148')
+
+prepare() {
+ 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.')
+
+ cd $pkgbase-$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
+}
+
+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:
More information about the arch-commits
mailing list