### this file is sourced not run
PKGVER=6.5.2
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=python-tornado-$PKGVER.tar.gz
MD5SUM=dbf1f706f0a1efd9ed3dad8d82b7e865
SRC_URL=https://files.pythonhosted.org/packages/source/t/tornado/tornado-$PKGVER.tar.gz
BUNDLE=

SLACKREQ='' # 
SLACKDESC="python3-tornado: python3-tornado $PKGVER (Web server)
python3-tornado: 
python3-tornado: Tornado is a Python web framework and asynchronous networking 
python3-tornado: library, originally developed at FriendFeed. By using non-blocking 
python3-tornado: network I/O, Tornado can scale to tens of thousands of open 
python3-tornado: connections, making it ideal for long polling, WebSockets, and other 
python3-tornado: applications that require a long-lived connection to each user.
python3-tornado: 
python3-tornado: https://www.tornadoweb.org/en/stable/
python3-tornado: https://pypi.org/project/tornado/
python3-tornado: https://github.com/tornadoweb/tornado
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/tornado* &&
	#pkg_build_python3modules && # still works
	pkg_build_pip3modules tornado &&
	pkg_build_slackdesc &&

	# building the doc is too hard, just copy the rst files
	mkdir -p /usr/share/doc &&
	cp -r docs /usr/share/doc/tornado &&
	rm -r /usr/share/doc/tornado/{releases,Makefile,conf.py} &&

	return 0
}
