void-packages/srcpkgs/python3-numpy-stl/template
2021-02-24 11:14:39 -05:00

32 lines
895 B
Bash

# Template file for 'python3-numpy-stl'
pkgname=python3-numpy-stl
version=2.15.1
revision=1
wrksrc="numpy-stl-${version}"
build_style=python3-module
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 <karl.robert.nilsson@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/WoLpH/numpy-stl/"
distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz"
checksum=ab64a7a06c28bd47a1db1768cb2b1b486b383d5e07daad6e3ee555ab22485419
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
}