Date: Sunday, July 12, 2020 @ 13:54:07 Author: diabonas Revision: 663330
archrelease: copy trunk to community-x86_64 Added: python-tornado/repos/community-x86_64/PKGBUILD (from rev 663329, python-tornado/trunk/PKGBUILD) Deleted: python-tornado/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 95 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-12 13:54:01 UTC (rev 663329) +++ PKGBUILD 2020-07-12 13:54:07 UTC (rev 663330) @@ -1,47 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Thomas Dziedzic < gostrc at gmail > - -pkgname=python-tornado -pkgver=6.0.4 -pkgrel=1 -pkgdesc='open source version of the scalable, non-blocking web server and tools' -arch=('x86_64') -url='https://www.tornadoweb.org/' -license=('Apache') -depends=('python') -optdepends=('python-pycurl: for tornado.curl_httpclient' - 'python-twisted: for tornado.platform.twisted') - # 'python-pycares: an alternative non-blocking DNS resolver' -makedepends=('python-setuptools') -checkdepends=('python-pycurl' 'python-mock' 'python-twisted') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tornadoweb/tornado/archive/v$pkgver.tar.gz") -sha512sums=('97f19a1be91ebeb64ae0ce2b63c3a411fdadccdbf13613e5afce6e992e319fbfb79a3798ccc56651e3cc0bd7ac4cc5fefc0e14ea6a0ca91e2105edb41364d2b0') - -export TORNADO_EXTENSION=1 - -build() { - cd tornado-$pkgver - python setup.py build -} - -check() { - # As of 4.5.3, ignoring test failures about resolving "localhost" - ( - cd tornado-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" - cd tmp_install - python -m tornado.test.runtests - python -m tornado.test.runtests --ioloop=tornado.platform.select.SelectIOLoop - python -m tornado.test.runtests --httpclient=tornado.curl_httpclient.CurlAsyncHTTPClient - python -m tornado.test.runtests --ioloop_time_monotonic - python -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop - python -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOLoop - python -m tornado.test.runtests --resolver=tornado.netutil.ThreadedResolver - ) || warning "Tests failed" -} - -package() { - cd tornado-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-tornado/repos/community-x86_64/PKGBUILD (from rev 663329, python-tornado/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-12 13:54:07 UTC (rev 663330) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=python-tornado +pkgver=6.0.4 +pkgrel=2 +pkgdesc='open source version of the scalable, non-blocking web server and tools' +arch=('x86_64') +url='https://www.tornadoweb.org/' +license=('Apache') +depends=('python') +optdepends=('python-pycurl: for tornado.curl_httpclient' + 'python-twisted: for tornado.platform.twisted') + # 'python-pycares: an alternative non-blocking DNS resolver' +makedepends=('python-setuptools') +checkdepends=('python-pycurl' 'python-mock' 'python-twisted') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tornadoweb/tornado/archive/v$pkgver.tar.gz") +sha512sums=('97f19a1be91ebeb64ae0ce2b63c3a411fdadccdbf13613e5afce6e992e319fbfb79a3798ccc56651e3cc0bd7ac4cc5fefc0e14ea6a0ca91e2105edb41364d2b0') + +export TORNADO_EXTENSION=1 + +build() { + cd tornado-$pkgver + export PYTHONHASHSEED=0 + python setup.py build +} + +check() { + # As of 4.5.3, ignoring test failures about resolving "localhost" + ( + cd tornado-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" + cd tmp_install + python -m tornado.test.runtests + python -m tornado.test.runtests --ioloop=tornado.platform.select.SelectIOLoop + python -m tornado.test.runtests --httpclient=tornado.curl_httpclient.CurlAsyncHTTPClient + python -m tornado.test.runtests --ioloop_time_monotonic + python -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop + python -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOLoop + python -m tornado.test.runtests --resolver=tornado.netutil.ThreadedResolver + ) || warning "Tests failed" +} + +package() { + cd tornado-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}