[arch-commits] Commit in python-tornado/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 4 16:04:10 UTC 2020
Date: Wednesday, March 4, 2020 @ 16:04:08
Author: felixonmars
Revision: 590277
archrelease: copy trunk to community-x86_64
Added:
python-tornado/repos/community-x86_64/PKGBUILD
(from rev 590276, python-tornado/trunk/PKGBUILD)
Deleted:
python-tornado/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-04 16:03:58 UTC (rev 590276)
+++ PKGBUILD 2020-03-04 16:04:08 UTC (rev 590277)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=python-tornado
-pkgver=6.0.3
-pkgrel=3
-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=('8caaa64d14edcb3993dffea3175685d82afb0068a8e8834cbb6eb9e15883fe113bb57cd98d99c25362bef0a6ee2762f2baf24effd645ecd77f035583cc4de756')
-
-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 590276, python-tornado/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-04 16:04:08 UTC (rev 590277)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at 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
+}
More information about the arch-commits
mailing list