29 lines
840 B
Bash
29 lines
840 B
Bash
# Template file for 'python3-cairo'
|
|
pkgname=python3-cairo
|
|
version=1.16.3
|
|
revision=1
|
|
wrksrc="pycairo-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="cairo-devel python3-devel"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python3 bindings for the cairo graphics library"
|
|
homepage="https://pycairo.readthedocs.io/"
|
|
license="LGPL-2.1, MPL-1.1"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
|
|
checksum=5bb321e5d4f8b3a51f56fc6a35c143f1b72ce0d748b43d8b623596e8215f01f7
|
|
|
|
do_check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
python3-cairo-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|