void-packages/srcpkgs/python-numpy-stl/template

31 lines
932 B
Bash

# Template file for 'python-numpy-stl'
pkgname=python-numpy-stl
version=2.3.2
revision=1
build_style=python-module
wrksrc="numpy-stl-${version}"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel python-numpy python3-numpy"
depends="python-numpy python-enum34 python-utils"
pycompile_module="stl"
short_desc="Python2 library to make working with STL files fast and easy"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="3-Clause-BSD"
homepage="https://github.com/WoLpH/numpy-stl/"
distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz"
checksum=0b5fb6445297c055166d2c9a47cafb663557ddc178f514f6ad98226645082882
pkg_install() {
vlicense LICENSE
}
python3-numpy-stl_package() {
depends="python3-numpy python3-utils"
pycompile_module="stl"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}