33 lines
1001 B
Bash
33 lines
1001 B
Bash
# Template file for 'python3-cairo'
|
|
pkgname=python3-cairo
|
|
version=1.25.1
|
|
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-or-later, 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=7e2be4fbc3b4536f16db7a11982cbf713e75069a4d73d44fe5a49b68423f5c0c
|
|
|
|
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
|
|
}
|
|
}
|