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