diff --git a/srcpkgs/python3-numpy/template b/srcpkgs/python3-numpy/template index 51bd23a1ec..957551b64d 100644 --- a/srcpkgs/python3-numpy/template +++ b/srcpkgs/python3-numpy/template @@ -1,6 +1,6 @@ # Template file for 'python3-numpy' pkgname=python3-numpy -version=1.22.2 +version=1.22.3 revision=1 wrksrc="numpy-${version}" build_style=python3-module @@ -13,7 +13,7 @@ maintainer="Andrew J. Hesford " license="BSD-3-Clause" homepage="https://www.numpy.org/" distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz" -checksum=3428c3bd846beca1cd4417ebee6eab8bb62e987fc3101e5858d74c92b312d096 +checksum=c8f3ec591e3f17b939220f2b9eabb4c5e2db330f8af62c0a3aeee8a4d1a6c0db alternatives="numpy:f2py:/usr/bin/f2py3" # Tests do not function propery in a build directory make_check="no" @@ -69,13 +69,8 @@ pre_build() { } post_install() { - # create compat symlinks for .h files - vmkdir ${py3_inc} - ln -sfr ${DESTDIR}/${py3_sitelib}/numpy/core/include/numpy \ - ${DESTDIR}/${py3_inc} + rm ${DESTDIR}/usr/bin/f2py - rm -f ${DESTDIR}/usr/bin/f2py - - rm -f ${DESTDIR}/usr/lib/python*/site-packages/numpy/LICENSE.txt + rm ${DESTDIR}/${py3_sitelib}/numpy/LICENSE.txt vlicense LICENSE.txt LICENSE }