33 lines
1001 B
Bash
33 lines
1001 B
Bash
# Template file for 'python3-cairo'
|
|
pkgname=python3-cairo
|
|
version=1.23.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-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=9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c
|
|
|
|
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
|
|
}
|
|
}
|