[arch-commits] Commit in python-waitress/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 18:16:02 UTC 2019
Date: Thursday, October 31, 2019 @ 18:16:01
Author: foutrelis
Revision: 521623
archrelease: copy trunk to community-staging-any
Added:
python-waitress/repos/community-staging-any/PKGBUILD
(from rev 521622, python-waitress/trunk/PKGBUILD)
Deleted:
python-waitress/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:15:57 UTC (rev 521622)
+++ PKGBUILD 2019-10-31 18:16:01 UTC (rev 521623)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-waitress
-pkgname=('python-waitress' 'python2-waitress')
-pkgver=1.3.1
-pkgrel=2
-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=('6a97cd1c1171610528744978c8faf6b326b9624bd142aaa5dc049ed2afe172ef9aeb15831845520ea16ed477ff091ae9299881fe4c761183ce79fa63a23c504d')
-
-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-staging-any/PKGBUILD (from rev 521622, python-waitress/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:16:01 UTC (rev 521623)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-waitress
+pkgname=('python-waitress' 'python2-waitress')
+pkgver=1.3.1
+pkgrel=3
+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=('6a97cd1c1171610528744978c8faf6b326b9624bd142aaa5dc049ed2afe172ef9aeb15831845520ea16ed477ff091ae9299881fe4c761183ce79fa63a23c504d')
+
+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}
+}
More information about the arch-commits
mailing list