14
0

Compare commits

22 Commits

Author SHA256 Message Date
4ae1736ed5 Accepting request 1321558 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1321558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=24
2025-12-09 11:49:56 +00:00
214b6e9937 - Update to 2.6.15
* [pre-commit.ci] pre-commit autoupdate
  * [pre-commit.ci] pre-commit autoupdate
  * fix: make PKGBUILD files a superset of .bash
  * Add .piskel extension

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=50
2025-12-08 11:42:02 +00:00
a7e6a73314 Accepting request 1307931 from devel:languages:python
- update to 2.6.14:
  * Add support for meson.options
  * fix: add robot filetype

OBS-URL: https://build.opensuse.org/request/show/1307931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=23
2025-09-30 15:40:58 +00:00
8a6c596ccd - update to 2.6.14:
* Add support for meson.options
  * fix: add robot filetype

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=48
2025-09-29 16:13:33 +00:00
672cb49ecf Accepting request 1299082 from devel:languages:python
- migrate to libalternatives
- Update to 2.6.13
  * Added C++ 'ipp' and 'tpp' file extensions

OBS-URL: https://build.opensuse.org/request/show/1299082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=22
2025-08-13 14:29:33 +00:00
b7d977172f - migrate to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=46
2025-08-12 13:49:13 +00:00
770608b27a - Update to 2.6.13
* Added C++ 'ipp' and 'tpp' file extensions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=45
2025-08-12 13:43:38 +00:00
369ed1ea5e Accepting request 1282362 from devel:languages:python
Forwarded request #1282169 from glaubitz

- 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

OBS-URL: https://build.opensuse.org/request/show/1282362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=21
2025-06-03 17:10:47 +00:00
07d95b1cb9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=43
2025-06-03 14:04:33 +00:00
781dca30d9 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
2025-04-29 14:40:16 +00:00
f17d353ad4 - Update to 2.6.10
* Add support for Magik
- Convert to pyproject macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=41
2025-04-28 15:44:55 +00:00
6314dabb13 Accepting request 1266174 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1266174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=19
2025-04-02 15:14:16 +00:00
4e2e30c194 - Update to 2.6.9
* Revert "add uv to interpreters list"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=39
2025-04-01 13:18:09 +00:00
5b819418be Accepting request 1248170 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1248170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=18
2025-02-25 15:47:10 +00:00
54151f553b - Update to 2.6.8
* [pre-commit.ci] pre-commit autoupdate
  * feat: Register sas as an extension
  * extensions: Introduce wsdl

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=37
2025-02-24 14:30:29 +00:00
ea1d3aa93a Accepting request 1245094 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1245094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=17
2025-02-11 20:30:43 +00:00
4ca98c01f7 - Update to 2.6.7
* [pre-commit.ci] pre-commit autoupdate
  * Upgrade asottile/workflows
  * Add `.templ` extension
  * Add uv to interpreters list

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=35
2025-02-11 12:45:08 +00:00
dc94603d72 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=34
2025-02-04 14:19:56 +00:00
9eb4dd07e7 Accepting request 1229249 from devel:languages:python
Forwarded request #1229226 from glaubitz

- 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

OBS-URL: https://build.opensuse.org/request/show/1229249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=16
2024-12-09 20:12:34 +00:00
4006749fd9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=32
2024-12-09 08:57:58 +00:00
cbf76fbacb Accepting request 1223988 from devel:languages:python
- update to 2.6.2:
  * Fix IndexError when shebang is just '#!/usr/bin/env'
  * Add ejson extension

OBS-URL: https://build.opensuse.org/request/show/1223988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-identify?expand=0&rev=15
2024-11-14 15:08:54 +00:00
d7e5f53642 - update to 2.6.2:
* Fix IndexError when shebang is just '#!/usr/bin/env'
  * Add ejson extension

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=30
2024-11-13 15:09:29 +00:00
4 changed files with 120 additions and 8 deletions

View File

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

3
identify-2.6.15.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,99 @@
-------------------------------------------------------------------
Wed Dec 3 10:05:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.6.15
* [pre-commit.ci] pre-commit autoupdate
* [pre-commit.ci] pre-commit autoupdate
* fix: make PKGBUILD files a superset of .bash
* Add .piskel extension
-------------------------------------------------------------------
Mon Sep 29 16:13:10 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.6.14:
* Add support for meson.options
* fix: add robot filetype
-------------------------------------------------------------------
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>

View File

@@ -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.15
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