Skip to content

Commit 87bca36

Browse files
author
adam
committed
py-puremagic: updated to 2.0.2
Version 2.0.2 - Fixing 137 passing non-existent filename to from_string()/from_stream() no longer raises FileNotFoundError (thanks to denisw) Version 2.0.1 - Fixing 126 Python scanner false positives — now uses AST node walking instead of regex to verify real Python constructs (thanks to ahobson) - Fixing 134 UTF-16 LE BOM (FF FE) no longer misidentified as .mp1 audio, added UTF-16 BOM detection to text scanner (thanks to tomazfs) - Fixing 135 from_string(), from_stream(), magic_string(), and magic_stream() now perform deep scan when filename is provided (thanks to denisw)
1 parent ebbbfa5 commit 87bca36

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

sysutils/py-puremagic/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.15 2026/02/22 14:15:28 wiz Exp $
1+
# $NetBSD: Makefile,v 1.16 2026/03/10 06:12:15 adam Exp $
22

3-
DISTNAME= puremagic-2.0.0
3+
DISTNAME= puremagic-2.0.2
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
55
CATEGORIES= sysutils python
66
MASTER_SITES= ${MASTER_SITE_PYPI:=p/puremagic/}
@@ -11,6 +11,7 @@ COMMENT= Pure python implementation of magic file detection
1111
LICENSE= gnu-lgpl-v3
1212

1313
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
14+
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
1415

1516
USE_LANGUAGES= # none
1617

sysutils/py-puremagic/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.13 2026/02/22 14:15:28 wiz Exp $
1+
$NetBSD: distinfo,v 1.14 2026/03/10 06:12:15 adam Exp $
22

3-
BLAKE2s (puremagic-2.0.0.tar.gz) = 7af3964606512eda592de902269bcc3d72a8c2c676a22b7ba6023e0d4aa76a89
4-
SHA512 (puremagic-2.0.0.tar.gz) = d7815612896eb2d40d2ff603078621e117091bd2af1763ec8098c577b76d5dc2057901433dc74553ba6cbf5aa4e5e47d35413bad04994b7bbb59a23499954c2c
5-
Size (puremagic-2.0.0.tar.gz) = 1119578 bytes
3+
BLAKE2s (puremagic-2.0.2.tar.gz) = 6c9500e4b73b3f75b6bc80cf8ef688aa20d3814cb0281f829587d8b5bb2afdbe
4+
SHA512 (puremagic-2.0.2.tar.gz) = b92fb1ad23a95a44e7ddee7e5a0f07a694dcbc95e8508816f59f5ac8b2f16afcb10f8da5e1b3d11834bd6e23e395c5b482e9f47a62012c4915d26ae4660a2853
5+
Size (puremagic-2.0.2.tar.gz) = 1129446 bytes

0 commit comments

Comments
 (0)