# Template file for 'gallery-dl'
pkgname=gallery-dl
version=1.27.5
revision=2
build_style=python3-module
make_check_args="--ignore test/test_results.py"
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="${depends} yt-dlp python3-pytest"
short_desc="Command-line program to download image galleries"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/mikf/gallery-dl"
changelog="https://raw.githubusercontent.com/mikf/gallery-dl/master/CHANGELOG.md"
distfiles="https://github.com/mikf/gallery-dl/archive/refs/tags/v${version}.tar.gz"
checksum=f7fbf2321e98f79c8971de8bc44b059a976a44cb4f7dd19947affa9e76bc1484

pre_build() {
	make man completion
}
