BSD Ports

devel/py-filetype 1.2.0_1 MidnightBSD

Python port from filetype Go package

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

Small and dependency free Python package to infer file type and MIME type checking the magic numbers signature of a file or buffer.

This is a Python port from filetype Go package.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-filetype1.2.0_1
FreeBSDdevel/py-filetype1.2.0
OpenBSDdevel/py-filetype1.2.0p2
DragonFlydevel/py-filetype1.2.0
HardenedBSDdevel/py-filetype1.2.0
GhostBSDdevel/py-filetype1.2.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}filetype

From mports:

cd /usr/mports/devel/py-filetype && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}filetype>0:devel/py-filetype

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
filetype-1.2.0.tar.gz99802066b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb
Master sites 1
  • PYPI