From 005c61b4ee9f45dd7726af6dce2d11e201b7f5191edc7f404efae048e656808e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Monin?= Date: Fri, 9 Aug 2024 08:55:04 +0000 Subject: [PATCH] Accepting request 1191413 from home:benoit_monin:branches:devel:languages:python fix build by forcing pip to use the prebuilt CA bundle OBS-URL: https://build.opensuse.org/request/show/1191413 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=117 --- python-Pygments.changes | 5 +++++ python-Pygments.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-Pygments.changes b/python-Pygments.changes index 0cf6099..4cd2d5c 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 3 11:42:54 UTC 2024 - Benoît Monin + +- fix build by forcing pip to use the prebuilt CA bundle + ------------------------------------------------------------------- Thu Jul 11 14:24:45 UTC 2024 - Dirk Müller diff --git a/python-Pygments.spec b/python-Pygments.spec index 9075049..288b9e9 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -74,9 +74,13 @@ source code. Highlights are: chmod -x pygments/formatters/_mapping.py pygments/lexers/gsql.py %build +# Point pip to the prebuilt CA bundle +export _PIP_STANDALONE_CERT=/usr/share/factory/var/lib/ca-certificates/ca-bundle.pem %pyproject_wheel %install +# Point pip to the prebuilt CA bundle +export _PIP_STANDALONE_CERT=/usr/share/factory/var/lib/ca-certificates/ca-bundle.pem %pyproject_install install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 %python_clone -a %{buildroot}%{_bindir}/pygmentize