notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
py-python-magic File type identification using libmagic
0.4.27_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4.27_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-01-31 06:16:45
Last Update: 2026-06-30 20:03:57
Commit Hash: b6ec06f
Also Listed In: python
License: MIT
WWW:
https://github.com/ahupp/python-magic
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}python-magic>0:devel/py-python-magic@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-python-magic/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-python-magic
  • pkg install py312-python-magic
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 py312-python-magic listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-python-magic
Package flavors (<flavor>: <package>)
  • py312: py312-python-magic
distinfo:
TIMESTAMP = 1654708360 SHA256 (ahupp-python-magic-0.4.27_GH0.tar.gz) = 3978a25d43d9a7b8a89ae9d726bd4962fc90dc4f69ae852e399f3c56d4b0bd63 SIZE (ahupp-python-magic-0.4.27_GH0.tar.gz) = 863649

Packages (timestamps in pop-ups are UTC):
py39-python-magic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest--0.4.27--0.4.27-0.4.27
FreeBSD:14:quarterly-----0.4.270.4.270.4.27
FreeBSD:15:latest--n/a-n/an/a0.4.270.4.27
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-python-magic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.4.27_10.4.27_1n/an/an/an/an/an/a
FreeBSD:13:quarterly0.4.27_10.4.27_1n/an/an/an/an/an/a
FreeBSD:14:latest---0.4.27_1----
FreeBSD:14:quarterly---0.4.27_1----
FreeBSD:15:latest--n/a0.4.27_1n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-python-magic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest0.4.27_10.4.27_1--0.4.27_1---
FreeBSD:14:quarterly0.4.27_10.4.27_1--0.4.27_1---
FreeBSD:15:latest0.4.27_10.4.27_1n/a-n/an/a--
FreeBSD:15:quarterly0.4.27_10.4.27_1n/a-n/an/a--
FreeBSD:16:latest0.4.27_10.4.27_1n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>=0 : devel/py-setuptools@py312
  2. py312-wheel>=0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-pytest>=7,1 : devel/py-pytest@py312
  2. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Build
  1. deskutils/py-paperless-ngx
  2. finance/beancount

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. deskutils/py-paperless*
  2. Collapse this list of deleted ports.
for Run
  1. converters/py-gotenberg-client
  2. deskutils/py-paperless-ngx
  3. dns/py-dns-crawler
  4. finance/beancount
  5. finance/odoo
  6. mail/py-alot
  7. print/py-relatorio
Expand this list (11 items / 4 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/py-diffoscope
  3. sysutils/py-scarab
  4. www/py-calibreweb
  5. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. deskutils/py-paperless*
  2. Collapse this list of deleted ports.
* - 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:
devel_py-python-magic
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ahupp/python-magic/tar.gz/0.4.27?dummy=/
Collapse this list.

There are no commits on branch 2026Q3 for this port