python3-kiwisolver: update to 1.3.1.

This commit is contained in:
Andrew J. Hesford 2020-11-04 14:38:44 -05:00
parent 2ded1a0002
commit 1b71208fab

View file

@ -1,22 +1,26 @@
# Template file for 'python3-kiwisolver' # Template file for 'python3-kiwisolver'
pkgname=python3-kiwisolver pkgname=python3-kiwisolver
version=1.0.1 version=1.3.1
revision=5 revision=1
wrksrc="kiwisolver-${version}" wrksrc="kiwisolver-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools python3-cppy"
makedepends="python3-devel" makedepends="python3-devel python3-cppy"
short_desc="Fast implementation of the Cassowary constraint solver (Python3)" short_desc="Fast implementation of the Cassowary constraint solver (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://github.com/nucleic/kiwi" homepage="https://github.com/nucleic/kiwi"
distfiles="${PYPI_SITE}/k/kiwisolver/kiwisolver-${version}.tar.gz" distfiles="${PYPI_SITE}/k/kiwisolver/kiwisolver-${version}.tar.gz"
checksum=ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278 checksum=950a199911a8d94683a6b10321f9345d5a3a8433ec58b217ace979e18f16e248
pre_build() { post_patch() {
# remove dependency on setuptools; it's not a runtime dependency # When cross building, make sure target cppy headers are used
sed -i '/install_requires/d' setup.py if [ -n "${XBPS_CROSS_BASE}" ]; then
vsed -i setup.py \
-e "s@cppy.get_include()@&.replace('/usr/', '${XBPS_CROSS_BASE}/usr/')@"
fi
} }
post_install() { post_install() {
vlicense COPYING.txt LICENSE vlicense LICENSE
} }