BSD Ports

sysutils/py-puremagic 2.2.0 NetBSD

Pure python implementation of magic file detection

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
5d9ea9239d
License
gnu-lgpl-v3
Categories
sysutils, python
Package size
96.8 KiB, 524.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDsysutils/py-puremagic2.2.0
FreeBSDsysutils/py-puremagic2.2.0
DragonFlysysutils/py-puremagic1.24_1
MidnightBSDsysutils/py-puremagic1.30_2
HardenedBSDsysutils/py-puremagic2.2.0
GhostBSDsysutils/py-puremagic1.30_1

Install

Binary package:

pkgin install py311-puremagic

From pkgsrc:

cd /usr/pkgsrc/sysutils/py-puremagic && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.2.0
NetBSD 10.1 aarch642.2.0
SmartOS / illumos x86_642.2.0
macOS 15 arm642.2.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-puremagic-2.2.0, py313-puremagic-2.2.0, py314-puremagic-2.2.0

Commit history 1

DateCommitCreditsLog message
5d9ea9239d wiz py-puremagic: set PYTHON_SELF_CONFLICT