# numpy-py3/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The following command was used: ocgitfetch --run \ --checkout=v2.2.5 \ --deletegit \ https://github.com/numpy/numpy.git #--------------------------------------------------------------------- 2. Updates are likely to break this package. The build procedure is fragile in general. #--------------------------------------------------------------------- [buildtimes] 00.07 hours (or 004.42 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.09 hours (or 005.20 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.14 hours (or 008.22 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] configure = none license = See "license*.txt" in installed tree licfile = LICENSE.txt licprefix = $PRODTREE/python3 nosyslinks = yes proddir = none purge = no shareddir = yes tmpsize = 796M setpaths = lapack openblas python3 #--------------------------------------------------------------------- [depends] cython graphviz:forward lapack meson openblas python2-tcltk:strict python3-tcltk:strict #--------------------------------------------------------------------- [build] export LDFLAGS="-Wl,-rpath,$PRODTREE/lapack/lib" ln -nsf $PRODTREE/python3/bin/cython3 /glibc$LACBITS/xbin/cython ln -nsf $PRODTREE/python3/bin/cython3 /usr/bin/cython hash cython cython --version rm -fr $PRODTREE/python3/lib/python*/site-packages/numpy/ for x in \ bitsets click concepts features fileconfig \ graphviz patchelf spin zipp \ importlib-metadata do CMD="pip3install $x" echo $CMD && $CMD done CMD="pip3install meson-python==0.15.0" echo $CMD && $CMD CMD="pip3install ." echo $CMD && $CMD cd /tmp cat > testnp.py << END import numpy as np arr = np.array ([1, 2, 3, 4, 5]) print (arr) print (type (arr)) END python3 testnp.py cd / #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 190519 Added package. Started with 1.16.3. 190601 Updated to 1.16.4 210206 Split into "numpy-py2" and "numpy-py3" 210206 Updated to 1.20.0 210429 Updated to 1.20.2 211021 Updated to 1.21.3 230103 Updated to 1.24.1 240807 Updated to 2.0.1 250511 Updated to 7be8c1f91 - same as 2.2.5