forked from pool/python-identify
Accepting request 1273196 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1273196 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=20
This commit is contained in:
3
identify-2.6.10.tar.gz
Normal file
3
identify-2.6.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:289f9d03bdce49af3bdb74f4588cd3af1ce65605e6ecc393abe2e21016ec3ee4
|
||||
size 101914
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06f68e7e60e2ec92408d734b3093b6488461e871bdbc21dafc946edf255b741a
|
||||
size 101919
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 15:06:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 2.6.10
|
||||
* Add support for Magik
|
||||
- Convert to pyproject macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 12:18:10 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-identify
|
||||
Version: 2.6.9
|
||||
Version: 2.6.10
|
||||
Release: 0
|
||||
Summary: File identification library for Python
|
||||
License: MIT
|
||||
@@ -28,6 +28,7 @@ Source: https://github.com/pre-commit/identify/archive/v%{version}.tar.g
|
||||
# PATCH-FIX-OPENSUSE 0001-use-editdistance-not-ukkonen.patch -- ukkonen not packaged for opensuse now
|
||||
Patch1: 0001-use-editdistance-not-ukkonen.patch
|
||||
BuildRequires: %{python_module editdistance}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -46,10 +47,10 @@ File identification library for Python, including license file SPDX identifier.
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/identify-cli
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -67,6 +68,6 @@ File identification library for Python, including license file SPDX identifier.
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/identify-cli
|
||||
%{python_sitelib}/identify
|
||||
%{python_sitelib}/identify-%{version}-*-info
|
||||
%{python_sitelib}/identify-%{version}*info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user