Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-puremagic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-puremagic: update to 2.2.0. Version 2.2.0 ------------- - Adding Ogg scanner to distinguish Vorbis, Opus, Theora, FLAC, Speex, and OGM codecs - Adding ASF scanner to distinguish WMV (video) from WMA (audio) files - Adding EBML scanner to distinguish Matroska (.mkv) from WebM (.webm) files - Adding MSI (Windows Installer) and MPP (Microsoft Project) detection to CFBF scanner - Fixing #146 OOXML detection now uses `[Content_Types].xml` content types as primary method, correctly identifying docx/xlsx/pptx files from LibreOffice, Google Docs, and other non-Microsoft tools (thanks to jonasdeboeck79) - Fixing ZIP deep scan now inspects all ZIP files instead of short-circuiting on .zip extension - Fixing text scanner now treats files containing NUL bytes as binary data instead of misidentifying them as text - Fixing mz5 HDF5 scanner typo in chromatogram dataset name
py-puremagic: update to 2.1.0. Version 2.1.0 ------------- - Adding #6 `from_extension()` and `magic_extension()` to look up MIME types by file extension - Adding #119 CFBF/OLE2 scanner to distinguish Word, Excel, PowerPoint, Outlook MSG, Visio, and Publisher files (thanks to Simeon Stoykov and Andy - NebularNerd) - Adding #139 codespell check (thanks to Christian Clauss) - Adding `-e`/`--extension` CLI flag for extension-based MIME type lookup - Fixing #104 WAV MIME type changed from `audio/wave` to `audio/wav` (thanks to Simon Willison and Andy - NebularNerd)
py-puremagic: update to 2.0.0. Version 2.0.0 ------------- - Adding deep scan for improved accuracy #102 #94 #85 #70 #69 #12 #3 - Changing to full semantic versioning to be able to denote bugfixes vs minor features - Changing to use uv instead of requirements - Removing support for python 3.7, 3.8, 3.9, 3.10 and 3.11 please stick to 1.x release chain to support older versions
more setuptools fallout
py-puremagic: updated to 1.27 Version 1.27 - Adding new verbose output to command line with `-v` or `--verbose` - Adding 92 include py.typed in sdist (thanks to Nicholas Bollweg - bollwyvl) - Adding 93 Improve PDF file detection, fix json description (thanks to Péter - peterekepeter) - Fixing 96 86 stream does not work properly on opened small files (thanks to Felipe Lema and Andy - NebularNerd) - Removing expected invalid WinZip signature
py-puremagic: updated to 1.20 Version 1.20 ------------ - Adding support for multi-part header checks (thanks to Andy) - Fixing matches for webp (thanks to Nicolas Wicht) - Fixing matches for epub (thanks to Alexander Walters)
sysutils/py-puremagic: import py-puremagic-1.15 Packaged for wip by Olaf Seibert and myself. puremagic is a pure python module that will identify a file based off its magic numbers. It is designed to be minimalistic and inherently cross platform compatible. It is also designed to be a stand in for python-magic, it incorporates the functions from_file(filename[, mime]) and from_string(string[, mime]) however the magic_file() and magic_string() are more powerful and will also display confidence and duplicate matches. It does NOT try to match files off non-magic string. In other words it will not search for a string within a certain window of bytes like others might.