# 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.4.3 \ --deletegit \ https://github.com/numpy/numpy.git #--------------------------------------------------------------------- 2. It's difficult to build this package without permitting online ac- cess. So, the build procedure is fragile and updates are highly likely to break it. #--------------------------------------------------------------------- 3. Updates to this package may necessitate updates to one or more Python 3 packages. In this event, it may or may not be necessary to explicitly uninstall one or more of the Python 3 packages in question before updating them. In Spring 2026, this proved to be an issue for "trove-classifiers" in particular. #--------------------------------------------------------------------- 4. "rembg", a PyPi package included in this distro, should be kept in sync with this package [numpy-py3]. I.e., the "numpy-py3" release num- ber expected by "rembg" should match the release number that is provi- ded by "numpy-py3". Or at least the expected release number shouldn't be higher than the actual one. #--------------------------------------------------------------------- [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] compiler = clang 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 unpack = relaxed 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 $LACTOP/xbin/cython hash cython cython --version rm -fr $PRODTREE/python3/lib/python*/site-packages/numpy/ #--------------------------------------------------------------------- echo ==== `date` trove_classifiers build started BASE=trove_classifiers-2026.1.14.14 tar zxf /src/piprepo3/$BASE.tar.gz cd $BASE python3 setup.py build python3 setup.py install cd .. rm -fr $BASE echo ==== `date` trove_classifiers build done #--------------------------------------------------------------------- for x in \ flit_core \ bitsets click concepts features fileconfig \ graphviz pathspec do CMD="pip3install $x" echo `date` ==== $x build started echo $CMD && $CMD echo `date` ==== $x build done done #--------------------------------------------------------------------- echo ==== `date` hatchling build started BASE=hatchling-1.29.0 tar zxf /src/piprepo3/$BASE.tar.gz cd $BASE pip3 install . cd .. rm -fr $BASE echo `date` hatchling build done #--------------------------------------------------------------------- echo === hatch_vcs build started BASE=hatch_vcs-0.5.0 tar zxf /src/piprepo3/$BASE.tar.gz cd $BASE pip3 install . cd .. rm -fr $BASE echo === hatch_vcs build done #--------------------------------------------------------------------- for x in \ scikit_build_core \ patchelf spin zipp \ pyproject-metadata \ importlib-metadata do CMD="pip3install $x" echo `date` ==== $x build started echo $CMD && $CMD echo `date` ==== $x build done done #--------------------------------------------------------------------- echo `date` ==== meson-python build started CMD="pip3install meson-python==0.18.0" echo $CMD && $CMD echo `date` ==== meson-python build done #--------------------------------------------------------------------- echo `date` ==== numpy build started CMD="pip3install ." echo $CMD && $CMD echo `date` ==== numpy build done #--------------------------------------------------------------------- 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 / makelac meson --force #--------------------------------------------------------------------- # 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 190519 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 250714 Updated to 2b686f659 - same as 2.2.6 251006 Updated to f2a77a76e - same as 2.3.3 251030 Updated to 1458b9e79 - same as 2.3.4 251227 Updated to c5ab79c14 - same as 2.4.0 260318 FTBFS fixes 260319 Updated to 8bcb2e72e - same as 2.4.3