Compare commits
18 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 233c83b2e1 | |||
| 949cf4b75b | |||
| 860abe633a | |||
| 17eb57b4b7 | |||
| c704a05bb5 | |||
| 8679e5f35f | |||
| 37ab39dc85 | |||
| 9ccc56d775 | |||
| 3ca0649814 | |||
| dfdc1eb4a6 | |||
| 12a1686a2e | |||
| 1537dcfc37 | |||
| ea75d8efd8 | |||
| 978d489799 | |||
| 8589f91e2d | |||
| 60631c6cc5 | |||
| f735853760 | |||
| 5927976401 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:429f6289a5d53d0e9728e348dc3b92087590e6480ca6b0197adda471a7117a51
|
||||
size 101732
|
||||
3
identify-2.6.13.tar.gz
Normal file
3
identify-2.6.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93a51afb4721ebbcc46045af64e26b063fd691cfb966b26c21999e028eeeb12e
|
||||
size 101964
|
||||
@@ -1,3 +1,83 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 13:48:11 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- migrate to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 12:39:47 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.13
|
||||
* Added C++ 'ipp' and 'tpp' file extensions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 07:34:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.12
|
||||
* Identify common MSBuild files
|
||||
* Drop ambiguous .proj extension
|
||||
- from version 2.6.11
|
||||
* Add support for `.sqlfluff`
|
||||
* Identify XSLT files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 2.6.9
|
||||
* Revert "add uv to interpreters list"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 13:34:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.8
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
* feat: Register sas as an extension
|
||||
* extensions: Introduce wsdl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 09:43:51 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.7
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
* Upgrade asottile/workflows
|
||||
* Add `.templ` extension
|
||||
* Add uv to interpreters list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 12:20:34 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.6
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
* Add '.asm' file extension as 'asm' filetype
|
||||
- from version 2.6.5
|
||||
* feat: identify .psm1 and .psd1 files as powershell
|
||||
- from version 2.6.4
|
||||
* feat: identify gleam files
|
||||
* feat: identify bz3 files as bzip3 archives
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
* Add Tiltfile support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 08:24:58 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.3
|
||||
* Add C# Script and F# Source and Script filetypes
|
||||
* Add bitbake extensions and files
|
||||
* feat: identify direnv files as Bash
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 15:08:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.6.2:
|
||||
* Fix IndexError when shebang is just '#!/usr/bin/env'
|
||||
* Add ejson extension
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 20:20:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-identify
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-identify
|
||||
Version: 2.5.36
|
||||
Version: 2.6.13
|
||||
Release: 0
|
||||
Summary: File identification library for Python
|
||||
License: MIT
|
||||
@@ -28,12 +34,18 @@ 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
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
Recommends: python-editdistance
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -46,16 +58,20 @@ 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}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%pre
|
||||
# removing old update-alternatives entries
|
||||
%python_libalternatives_reset_alternative identify-cli
|
||||
|
||||
%post
|
||||
%python_install_alternative identify-cli
|
||||
|
||||
@@ -67,6 +83,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