Date: Tuesday, December 8, 2015 @ 03:14:28
  Author: fyan
Revision: 150140

add documented optdepends

Modified:
  python-tornado/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++++
 1 file changed, 8 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-12-08 01:56:07 UTC (rev 150139)
+++ PKGBUILD    2015-12-08 02:14:28 UTC (rev 150140)
@@ -77,6 +77,9 @@
 
 package_python-tornado() {
   depends=('python')
+  optdepends=('python-pycurl: for tornado.curl_httpclient'
+              'python-twisted: for tornado.platform.twisted')
+              # 'python-pycares: an alternative non-blocking DNS resolver'
 
   cd tornado
   python setup.py install --root="${pkgdir}" --optimize=1
@@ -84,6 +87,11 @@
 
 package_python2-tornado() {
   depends=('python2-singledispatch' 'python2-backports-abc')
+  optdepends=('python2-futures: recommended thread pool and for 
tornado.netutil.ThreadedResolver'
+              'python2-monotonic: enable support for a monotonic clock'
+              'python2-pycurl: for tornado.curl_httpclient'
+              'python2-twisted: for tornado.platform.twisted')
+              # 'python2-pycares: an alternative non-blocking DNS resolver'
 
   cd tornado-py2
   python2 setup.py install --root="${pkgdir}" --optimize=1

Reply via email to