python3-cairocffi: update to 1.6.1.
This commit is contained in:
parent
632dc1c110
commit
397b0458f6
1 changed files with 7 additions and 16 deletions
|
@ -1,18 +1,19 @@
|
||||||
# Template file for 'python3-cairocffi'
|
# Template file for 'python3-cairocffi'
|
||||||
pkgname=python3-cairocffi
|
pkgname=python3-cairocffi
|
||||||
version=1.3.0
|
version=1.6.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
|
make_check_args="--pyargs cairocffi"
|
||||||
|
hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-flit_core $(vopt_if xcb python3-xcffib)"
|
||||||
depends="python3-cffi cairo"
|
depends="python3-cffi cairo"
|
||||||
checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
|
checkdepends="python3-pytest python3-numpy gdk-pixbuf python3-pikepdf $depends"
|
||||||
short_desc="CFFI-based cairo bindings for Python3"
|
short_desc="CFFI-based cairo bindings for Python3"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/Kozea/cairocffi"
|
homepage="https://github.com/Kozea/cairocffi"
|
||||||
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
|
changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
|
||||||
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
|
||||||
checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
|
checksum=78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7
|
||||||
|
|
||||||
build_options=xcb
|
build_options=xcb
|
||||||
case "$XBPS_MACHINE" in
|
case "$XBPS_MACHINE" in
|
||||||
|
@ -20,16 +21,6 @@ x86_64*|i686|ppc64le*|ppc64)
|
||||||
build_options_default="xcb"
|
build_options_default="xcb"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
vsed -e '/pytest-runner/d' -i setup.cfg
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
vsed -e '/addopts/d' -i setup.cfg
|
|
||||||
# Copy in $wrksrc lacks generated module; run against built copy
|
|
||||||
( cd build/lib* && python3 -m pytest )
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue