[arch-commits] Commit in python-waitress/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jun 2 12:49:41 UTC 2020


    Date: Tuesday, June 2, 2020 @ 12:49:40
  Author: felixonmars
Revision: 638029

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-02 12:49:30 UTC (rev 638028)
+++ PKGBUILD	2020-06-02 12:49:40 UTC (rev 638029)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-waitress
-pkgname=('python-waitress' 'python2-waitress')
-pkgver=1.4.3
-pkgrel=1
-pkgdesc="Waitress WSGI server"
-arch=('any')
-license=('ZPL')
-url="https://github.com/Pylons/waitress"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/waitress/archive/v$pkgver.tar.gz")
-sha512sums=('15454758dfd56ab6bdbe8f6bfe565a0a00419f032f7976203d5e700ee18729ff999492f29a552227f525bbd744363ed23cf9b414a718b162125f79b57b290b30')
-
-prepare() {
-  cp -a waitress-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/waitress-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/waitress-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/waitress-$pkgver
-  nosetests3
-
-  cd "$srcdir"/waitress-$pkgver-py2
-  nosetests2
-}
-
-package_python-waitress() {
-  depends=('python-setuptools')
-
-  cd waitress-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-waitress() {
-  depends=('python2-setuptools')
-
-  cd waitress-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/waitress-serve{,2}
-}

Copied: python-waitress/repos/community-any/PKGBUILD (from rev 638028, python-waitress/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-02 12:49:40 UTC (rev 638029)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-waitress
+pkgname=('python-waitress' 'python2-waitress')
+pkgver=1.4.4
+pkgrel=1
+pkgdesc="Waitress WSGI server"
+arch=('any')
+license=('ZPL')
+url="https://github.com/Pylons/waitress"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/waitress/archive/v$pkgver.tar.gz")
+sha512sums=('774fd5c436238a360d116b8683e5be6a4d9e09fcbe3853dea7e803e2c5f309f1d955b4eb9b5fe8c9ec9b8e5363a817e5bc57ca20ba5e5046744338b555dc439a')
+
+prepare() {
+  cp -a waitress-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/waitress-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/waitress-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/waitress-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/waitress-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-waitress() {
+  depends=('python-setuptools')
+
+  cd waitress-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-waitress() {
+  depends=('python2-setuptools')
+
+  cd waitress-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/waitress-serve{,2}
+}


More information about the arch-commits mailing list