Port details on branch 2022Q2 |
- py-filemagic Python API for libmagic, the library behind the Unix file command
- 1.6_1 devel =0 1.6Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2014-12-23 04:04:53
- Last Update: 2024-04-08 20:16:49
- Commit Hash: e3df086
- Also Listed In: python
- License: APACHE20
- WWW:
- https://filemagic.readthedocs.io/en/latest/
- Description:
- filemagic provides a Python API for libmagic, the library behind Unix file
command. It enables the Python developer to easilty test for file types from the
extensive identification library that is shipped with libmagic.
Features:
- Simple, Python API.
- Identifies named files or strings.
- Return a textual description, mime type or mime encoding.
- Provide custom magic files to customize file detection.
- Support for both Python2 and Python3.
- Support for both CPython and PyPy.
See also: https://github.com/aliles/filemagic
- ¦ ¦ ¦ ¦
- 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}filemagic>0:devel/py-filemagic@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-filemagic/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-filemagic
- pkg install py39-filemagic
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-filemagic listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-filemagic
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1652122635
SHA256 (filemagic-1.6.tar.gz) = e684359ef40820fe406f0ebc5bf8a78f89717bdb7fed688af68082d991d6dbf3
SIZE (filemagic-1.6.tar.gz) = 16754
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>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-mock>=0 : devel/py-mock@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-jira
Configuration Options:
- No options to configure
- Options name:
- devel_py-filemagic
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|