32 lines
895 B
Bash
32 lines
895 B
Bash
# Template file for 'python3-numpy-stl'
|
|
pkgname=python3-numpy-stl
|
|
version=2.13.0
|
|
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=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
|
|
}
|