python-tornado: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:55:02 +07:00
parent c7172ed376
commit b8a6c55a3e
4 changed files with 20 additions and 31 deletions

View File

@ -1,30 +0,0 @@
# Template file for 'python-tornado'
pkgname=python-tornado
version=5.1.1
revision=2
wrksrc="tornado-${version}"
build_style=python-module
pycompile_module="tornado"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="ca-certificates python-singledispatch python-backports_abc"
short_desc="Python2 web framework and asynchronous networking library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
checksum=4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409
pre_build() {
# use system ca-certificates
sed -i "/install_requires.append('certifi')/d" setup.py
}
python3-tornado_package() {
pycompile_module="tornado"
depends="ca-certificates"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View File

@ -1 +0,0 @@
python-tornado

View File

@ -0,0 +1,20 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
version=5.1.1
revision=2
wrksrc="tornado-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="ca-certificates"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
checksum=4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409
pre_build() {
# use system ca-certificates
sed -i "/install_requires.append('certifi')/d" setup.py
}