From 26431c6e350d04433cdbf144e951b1d1ae5e04c2 Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Tue, 1 Dec 2020 17:09:22 -0500 Subject: [PATCH] python3-numpy-stl: update to 2.13.0. --- srcpkgs/python3-numpy-stl/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-numpy-stl/template b/srcpkgs/python3-numpy-stl/template index 2aedc43c0eb..32a16c54fa0 100644 --- a/srcpkgs/python3-numpy-stl/template +++ b/srcpkgs/python3-numpy-stl/template @@ -1,6 +1,6 @@ # Template file for 'python3-numpy-stl' pkgname=python3-numpy-stl -version=2.12.0 +version=2.13.0 revision=1 wrksrc="numpy-stl-${version}" build_style=python3-module @@ -8,18 +8,24 @@ build_helper="numpy" hostmakedepends="python3-setuptools python3-Cython" makedepends="python3-devel" 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" maintainer="Karl Nilsson " license="BSD-3-Clause" homepage="https://github.com/WoLpH/numpy-stl/" distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz" -checksum=298ca92291a11eb26ea4b376c2bc47ea72542294299973c7600398bc0b41955f +checksum=15a4bc07e7c707a62ebadc477de57511cfeb5bc51556f75d5b4fd91a687e514e conflicts="python-numpy-stl>=0" pre_build() { sed -i '/setup_requires=/d' setup.py } + +pre_check() { + vsed -i pytest.ini -e s/--flake8// +} + pkg_install() { vlicense LICENSE }