Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Maliku:python
python-Pygments
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package python-Pygments
--- python-Pygments.changes.orig +++ python-Pygments.changes @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Sat Aug 3 11:42:54 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr> + +- fix build by forcing pip to use the prebuilt CA bundle + +------------------------------------------------------------------- +Thu Jul 11 14:24:45 UTC 2024 - Dirk Müller <dmueller@suse.com> + +- add buildignores to avoid bootstrap buildcycle + p11-kit/gtk-doc/python-Pygments which comes via + pip/ca-certificates + +------------------------------------------------------------------- Mon May 6 14:52:55 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr> - update to version 2.18.0: --- python-Pygments.spec.orig +++ python-Pygments.spec @@ -22,7 +22,6 @@ %else %bcond_with libalternatives %endif - %{?sle15_python_module_pythons} Name: python-Pygments Version: 2.18.0 @@ -31,7 +30,7 @@ Summary: A syntax highlighting pa License: BSD-2-Clause Group: Development/Languages/Python URL: https://pygments.org -Source: https://files.pythonhosted.org/packages/source/P/Pygments/pygments-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pygments/pygments-%{version}.tar.gz # PATCH-FIX-UPSTREAM skip-wcag-contrast-ratio.patch gh#pygments/pygments!2564 mcepl@suse.com # Don't make wcag-contrast-ratio mandatory for testing Patch0: skip-wcag-contrast-ratio.patch @@ -42,16 +41,19 @@ BuildRequires: %{python_module pytest > BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 +#!BuildIgnore: ca-certificates:p11-kit +#!BuildIgnore: ca-certificates:p11-kit-tools +BuildRequires: ca-certificates-mozilla-prebuilt +Provides: python-pygments = %{version} +Obsoletes: python-pygments < %{version} +BuildArch: noarch %if %{with libalternatives} -Requires: alts BuildRequires: alts +Requires: alts %else Requires(post): update-alternatives Requires(postun): update-alternatives %endif -Provides: python-pygments = %{version} -Obsoletes: python-pygments < %{version} -BuildArch: noarch %python_subpackages %description @@ -72,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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor