Port details on branch 2022Q2 |
- py-puremagic Pure python implementation of magic file detection
- 1.14 sysutils =1 1.14Version of this port present on the latest quarterly branch.
- Maintainer: james@french.id.au
- Port Added: 2022-01-09 21:15:18
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
- Also Listed In: python
- License: MIT
- WWW:
- https://pypi.org/project/puremagic/
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- 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 py39-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 py39-puremagic listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>0 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- news/sabnzbd
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- sysutils_py-puremagic
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|