forked from pool/python-CommonMark
Accepting request 915780 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/915780 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CommonMark?expand=0&rev=13
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 2 11:27:12 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest rpm macro, do not use setup.py test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 06:00:21 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -65,9 +65,9 @@ CommonMark specification, using only native modules.
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python commonmark/tests/unit_tests.py
|
||||
%pyunittest commonmark/tests/*.py
|
||||
# On python2 we error out on unicode issues
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} python3 setup.py test
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} python3 commonmark/tests/run_spec_tests.py
|
||||
|
||||
%post
|
||||
%python_install_alternative cmark
|
||||
|
||||
Reference in New Issue
Block a user