# Template file for 'gallery-dl'
pkgname=gallery-dl
version=1.31.10
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="${depends} yt-dlp"
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://codeberg.org/mikf/gallery-dl/releases/download/v${version}/gallery_dl-${version}.tar.gz"
checksum=d387c41429e14c2646eeb10285bf4777cf0ed3da68ee3f2edcba505f3e137bb7

do_check() {
	make test
}
