# piprepomore/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package should omit Python modules as indicated below: * skip modules that require LTO * skip modules that require 64-bit hardware * skip modules that require Rust #--------------------------------------------------------------------- 2. Don't update "cryptography" unless you're able to patch it to re- move the dependency on Rust (or the disable-Rust environment variable used below continues to work). #--------------------------------------------------------------------- [buildtimes] 00.52 hours (or 031.28 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM 00.92 hours (or 055.02 minutes) - ThinkPad W530 i7 4x2 32GB RAM 01.01 hours (or 060.52 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 01.63 hours (or 097.98 minutes) - ThinkPad L390 32GB RAM i5 4x2 using 32-bit distro and 64-bit kernel #--------------------------------------------------------------------- [settings] configure = none license = Per-package nosyslinks = yes proddir = none purge = no shareddir = yes tmpsize = 1M unpack = none setpaths = curl openssl libsodium zlib libgmp #--------------------------------------------------------------------- [depends] bsddb3 curl expat libgmp libsodium openssl piprepobase postgtk pycurl pyenum34 pygments pyipaddr python2-core:strict python2-tcltk:strict python3-core:strict python3-tcltk:strict python:strict setuptools soundbase swig xorg zlib #--------------------------------------------------------------------- [build] export CRYPTOGRAPHY_DONT_BUILD_RUST=1 export FIXGCCOPTR=yes PY3BIN=$PRODTREE/python3/bin PY3INC=$PRODTREE/python3/include SP=$PKGDIR_SPECIAL export LACINCDIRS=$LACINCDIRS:$SP rm -fr $HOME/.cache/pip #--------------------------------------------------------------------- for pkg in `cat $SP/piprepo-python2-main.txt` do echo ==== pip2 install $pkg pip2 install --no-index --upgrade \ --find-links /src/piprepo2 $pkg || pip2 install --no-index --upgrade \ --find-links /src/piprepo2 $pkg done #--------------------------------------------------------------------- PATH=$PY3BIN:$PATH pip3install attrs || true #--------------------------------------------------------------------- for pass in true false do echo pass=$pass for pkg in `cat $SP/piprepo-python3-main.txt` do echo ==== pass $pass pip3install $pkg pip3install $pkg || (echo $pkg failed && $pass) done done #--------------------------------------------------------------------- makelac meson --force cd $PY3BIN ln -nsf rst2man.py rst2man ln -nsf $PY3BIN/rst* $SYSTREE/xbin/ #--------------------------------------------------------------------- # 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 = pypi; no fixed URL #--------------------------------------------------------------------- [history] 170714 Added package 190519 Updated some modules 210429 Reworked setup 210529 Minor changes 240203 Improved compatibility with "python" 3.11 250624 Modify module set to increase compatibility