devel/py-python-magic 0.4.27_1 MidnightBSD
File type identification using libmagic
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
python-magic is a Python interface to the libmagic file type identification library. libmagic identifies file types by checking their headers according to a predefined list of file types. This functionality is exposed to the command line by the Unix command file.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-python-magic | 0.4.27_1 |
| FreeBSD | devel/py-python-magic | 0.4.27_1 |
| DragonFly | devel/py-python-magic | 0.4.27_1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}python-magic
From mports:
cd /usr/mports/devel/py-python-magic && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-magic>0:devel/py-python-magic
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ahupp-python-magic-0.4.27_GH0.tar.gz | 863649 | 3978a25d43d9a7b8a89ae9d726bd4962fc90dc4f69ae852e399f3c56d4b0bd63 |