python-numpy-stl: update to 2.6.0

This commit is contained in:
Alessio Sergi 2018-06-06 19:16:40 +02:00
parent c85dc2d65a
commit 12c4a64492

View file

@ -1,8 +1,8 @@
# Template file for 'python-numpy-stl' # Template file for 'python-numpy-stl'
pkgname=python-numpy-stl pkgname=python-numpy-stl
version=2.5.0 version=2.6.0
revision=1 revision=1
wrksrc="numpy-stl-${version}" wrksrc="numpy-stl-v${version}"
build_style=python-module build_style=python-module
pycompile_module="stl" pycompile_module="stl"
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython" hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
@ -12,8 +12,8 @@ short_desc="Python2 library to make working with STL files fast and easy"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>" maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://github.com/WoLpH/numpy-stl/" homepage="https://github.com/WoLpH/numpy-stl/"
distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz" distfiles="https://github.com/WoLpH/numpy-stl/releases/download/v${version}/numpy-stl-v${version}.tar.xz"
checksum=c2919e2ff4945f41dc6bd140c37f77643776076a1734b8913e2461e44465393b checksum=48d0f3c23cddec6975be5367d8eb4ce09508c2527101cf1c034da01ff702bf3d
alternatives=" alternatives="
numpy-stl:stl:/usr/bin/stl2 numpy-stl:stl:/usr/bin/stl2
@ -22,8 +22,6 @@ alternatives="
pre_build() { pre_build() {
sed -i '/setup_requires=/d' setup.py sed -i '/setup_requires=/d' setup.py
# upstream forgot to increment version
sed -i "s/2\.4\.1/${version}/" stl/__about__.py
} }
pkg_install() { pkg_install() {
vlicense LICENSE vlicense LICENSE