Accepting request 835449 from home:jayvdb:branches:devel:languages:python

- Activate test suite
- Update to 20.8.0
  *  include dict in iterating context 
  *  Fixed reporting some unchanged files as needing modification

OBS-URL: https://build.opensuse.org/request/show/835449
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fissix?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2020-09-19 09:50:25 +00:00 committed by Git OBS Bridge
parent 6b8554d6b2
commit 01b6830b8d
4 changed files with 21 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ed6ca30ff516753eea3a6d337b1788327666c05ececedcff27a760dde5da576
size 152236

3
fissix-20.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6e80a64ac9baff328b8b1b180002eb8b488bf2db0c3c555ef51750ee005571a
size 152701

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 18 15:33:11 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
- Update to 20.8.0
* include dict in iterating context
* Fixed reporting some unchanged files as needing modification
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 1 06:10:52 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com> Wed Jul 1 06:10:52 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-fissix Name: python-fissix
Version: 20.5.1 Version: 20.8.0
Release: 0 Release: 0
Summary: Backport of lib2to3, with enhancements Summary: Backport of lib2to3, with enhancements
License: Python-2.0 License: Python-2.0
@ -27,7 +27,9 @@ URL: https://github.com/jreese/fissix
Source: https://files.pythonhosted.org/packages/source/f/fissix/fissix-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/f/fissix/fissix-%{version}.tar.gz
BuildRequires: %{python_module appdirs} BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module pytest >= 6.0.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testsuite}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-appdirs Requires: python-appdirs
@ -39,13 +41,19 @@ Backport of latest lib2to3, with enhancements.
%prep %prep
%setup -q -n fissix-%{version} %setup -q -n fissix-%{version}
sed -i '1{/^#!/d}' fissix/pgen2/token.py
%build %build
%python_build %python_build
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %{python_expand rm -r %{buildroot}%{$python_sitelib}/fissix/tests/
%fdupes %{buildroot}%{$python_sitelib}
}
%check
%pytest
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md