void-packages/srcpkgs/python3-cairocffi/template

28 lines
903 B
Bash

# Template file for 'python3-cairocffi'
pkgname=python3-cairocffi
version=1.7.1
revision=1
build_style=python3-pep517
make_check_args="--pyargs cairocffi"
hostmakedepends="python3-setuptools python3-cffi python3-wheel
python3-flit_core $(vopt_if xcb python3-xcffib)"
depends="python3-cffi cairo"
checkdepends="python3-pytest python3-numpy gdk-pixbuf python3-pikepdf $depends"
short_desc="CFFI-based cairo bindings for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Kozea/cairocffi"
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
checksum=2e48ee864884ec4a3a34bfa8c9ab9999f688286eb714a15a43ec9d068c36557b
build_options=xcb
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*|ppc64)
build_options_default="xcb"
esac
post_install() {
vlicense LICENSE
}