17
0

Accepting request 931495 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/931495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CommonMark?expand=0&rev=14
This commit is contained in:
2021-11-20 01:38:05 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 8 08:56:01 UTC 2021 - Hui-Zhi Zhao <hui.zhi.zhao@suse.com>
- Remove test on python2 since it only works with python3
-------------------------------------------------------------------
Thu Sep 2 11:27:12 UTC 2021 - pgajdos@suse.com

View File

@@ -65,9 +65,11 @@ CommonMark specification, using only native modules.
%check
export LANG=en_US.UTF-8
%if "%{python_flavor}" == "python3"
%pyunittest commonmark/tests/*.py
# On python2 we error out on unicode issues
PYTHONPATH=%{buildroot}%{python3_sitelib} python3 commonmark/tests/run_spec_tests.py
%endif
%post
%python_install_alternative cmark