%global python3_pkgversion 3.14 %global __python3 /usr/bin/python3.14 Name: python%{python3_pkgversion}-bootstrap-bundle Version: 1.0 Release: 1 Summary: Multi-arch God Bundle for Python 3.14 Bootstrap License: MIT %global debug_package %{nil} Source0: python3.14-god-bundle.tar.gz BuildRequires: python%{python3_pkgversion} Provides: python3-alabaster = 1.0.0 Provides: python3.14-alabaster = 1.0.0 Provides: python3-autocommand = 2.2.2 Provides: python3.14-autocommand = 2.2.2 Provides: python3-babel = 2.17.0 Provides: python3.14-babel = 2.17.0 Provides: python3-certifi = 2025.11.12 Provides: python3.14-certifi = 2025.11.12 Provides: python3-charset-normalizer = 3.4.4 Provides: python3.14-charset-normalizer = 3.4.4 Provides: python3-docutils = 0.21.2 Provides: python3.14-docutils = 0.21.2 Provides: python3-editables = 0.5 Provides: python3.14-editables = 0.5 Provides: python3-flit-core = 3.12.0 Provides: python3.14-flit-core = 3.12.0 Provides: python3-hatch-fancy-pypi-readme = 25.1.0 Provides: python3.14-hatch-fancy-pypi-readme = 25.1.0 Provides: python3-hatch-vcs = 0.5.0 Provides: python3.14-hatch-vcs = 0.5.0 Provides: python3-hatchling = 1.27.0 Provides: python3.14-hatchling = 1.27.0 Provides: python3-idna = 3.11 Provides: python3.14-idna = 3.11 Provides: python3-imagesize = 1.4.1 Provides: python3.14-imagesize = 1.4.1 Provides: python3-inflect = 7.5.0 Provides: python3.14-inflect = 7.5.0 Provides: python3-jaraco-context = 6.0.1 Provides: python3.14-jaraco-context = 6.0.1 Provides: python3-jaraco-text = 4.0.0 Provides: python3.14-jaraco-text = 4.0.0 Provides: python3-jaraco-functools = 4.3.0 Provides: python3.14-jaraco-functools = 4.3.0 Provides: python3-jinja2 = 3.1.6 Provides: python3.14-jinja2 = 3.1.6 Provides: python3-markupsafe = 3.0.3 Provides: python3.14-markupsafe = 3.0.3 Provides: python3-more-itertools = 10.8.0 Provides: python3.14-more-itertools = 10.8.0 Provides: python3-ordered-set = 4.1.0 Provides: python3.14-ordered-set = 4.1.0 Provides: python3-packaging = 25.0 Provides: python3.14-packaging = 25.0 Provides: python3-pathspec = 0.12.1 Provides: python3.14-pathspec = 0.12.1 Provides: python3-pdm-backend = 2.4.6 Provides: python3.14-pdm-backend = 2.4.6 Provides: python3-pip = 25.3 Provides: python3.14-pip = 25.3 Provides: python3-platformdirs = 4.5.0 Provides: python3.14-platformdirs = 4.5.0 Provides: python3-pluggy = 1.6.0 Provides: python3.14-pluggy = 1.6.0 Provides: python3-poetry-core = 2.2.1 Provides: python3.14-poetry-core = 2.2.1 Provides: python3-pygments = 2.19.2 Provides: python3.14-pygments = 2.19.2 Provides: python3-requests = 2.32.5 Provides: python3.14-requests = 2.32.5 Provides: python3-roman-numerals-py = 3.1.0 Provides: python3.14-roman-numerals-py = 3.1.0 Provides: python3-setuptools = 80.9.0 Provides: python3.14-setuptools = 80.9.0 Provides: python3-setuptools-scm = 9.2.2 Provides: python3.14-setuptools-scm = 9.2.2 Provides: python3-snowballstemmer = 3.0.1 Provides: python3.14-snowballstemmer = 3.0.1 Provides: python3-sphinx = 8.2.3 Provides: python3.14-sphinx = 8.2.3 Provides: python3-sphinxcontrib-applehelp = 2.0.0 Provides: python3.14-sphinxcontrib-applehelp = 2.0.0 Provides: python3-sphinxcontrib-devhelp = 2.0.0 Provides: python3.14-sphinxcontrib-devhelp = 2.0.0 Provides: python3-sphinxcontrib-htmlhelp = 2.1.0 Provides: python3.14-sphinxcontrib-htmlhelp = 2.1.0 Provides: python3-sphinxcontrib-jsmath = 1.0.1 Provides: python3.14-sphinxcontrib-jsmath = 1.0.1 Provides: python3-sphinxcontrib-qthelp = 2.0.0 Provides: python3.14-sphinxcontrib-qthelp = 2.0.0 Provides: python3-sphinxcontrib-serializinghtml = 2.0.0 Provides: python3.14-sphinxcontrib-serializinghtml = 2.0.0 Provides: python3-tomli = 2.3.0 Provides: python3.14-tomli = 2.3.0 Provides: python3-trove-classifiers = 2025.11.14.15 Provides: python3.14-trove-classifiers = 2025.11.14.15 Provides: python3-typeguard = 4.4.4 Provides: python3.14-typeguard = 4.4.4 Provides: python3-typing-extensions = 4.15.0 Provides: python3.14-typing-extensions = 4.15.0 Provides: python3-urllib3 = 2.5.0 Provides: python3.14-urllib3 = 2.5.0 Provides: python3-wheel = 0.45.1 Provides: python3.14-wheel = 0.45.1 %description This package forces installation of bundled wheels into the Python 3.14 site-packages, supporting both x86_64 and aarch64. USE ONLY FOR BOOTSTRAP. %prep %setup -q -n vendor_wheels %build # No build needed %install CURRENT_ARCH="%{_arch}" echo "Bootstrapping for architecture: $CURRENT_ARCH" INSTALLER_WHEEL=$(ls installer-*.whl | head -n 1) if [ -z "$INSTALLER_WHEEL" ]; then echo "Error: Cannot find 'installer' wheel! Did you forget to download it?" exit 1 fi echo "Bootstrapping installer from: $INSTALLER_WHEEL" export PYTHONPATH=$PWD/$INSTALLER_WHEEL echo "Starting installation loop..." for wheel in *.whl; do if [[ "$wheel" == *"-any.whl" ]]; then echo "Installing generic: $wheel" %{__python3} -m installer --destdir=%{buildroot} "$wheel" elif [[ "$wheel" == *"$CURRENT_ARCH.whl" ]]; then echo "Installing arch-specific: $wheel" %{__python3} -m installer --destdir=%{buildroot} "$wheel" else echo "Skipping mismatch arch: $wheel" fi done find %{buildroot} -name "*.pyc" -delete find %{buildroot} -name "__pycache__" -delete %files %{_bindir}/* %{_usr}/lib*/python%{python3_pkgversion}/site-packages/* %changelog