[arch-commits] Commit in python-waitress/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Mar 9 13:16:26 UTC 2021


    Date: Tuesday, March 9, 2021 @ 13:16:25
  Author: felixonmars
Revision: 887024

archrelease: copy trunk to community-testing-any

Added:
  python-waitress/repos/community-testing-any/
  python-waitress/repos/community-testing-any/PKGBUILD
    (from rev 887023, python-waitress/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-waitress/repos/community-testing-any/PKGBUILD (from rev 887023, python-waitress/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-03-09 13:16:25 UTC (rev 887024)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-waitress
+pkgver=2.0.0
+pkgrel=1
+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=('a5bdac4adbd52803baf58795e74fb1a2cda994e44345cba2d19e29d606f7f6ab503fc459db419b76b7c8278b38fbfb85c258002df597f97c00e61c90e3982cc5')
+
+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
+}



More information about the arch-commits mailing list