# Template file for 'diffoscope'
pkgname=diffoscope
version=284
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-magic python3-libarchive-c python3-progressbar
 python3-argcomplete binwalk python3-defusedxml python3-distro
 python3-jsondiff python3-pypdf python3-pyxattr python3-tlsh
 python3-debian rpm-python3"
checkdepends="${depends} cpio lz4 lzip xz python3-pytest-xdist"
short_desc="In-depth comparison of files, archives, and directories"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-3.0-or-later"
homepage="https://diffoscope.org/"
changelog="https://salsa.debian.org/reproducible-builds/diffoscope/-/raw/master/debian/changelog"
distfiles="https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"
checksum=7b7d09205a11c4f737f845422e86946c74997751231cca59ff693ab9883db4f8

python_extras="cmdline distro_detection"

post_install() {
	vcompletion debian/zsh-completion/_diffoscope zsh
}
