33 lines
997 B
Bash
33 lines
997 B
Bash
# Template file for 'python3-cairo'
|
|
pkgname=python3-cairo
|
|
version=1.26.0
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="cairo-devel python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python3 bindings for the cairo graphics library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-only, MPL-1.1"
|
|
homepage="https://pycairo.readthedocs.io/"
|
|
changelog="https://raw.githubusercontent.com/pygobject/pycairo/main/NEWS"
|
|
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
|
|
checksum=2dddd0a874fbddb21e14acd9b955881ee1dc6e63b9c549a192d613a907f9cbeb
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args="-Dtests=true"
|
|
else
|
|
configure_args="-Dtests=false"
|
|
fi
|
|
|
|
python3-cairo-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
lib32disabled= # override build style
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|