# Template file for 'img2pdf'
pkgname=img2pdf
version=0.6.3
revision=1
build_style=python3-pep517
make_check_args="-k not(miff_cmyk)"
hostmakedepends="python3-flit_core"
depends="python3-pikepdf python3-Pillow"
checkdepends="python3-pytest python3-numpy python3-scipy ImageMagick poppler
 ghostscript mupdf-tools netpbm exiftool colord ${depends}"
short_desc="Lossless conversion of raster images to PDF"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://gitlab.mister-muffin.de/josch/img2pdf"
distfiles="${PYPI_SITE}/i/img2pdf/img2pdf-${version}.tar.gz"
checksum=219518020f5bd242bdc46493941ea3f756f664c2e86f2454721e74353f58cd95

case "$XBPS_TARGET_MACHINE" in
	i686)
		make_check=no # 70 errors on this arch
		;;
esac
