forked from pool/python-Pygments
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user