Date: Thursday, April 6, 2023 @ 15:43:50
Author: felixonmars
Revision: 1439447
archrelease: copy trunk to community-staging-any
Added:
python-waitress/repos/community-staging-any/
python-waitress/repos/community-staging-any/PKGBUILD
(from rev 1439446, python-waitress/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-waitress/repos/community-staging-any/PKGBUILD (from rev 1439446,
python-waitress/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 15:43:50 UTC (rev 1439447)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-waitress
+pkgver=2.1.2
+pkgrel=2
+pkgdesc="Waitress WSGI server"
+arch=('any')
+license=('ZPL')
+url="https://github.com/Pylons/waitress"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-cov' 'python-pytest-runner')
+source=("https://github.com/Pylons/waitress/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b27d1f6f9969299e3986604c6d95e130f35772c4f687c1b9b31a3a29b77330fda1c9d0ddfc640963c2bf25173ce2fcf734464ec2400afee77ec605767700208c')
+
+build() {
+ cd waitress-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd waitress-$pkgver
+ python setup.py pytest
+}
+
+package_python-waitress() {
+ cd waitress-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}