# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python2-tornado _pkgname=tornado pkgver=5.1.1 pkgrel=4 pkgdesc='A Python web framework and asynchronous networking library, originally developed at FriendFeed.' url='https://pypi.org/project/tornado/#files' arch=('x86_64' 'aarch64') license=('Apache') depends=('python2' 'python2-backports-abc' 'python2-futures' 'python2-singledispatch') makedepends=('python2-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('f9ecedb20c055981f482c9a2a8bb30082dcc479674f75f6c8654afcf40f2ce5a45e82c7e2b5a6ce5d1c9da7896e865e78c7d29a64b6b1d28d6e74a718be62dc7') build() { cd "$_pkgname-$pkgver" python2 setup.py build } package() { cd "$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }