forked from pool/python-slimit
Accepting request 711063 from home:pgajdos
- run the testsuite, make it passing
- modified patches
40956e7fc6
% python-slimit-fix-python3.patch (amended)
OBS-URL: https://build.opensuse.org/request/show/711063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slimit?expand=0&rev=18
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 10:58:15 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- run the testsuite, make it passing
|
||||
- modified patches
|
||||
https://github.com/rspivak/slimit/commit/40956e7fc6e954b3e6d7b629faeb3303f5efb7ea
|
||||
% python-slimit-fix-python3.patch (amended)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 31 11:13:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -28,14 +28,18 @@ URL: https://slimit.readthedocs.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/s/slimit/slimit-%{version}.zip
|
||||
# PATCH-FIX-OPENSUSE python-slimit-add-licence.patch -- Include the licence file that is present in git since 4111f2d.
|
||||
Patch0: python-slimit-add-licence.patch
|
||||
# PATCH-FIX-OPENSUSE python-slimit-fix-python3.patch -- Take commit e833165 from https://github.com/rspivak/slimit/pull/65 by Lele Gaifax.
|
||||
# https://github.com/rspivak/slimit/commit/40956e7fc6e954b3e6d7b629faeb3303f5efb7ea
|
||||
Patch1: python-slimit-fix-python3.patch
|
||||
BuildRequires: %{python_module ply >= 3.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
Requires: python-ply >= 3.4
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
@@ -74,6 +78,9 @@ lexer, pretty printer and a tree visitor.
|
||||
%postun
|
||||
%python_uninstall_alternative slimit
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES README.rst
|
||||
|
Reference in New Issue
Block a user