python3-numpy-stl: update to 2.13.0.

This commit is contained in:
Karl Nilsson 2020-12-01 17:09:22 -05:00 committed by Érico Nogueira Rolim
parent 0228bd5ed9
commit 119c0fdbd9

View file

@ -1,6 +1,6 @@
# Template file for 'python3-numpy-stl' # Template file for 'python3-numpy-stl'
pkgname=python3-numpy-stl pkgname=python3-numpy-stl
version=2.12.0 version=2.13.0
revision=1 revision=1
wrksrc="numpy-stl-${version}" wrksrc="numpy-stl-${version}"
build_style=python3-module build_style=python3-module
@ -8,18 +8,24 @@ build_helper="numpy"
hostmakedepends="python3-setuptools python3-Cython" hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel" makedepends="python3-devel"
depends="python3-setuptools python3-numpy python3-utils" depends="python3-setuptools python3-numpy python3-utils"
checkdepends="$depends python3-pytest-cov python3-docutils"
short_desc="Python3 library to make working with STL files fast and easy" short_desc="Python3 library to make working with STL files fast and easy"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>" maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://github.com/WoLpH/numpy-stl/" homepage="https://github.com/WoLpH/numpy-stl/"
distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz" distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz"
checksum=298ca92291a11eb26ea4b376c2bc47ea72542294299973c7600398bc0b41955f checksum=15a4bc07e7c707a62ebadc477de57511cfeb5bc51556f75d5b4fd91a687e514e
conflicts="python-numpy-stl>=0" conflicts="python-numpy-stl>=0"
pre_build() { pre_build() {
sed -i '/setup_requires=/d' setup.py sed -i '/setup_requires=/d' setup.py
} }
pre_check() {
vsed -i pytest.ini -e s/--flake8//
}
pkg_install() { pkg_install() {
vlicense LICENSE vlicense LICENSE
} }