BSD Ports

devel/py-magic 0.4.27p2v0 OpenBSD

Python module for file type identification using libmagic

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
3f059e808a
Categories
devel, lang/python

Description

python-magic is a module that uses ctypes to access the libmagic file type identification library. It makes use of the local magic database and supports both textual and MIME-type output.

In the other systems

SystemPortVersion
OpenBSDdevel/py-magic0.4.27p2v0
FreeBSDdevel/py-magic5.48
DragonFlydevel/py-magic5.45_1
MidnightBSDdevel/py-magic5.45_2
HardenedBSDdevel/py-magic5.48
GhostBSDdevel/py-magic5.48

Install

Binary package:

pkg_add py3-magic

From the ports tree:

cd /usr/ports/devel/py-magic && make install

Dependencies

Build dependencies 5
Run dependencies 2

Commit history 1

DateCommitCreditsLog message
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1