summaryrefslogtreecommitdiff
path: root/community/python-tornado/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-tornado/PKGBUILD')
-rw-r--r--community/python-tornado/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/python-tornado/PKGBUILD b/community/python-tornado/PKGBUILD
index a6c54b21b..7f72742a9 100644
--- a/community/python-tornado/PKGBUILD
+++ b/community/python-tornado/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 112584 2014-06-04 04:53:44Z fyan $
+# $Id: PKGBUILD 116040 2014-07-21 07:50:57Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
pkgname=('python-tornado' 'python2-tornado')
-pkgver=3.2.2
+pkgver=4.0.0
pkgrel=1
pkgdesc='open source version of the scalable, non-blocking web server and tools'
arch=('i686' 'x86_64')
url='http://www.tornadoweb.org/'
license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-backports.ssl_match_hostname' 'git')
-checkdepends=('python-pycurl' 'python2-pycurl' 'python-mock' 'python2-mock' 'twisted')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-backports.ssl_match_hostname' 'git' 'python-certifi' 'python2-certifi')
+checkdepends=('python-pycurl' 'python2-pycurl' 'python-mock' 'python2-mock' 'python-twisted' 'python2-twisted')
source=("git+https://github.com/facebook/tornado.git#tag=v$pkgver")
sha512sums=('SKIP')
@@ -34,6 +34,7 @@ check() {
python -m tornado.test.runtests || warning "Tests failed"
python -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOLoop || warning "Tests with AsyncIO failed"
python -m tornado.test.runtests --ioloop=tornado.platform.select.SelectIOLoop || warning "Tests with SelectIO failed"
+ python -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop || warning "Tests with TwistedIO failed"
cd ../tornado-py2
python2 -m tornado.test.runtests || warning "Tests failed"
@@ -42,14 +43,14 @@ check() {
}
package_python-tornado() {
- depends=('python')
+ depends=('python-certifi')
cd tornado
python setup.py install --root="${pkgdir}" --optimize=1
}
package_python2-tornado() {
- depends=('python2' 'python2-backports.ssl_match_hostname')
+ depends=('python2-certifi' 'python2-backports.ssl_match_hostname')
cd tornado-py2
python2 setup.py install --root="${pkgdir}" --optimize=1