From 56a6f9e4ea69e85205ef25a2f0b33e808e7e778b9d250c74bdd87e94fb2e1e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 24 Jun 2021 13:10:11 +0000 Subject: [PATCH] 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 --- identify-2.2.10.tar.gz | 3 +++ identify-2.2.6.tar.gz | 3 --- python-identify.changes | 8 ++++++++ python-identify.spec | 5 ++++- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 identify-2.2.10.tar.gz delete mode 100644 identify-2.2.6.tar.gz diff --git a/identify-2.2.10.tar.gz b/identify-2.2.10.tar.gz new file mode 100644 index 0000000..93da148 --- /dev/null +++ b/identify-2.2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91e1490b8fe459c3595bdfb299b7ef28bfdf3db54fa75f28ac64e96f5cf67435 +size 101073 diff --git a/identify-2.2.6.tar.gz b/identify-2.2.6.tar.gz deleted file mode 100644 index 61a1b55..0000000 --- a/identify-2.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ffc0d3a1fd6f9622da2a547e2fb25a75d50b0a16f22b4d752df2659f56bde95 -size 101016 diff --git a/python-identify.changes b/python-identify.changes index 00a4958..611e866 100644 --- a/python-identify.changes +++ b/python-identify.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jun 24 12:31:47 UTC 2021 - Markéta Machová + +- update to 2.2.10 + * add few file formats + * detect WORKSPACE files as bazel +- stick with older editdistance as it has more functionality + ------------------------------------------------------------------- Wed May 26 10:19:37 UTC 2021 - pgajdos@suse.com diff --git a/python-identify.spec b/python-identify.spec index 9ec1a63..958644c 100644 --- a/python-identify.spec +++ b/python-identify.spec @@ -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