python3-kiwisolver: update to 1.3.1.
This commit is contained in:
parent
2ded1a0002
commit
1b71208fab
|
@ -1,22 +1,26 @@
|
|||
# Template file for 'python3-kiwisolver'
|
||||
pkgname=python3-kiwisolver
|
||||
version=1.0.1
|
||||
revision=5
|
||||
version=1.3.1
|
||||
revision=1
|
||||
wrksrc="kiwisolver-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
makedepends="python3-devel"
|
||||
hostmakedepends="python3-setuptools python3-cppy"
|
||||
makedepends="python3-devel python3-cppy"
|
||||
short_desc="Fast implementation of the Cassowary constraint solver (Python3)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/nucleic/kiwi"
|
||||
distfiles="${PYPI_SITE}/k/kiwisolver/kiwisolver-${version}.tar.gz"
|
||||
checksum=ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278
|
||||
checksum=950a199911a8d94683a6b10321f9345d5a3a8433ec58b217ace979e18f16e248
|
||||
|
||||
pre_build() {
|
||||
# remove dependency on setuptools; it's not a runtime dependency
|
||||
sed -i '/install_requires/d' setup.py
|
||||
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
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING.txt LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue