devel/py-magic 5.45_2 MidnightBSD
Python module for determining file type
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
22173208f1- License
- bsd2
- Categories
- devel, python
Description
Python bindings for libmagic used to get a description of a file type, or a mime type for that file.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-magic | 5.45_2 |
| FreeBSD | devel/py-magic | 5.48 |
| OpenBSD | devel/py-magic | 0.4.27p2v0 |
| DragonFly | devel/py-magic | 5.45_1 |
| HardenedBSD | devel/py-magic | 5.48 |
| GhostBSD | devel/py-magic | 5.48 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}magic
From mports:
cd /usr/mports/devel/py-magic && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}magic>0:devel/py-magic
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- python cpe
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}python-magic
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| file-5.45.tar.gz | 1.246503e+06 | fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82 |
Master sites 5
- https://astron.com/pub/file/
- ftp://ftp.astron.com/pub/file/
- ftp://ftp.gw.com/mirrors/pub/unix/file/
- ftp://ftp.fu-berlin.de/unix/tools/file/
- https://www.mirrorservice.org/sites/distfiles.macports.org/file/