python-numpy-stl: update to 2.5.0
This commit is contained in:
parent
de7743451a
commit
c14860d786
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-numpy-stl'
|
# Template file for 'python-numpy-stl'
|
||||||
pkgname=python-numpy-stl
|
pkgname=python-numpy-stl
|
||||||
version=2.3.2
|
version=2.5.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="numpy-stl-${version}"
|
wrksrc="numpy-stl-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="stl"
|
pycompile_module="stl"
|
||||||
|
@ -13,7 +13,7 @@ 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/archive/v${version}.tar.gz"
|
||||||
checksum=0b5fb6445297c055166d2c9a47cafb663557ddc178f514f6ad98226645082882
|
checksum=c2919e2ff4945f41dc6bd140c37f77643776076a1734b8913e2461e44465393b
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
numpy-stl:stl:/usr/bin/stl2
|
numpy-stl:stl:/usr/bin/stl2
|
||||||
|
@ -22,6 +22,8 @@ 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue