File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ python-numpy
Original file line number Diff line number Diff line change 11pkgname = "python-numpy"
22pkgver = "2.3.0"
3- pkgrel = 0
3+ pkgrel = 1
44build_style = "python_pep517"
55make_build_args = []
66hostmakedepends = [
@@ -92,11 +92,22 @@ def check(self):
9292
9393def post_install (self ):
9494 self .install_license ("LICENSE.txt" )
95- # remove static libs
96- self .uninstall (
97- f"usr/lib/python{ self .python_version } /site-packages/numpy/*/lib/lib*.a" ,
98- glob = True ,
99- )
95+
96+
97+ @subpackage ("python-numpy-devel" )
98+ def _ (self ):
99+ def install ():
100+ self .take (
101+ f"usr/lib/python{ self .parent .python_version } /site-packages/numpy/*/include"
102+ )
103+ self .take (
104+ f"usr/lib/python{ self .parent .python_version } /site-packages/numpy/*/lib"
105+ )
106+ self .take (
107+ f"usr/lib/python{ self .parent .python_version } /site-packages/numpy/*/src"
108+ )
109+
110+ return install
100111
101112
102113@subpackage ("python-numpy-tests" )
You can’t perform that action at this time.
0 commit comments