[arch-commits] Commit in python-tornado/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 17 07:47:30 UTC 2018


    Date: Friday, August 17, 2018 @ 07:47:29
  Author: felixonmars
Revision: 372227

archrelease: copy trunk to community-x86_64

Added:
  python-tornado/repos/community-x86_64/PKGBUILD
    (from rev 372226, python-tornado/trunk/PKGBUILD)
Deleted:
  python-tornado/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  177 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 88 insertions(+), 89 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-17 07:47:01 UTC (rev 372226)
+++ PKGBUILD	2018-08-17 07:47:29 UTC (rev 372227)
@@ -1,89 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgbase=python-tornado
-pkgname=('python-tornado' 'python2-tornado')
-pkgver=5.1.0
-pkgrel=1
-pkgdesc='open source version of the scalable, non-blocking web server and tools'
-arch=('x86_64')
-url='http://www.tornadoweb.org/'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pycurl' 'python2-pycurl' 'python-mock' 'python2-mock' 'python-twisted'
-              'python2-twisted' 'python2-futures' 'python2-singledispatch' 'python2-backports-abc'
-              'python2-trollius' 'python2-monotonic')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tornadoweb/tornado/archive/v$pkgver.tar.gz")
-sha512sums=('7960449ebae76501aa0ae08e3ec9a89f4de2b47a497253477c82acbf5f6f54415587fb921b619271b751312049dbb3334ff59867a536da9c71b7bd6684b9d9d9')
-
-prepare() {
-  cd "$srcdir"
-  cp -a tornado-$pkgver{,-py2}
-
-  # python -> python2 rename
-  find tornado-$pkgver-py2 -name '*py' -exec sed -e 's_#!/usr/bin/env python_&2_' -i {} \;
-
-  export TORNADO_EXTENSION=1
-}
-
-build() {
-  cd tornado-$pkgver
-  python setup.py build
-
-  cd ../tornado-$pkgver-py2
-  python2 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.7/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"
-
-  (
-    cd tornado-$pkgver-py2
-    python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-    export PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH"
-    cd tmp_install
-    python2 -m tornado.test.runtests
-    python2 -m tornado.test.runtests --ioloop=tornado.platform.select.SelectIOLoop
-    python2 -m tornado.test.runtests --httpclient=tornado.curl_httpclient.CurlAsyncHTTPClient
-    python2 -m tornado.test.runtests --ioloop_time_monotonic
-    python2 -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop
-    python2 -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOLoop
-    python2 -m tornado.test.runtests --resolver=tornado.netutil.ThreadedResolver
-  ) || warning "Tests failed"
-}
-
-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-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-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-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-tornado/repos/community-x86_64/PKGBUILD (from rev 372226, python-tornado/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-17 07:47:29 UTC (rev 372227)
@@ -0,0 +1,88 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgbase=python-tornado
+pkgname=('python-tornado' 'python2-tornado')
+pkgver=5.1.0
+pkgrel=2
+pkgdesc='open source version of the scalable, non-blocking web server and tools'
+arch=('x86_64')
+url='http://www.tornadoweb.org/'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-futures' 'python2-singledispatch'
+             'python2-backports-abc')
+checkdepends=('python-pycurl' 'python2-pycurl' 'python-mock' 'python2-mock' 'python-twisted'
+              'python2-twisted'  'python2-trollius' 'python2-monotonic')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/tornadoweb/tornado/archive/v$pkgver.tar.gz")
+sha512sums=('7960449ebae76501aa0ae08e3ec9a89f4de2b47a497253477c82acbf5f6f54415587fb921b619271b751312049dbb3334ff59867a536da9c71b7bd6684b9d9d9')
+
+prepare() {
+  cd "$srcdir"
+  cp -a tornado-$pkgver{,-py2}
+
+  # python -> python2 rename
+  find tornado-$pkgver-py2 -name '*py' -exec sed -e 's_#!/usr/bin/env python_&2_' -i {} \;
+
+  export TORNADO_EXTENSION=1
+}
+
+build() {
+  cd tornado-$pkgver
+  python setup.py build
+
+  cd ../tornado-$pkgver-py2
+  python2 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.7/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"
+
+  (
+    cd tornado-$pkgver-py2
+    python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+    export PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH"
+    cd tmp_install
+    python2 -m tornado.test.runtests
+    python2 -m tornado.test.runtests --ioloop=tornado.platform.select.SelectIOLoop
+    python2 -m tornado.test.runtests --httpclient=tornado.curl_httpclient.CurlAsyncHTTPClient
+    python2 -m tornado.test.runtests --ioloop_time_monotonic
+    python2 -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop
+    python2 -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOLoop
+    python2 -m tornado.test.runtests --resolver=tornado.netutil.ThreadedResolver
+  ) || warning "Tests failed"
+}
+
+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-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-tornado() {
+  depends=('python2-futures' 'python2-singledispatch' 'python2-backports-abc')
+  optdepends=('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-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list