python3-kiwisolver: update to 1.4.5, adopt.

This commit is contained in:
Gonzalo Tornaría 2023-05-07 21:56:57 -03:00 committed by Andrew J. Hesford
parent edc60b4f9a
commit a83946f0ca
1 changed files with 8 additions and 14 deletions

View File

@ -1,25 +1,19 @@
# Template file for 'python3-kiwisolver'
pkgname=python3-kiwisolver
version=1.3.1
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools python3-cppy"
version=1.4.5
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel python3-cppy"
makedepends="python3-devel python3-cppy"
depends="python3"
checkdepends="python3-pytest"
short_desc="Fast implementation of the Cassowary constraint solver (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/nucleic/kiwi"
changelog="https://github.com/nucleic/kiwi/raw/main/releasenotes.rst"
distfiles="${PYPI_SITE}/k/kiwisolver/kiwisolver-${version}.tar.gz"
checksum=950a199911a8d94683a6b10321f9345d5a3a8433ec58b217ace979e18f16e248
post_patch() {
# When cross building, make sure target cppy headers are used
if [ -n "${XBPS_CROSS_BASE}" ]; then
vsed -i setup.py \
-e "s@cppy.get_include()@&.replace('/usr/', '${XBPS_CROSS_BASE}/usr/')@"
fi
}
checksum=e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec
post_install() {
vlicense LICENSE