[arch-commits] Commit in python-tornado/repos (2 files)
Date: Saturday, August 17, 2013 @ 16:39:32 Author: fyan Revision: 95841 archrelease: copy trunk to community-testing-any Added: python-tornado/repos/community-testing-any/ python-tornado/repos/community-testing-any/PKGBUILD (from rev 95840, python-tornado/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: python-tornado/repos/community-testing-any/PKGBUILD (from rev 95840, python-tornado/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2013-08-17 14:39:32 UTC (rev 95841) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=('python-tornado' 'python2-tornado') +pkgver=3.1.0 +pkgrel=2 +pkgdesc='open source version of the scalable, non-blocking web server and tools' +arch=('any') +url='http://www.tornadoweb.org/' +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=("https://github.com/facebook/tornado/archive/v${pkgver}.tar.gz";) + +build() { + cd "$srcdir" + cp -r tornado-${pkgver} python2-tornado-${pkgver} + + cd tornado-${pkgver} + + python setup.py build + + cd ../python2-tornado-${pkgver} + + # python -> python2 rename + find -name '*py' -exec sed -e 's_#!/usr/bin/env python_&2_' -i {} \; + + python2 setup.py build +} + +package_python-tornado() { + depends=('python') + + cd "$srcdir/tornado-${pkgver}" + + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python2-tornado() { + depends=('python2') + + cd "$srcdir/python2-tornado-${pkgver}" + + python2 setup.py install --root="${pkgdir}" --optimize=1 +} + +sha512sums=('841127ab2f60e41d2f02a50fc5a8187a6907a745de81bac55ec942e69c1985a10b2d709261e920b26b31275094196ce943c01de71a4c0bb3015e48cc136652fd')
[arch-commits] Commit in python-tornado/repos (2 files)
Date: Wednesday, November 4, 2020 @ 09:14:57 Author: felixonmars Revision: 741810 archrelease: copy trunk to community-testing-x86_64 Added: python-tornado/repos/community-testing-x86_64/ python-tornado/repos/community-testing-x86_64/PKGBUILD (from rev 741809, python-tornado/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: python-tornado/repos/community-testing-x86_64/PKGBUILD (from rev 741809, python-tornado/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-11-04 09:14:57 UTC (rev 741810) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=python-tornado +pkgver=6.1.0 +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=('bd161a1c30f40f983d608297bca113735cb4baad255de71302a5b4d35be8c02afbc9820728efa912e62e1cbbfad8f92360261a69e0c8759f9e6cb477fbca31c7') + +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 + ) || echo "Tests failed" +} + +package() { + cd tornado-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-tornado/repos (2 files)
Date: Friday, October 25, 2019 @ 15:15:49 Author: felixonmars Revision: 518949 archrelease: copy trunk to community-staging-x86_64 Added: python-tornado/repos/community-staging-x86_64/ python-tornado/repos/community-staging-x86_64/PKGBUILD (from rev 518947, python-tornado/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: python-tornado/repos/community-staging-x86_64/PKGBUILD (from rev 518947, python-tornado/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-10-25 15:15:49 UTC (rev 518949) @@ -0,0 +1,47 @@ +# Maintainer: Felix Yan +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=python-tornado +pkgver=6.0.3 +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=('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 +}
[arch-commits] Commit in python-tornado/repos (2 files)
Date: Saturday, June 1, 2019 @ 07:26:28 Author: felixonmars Revision: 476248 archrelease: copy trunk to community-testing-x86_64 Added: python-tornado/repos/community-testing-x86_64/ python-tornado/repos/community-testing-x86_64/PKGBUILD (from rev 476246, python-tornado/trunk/PKGBUILD) --+ PKGBUILD | 87 + 1 file changed, 87 insertions(+) Copied: python-tornado/repos/community-testing-x86_64/PKGBUILD (from rev 476246, python-tornado/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-06-01 07:26:28 UTC (rev 476248) @@ -0,0 +1,87 @@ +# Maintainer: Felix Yan +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgbase=python-tornado +pkgname=('python-tornado' 'python2-tornado') +pkgver=6.0.2 +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' '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=('5f0678f00776034a6775d2d50206161028bf3798f97a6a40af7ff3f3552eb367bd694ceb578afdec96f60282f851d5bf5091839c25f1b569965017aa418de983') + +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 +}
[arch-commits] Commit in python-tornado/repos (2 files)
Date: Saturday, April 21, 2018 @ 04:19:54 Author: felixonmars Revision: 317235 archrelease: copy trunk to community-staging-x86_64 Added: python-tornado/repos/community-staging-x86_64/ python-tornado/repos/community-staging-x86_64/PKGBUILD (from rev 317234, python-tornado/trunk/PKGBUILD) --+ PKGBUILD | 89 + 1 file changed, 89 insertions(+) Copied: python-tornado/repos/community-staging-x86_64/PKGBUILD (from rev 317234, python-tornado/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-21 04:19:54 UTC (rev 317235) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgbase=python-tornado +pkgname=('python-tornado' 'python2-tornado') +pkgver=5.0.2 +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=('8e6d2757ef4179fc8f23efa63f6b22e5c303a8a1da1efda6a8df4a2acc22f0e67bed2ca504eac82c491c5bd0a087f9dcc76c4b6bd27afdf2fdc8c988f1dc1096') + +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.6/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 +}