Port details |
- py-puremagic Pure python implementation of magic file detection
- 1.14 sysutils
=1 1.12Version of this port present on the latest quarterly branch. - Maintainer: james@french.id.au
 - Port Added: 2022-01-09 21:15:18
- Last Update: 2022-05-23 16:08:00
- Commit Hash: 7bdca65
- People watching this port, also watch:: py38-Automat, freeimage, font-misc-meltho, libjxl, py38-pycparser
- Also Listed In: python
- License: MIT
- Description:
- Puremagic is a python module that will identify a file from 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.
WWW: https://pypi.org/project/puremagic/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}puremagic>0:sysutils/py-puremagic@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/sysutils/py-puremagic/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/py-puremagic
- pkg install py38-puremagic
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.NOTE: This is a Python port. Instead of py38-puremagic listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py38-puremagic
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1652592137
SHA256 (puremagic-1.14.tar.gz) = 3d5df26cc7ec9aebbf842a09115a2fa85dc59ea6414fa568572c44775d796cbc
SIZE (puremagic-1.14.tar.gz) = 297379
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- This port is required by:
- for Run
-
- news/sabnzbdplus
- Configuration Options:
- No options to configure
- Options name:
- sysutils_py-puremagic
- USES:
- python:3.7+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|