15
0

Accepting request 1251919 from home:yeey:branches:devel:languages:python

- Remove files from testsamples that licensedigger flagged as high risks.
  Also created an issue upstream for potential licensing issues. See
  https://github.com/pygments/pygments/issues/2872
- Disable tests which depended on those files

OBS-URL: https://build.opensuse.org/request/show/1251919
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=121
This commit is contained in:
2025-03-11 07:56:11 +00:00
committed by Git OBS Bridge
parent 0cd78196c3
commit 8a2278f0e4
3 changed files with 14 additions and 3 deletions

View File

@@ -85,7 +85,10 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
}
%check
%pytest
# skip test_guess_lexer_modula2 as we have to remove it's depent artifacts
# in exmplefiles because of potential licensing concerns
# See https://github.com/pygments/pygments/issues/2872
%pytest -k "not test_guess_lexer_modula2"
%pre
# If libalternatives is used: Removing old update-alternatives entries.