python3-cairo: update to 1.16.2.
This commit is contained in:
parent
dd5fb88c43
commit
685fbc8559
|
@ -1,23 +1,28 @@
|
||||||
# Template file for 'python3-cairo'
|
# Template file for 'python3-cairo'
|
||||||
pkgname=python3-cairo
|
pkgname=python3-cairo
|
||||||
version=1.15.4
|
version=1.16.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="pycairo-${version}"
|
wrksrc="pycairo-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
makedepends="cairo-devel python3-devel"
|
makedepends="cairo-devel python3-devel"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python3 bindings for the cairo graphics library"
|
short_desc="Python3 bindings for the cairo graphics library"
|
||||||
homepage="https://pycairo.readthedocs.io/"
|
homepage="https://pycairo.readthedocs.io/"
|
||||||
license="LGPL-2.1, MPL-1.1"
|
license="LGPL-2.1, MPL-1.1"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
|
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
|
||||||
checksum=ee4c3068c048230e5ce74bb8994a024711129bde1af1d76e3276c7acd81c4357
|
checksum=49a3cf8737c009852e97289d43e952bf228d8df53a7ddb840d4deeb4d0cc1ea7
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
python3-cairo-devel_package() {
|
python3-cairo-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/share/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue