Date: Friday, January 3, 2020 @ 16:16:50 Author: felixonmars Revision: 547639
archrelease: copy trunk to community-any Added: python-waitress/repos/community-any/PKGBUILD (from rev 547638, python-waitress/trunk/PKGBUILD) Deleted: python-waitress/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-03 16:16:35 UTC (rev 547638) +++ PKGBUILD 2020-01-03 16:16:50 UTC (rev 547639) @@ -1,50 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-waitress -pkgname=('python-waitress' 'python2-waitress') -pkgver=1.4.1 -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=('8ce2cf086fa6ee6ed6c1b06bc8d31a62df71bf34b900abd990629f27395fd15e2f9404c0ea5dd6d2b820ea7800f96c6a78ce8fb0eced8b9eec8ef26f0d817c57') - -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 547638, python-waitress/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-03 16:16:50 UTC (rev 547639) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-waitress +pkgname=('python-waitress' 'python2-waitress') +pkgver=1.4.2 +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=('0641035faf0fbbf27dd1aa707d4cd898ca7bba0262d76e5fd38445fa517ecb5c93065bd3dc0840bc306136fbcbe27e261a31f9ae476b8e5f59ed169db6de2c66') + +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} +}