14
0

Accepting request 901738 from home:mcalabkova:branches:devel:languages:python

- update to 2.2.10
  * add few file formats
  * detect WORKSPACE files as bazel
- stick with older editdistance as it has more functionality

OBS-URL: https://build.opensuse.org/request/show/901738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=17
This commit is contained in:
2021-06-24 13:10:11 +00:00
committed by Git OBS Bridge
parent eadbed0a2c
commit 0adc2a2069
4 changed files with 15 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-identify
Version: 2.2.6
Version: 2.2.10
Release: 0
Summary: File identification library for Python
License: MIT
@@ -42,6 +42,9 @@ File identification library for Python, including license file SPDX identifier.
%prep
%setup -q -n identify-%{version}
# stick with editdistance as it generally has more functionality
sed -i 's/editdistance_s.distance/editdistance.eval/' identify/identify.py
sed -i 's/editdistance_s/editdistance/' identify/identify.py
%build
%python_build