# Template file for 'wpull'
pkgname=wpull
version=2.0.1
revision=2
noarch=yes
build_style=python3-module
pycompile_module="wpull"
hostmakedepends="python-setuptools python3-setuptools"
depends="python3-chardet python3-dnspython python3-html5lib python3-lxml
 python3-namedlist python3-psutil python3-SQLAlchemy python3-tornado
 python3-Yapsy"
short_desc="Wget-compatible web downloader and crawler"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="https://github.com/chfoo/wpull"
license="GPL-3"
distfiles="${PYPI_SITE}/w/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=eaaa85f9755a5ee0ac63770e37713eb68f99a73c267abd4d1439057eedd5dca3

pre_build() {
	sed -i 's/dnspython3/dnspython/' setup.py  # needed for dnspython>=1.13.0
}
