Merging upstream version 2.5.17.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a9bff6e427
commit
2b344384ef
3 changed files with 7 additions and 1 deletions
|
@ -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'],
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'}),
|
||||
|
|
Loading…
Add table
Reference in a new issue