forked from pool/python-identify
Compare commits
22 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4ae1736ed5 | |||
| 214b6e9937 | |||
| a7e6a73314 | |||
| 8a6c596ccd | |||
| 672cb49ecf | |||
| b7d977172f | |||
| 770608b27a | |||
| 369ed1ea5e | |||
| 07d95b1cb9 | |||
| 781dca30d9 | |||
| f17d353ad4 | |||
| 6314dabb13 | |||
| 4e2e30c194 | |||
| 5b819418be | |||
| 54151f553b | |||
| ea1d3aa93a | |||
| 4ca98c01f7 | |||
| dc94603d72 | |||
| 9eb4dd07e7 | |||
| 4006749fd9 | |||
| cbf76fbacb | |||
| d7e5f53642 |
@@ -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
3
identify-2.6.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bcdb19f63ead0dc06c0bc603e21bb00c24da550ac40f16b7461bc405a05f2155
|
||||
size 102033
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user