# Template file for 'gdown'
pkgname=gdown
version=5.2.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
depends="python3-filelock python3-requests python3-six python3-tqdm
 python3-pysocks python3-BeautifulSoup4"
checkdepends="${depends} python3-pytest"
short_desc="Download a large file from Google Drive"
maintainer="travankor <travankor@tuta.io>"
license="MIT"
homepage="https://github.com/wkentaro/gdown"
changelog="https://github.com/wkentaro/gdown/releases"
distfiles="${PYPI_SITE}/g/gdown/gdown-${version}.tar.gz"
checksum=2145165062d85520a3cd98b356c9ed522c5e7984d408535409fd46f94defc787
make_check=no # tests download random files from google drive and hang

post_install() {
	vlicense LICENSE
}
