void-packages/srcpkgs/python3-kiwisolver/template

23 lines
717 B
Bash

# Template file for 'python3-kiwisolver'
pkgname=python3-kiwisolver
version=1.0.1
revision=5
wrksrc="kiwisolver-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
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
pre_build() {
# remove dependency on setuptools; it's not a runtime dependency
sed -i '/install_requires/d' setup.py
}
post_install() {
vlicense COPYING.txt LICENSE
}