1
0
Fork 0

Merging upstream version 2.5.17.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 05:25:26 +01:00
parent a9bff6e427
commit 2b344384ef
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 7 additions and 1 deletions

View file

@ -41,6 +41,7 @@ EXTENSIONS = {
'cxx': {'text', 'c++'},
'cylc': {'text', 'cylc'},
'dart': {'text', 'dart'},
'dbc': {'text', 'dbc'},
'def': {'text', 'def'},
'dll': {'binary'},
'dtd': {'text', 'dtd'},
@ -137,6 +138,7 @@ EXTENSIONS = {
'markdown': {'text', 'markdown'},
'md': {'text', 'markdown'},
'mdx': {'text', 'mdx'},
'meson': {'text', 'meson'},
'mib': {'text', 'mib'},
'mjs': {'text', 'javascript'},
'mk': {'text', 'makefile'},
@ -332,6 +334,8 @@ NAMES = {
'LICENSE': EXTENSIONS['txt'],
'MAINTAINERS': EXTENSIONS['txt'],
'Makefile': EXTENSIONS['mk'],
'meson.build': EXTENSIONS['meson'],
'meson_options.txt': EXTENSIONS['meson'],
'makefile': EXTENSIONS['mk'],
'NEWS': EXTENSIONS['txt'],
'NOTICE': EXTENSIONS['txt'],

View file

@ -1,6 +1,6 @@
[metadata]
name = identify
version = 2.5.15
version = 2.5.17
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown

View file

@ -165,6 +165,8 @@ def test_tags_from_path_plist_text(tmpdir):
('Jenkinsfile', {'text', 'groovy', 'jenkins'}),
('build.jenkins', {'text', 'groovy', 'jenkins'}),
('build.jenkinsfile', {'text', 'groovy', 'jenkins'}),
('meson.build', {'text', 'meson'}),
('meson_options.txt', {'text', 'plain-text', 'meson'}),
# does not set binary / text
('f.plist', {'plist'}),