New package: python-numpy-stl-2.3.2

This commit is contained in:
Karl Nilsson 2017-09-15 14:26:46 -04:00 committed by Michael Aldridge
parent ff55bae2b2
commit 7f065754d3
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# 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
}
}

1
srcpkgs/python3-numpy-stl Symbolic link
View File

@ -0,0 +1 @@
python-numpy-stl/