The NetBSD Project

CVS log for pkgsrc/sysutils/py-puremagic/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-puremagic

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Apr 15 18:39:39 2026 UTC (7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -0 lines
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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 15 13:19:41 2026 UTC (8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -0 lines
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)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 22 14:15:28 2026 UTC (8 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +34 -2 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 12 18:03:06 2025 UTC (19 months ago) by pgoyette
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
more setuptools fallout

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 10 07:45:09 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 13 10:36:22 2024 UTC (2 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -5 lines
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)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 16:02:57 2023 UTC (3 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>