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 photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-magic Python module for determining file type
5.45 devel on this many watch lists=1 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 5.45Version of this port present on the latest quarterly branch.
Maintainer: lwhsu@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-11-20 07:43:27
Last Update: 2023-10-31 06:45:51
Commit Hash: d6b9aa7
People watching this port, also watch:: p5-Params-Classify, nghttp2, p5-CPAN-Meta-YAML, p5-Net-HTTP, python
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://www.darwinsys.com/file/
Description:
Python bindings for libmagic used to get a description of a file type, or a mime type for that 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.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}magic>0:devel/py-magic@${PY_FLAVOR}
Conflicts:
CONFLICTS:
  • py39-python-magic
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/devel/py-magic/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-magic
  • pkg install py39-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 py39-magic listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-magic
Package flavors (<flavor>: <package>)
  • py39: py39-magic
distinfo:
TIMESTAMP = 1698733371 SHA256 (file-5.45.tar.gz) = fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82 SIZE (file-5.45.tar.gz) = 1246503

Packages (timestamps in pop-ups are UTC):
py311-magic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.455.45-5.455.45---
FreeBSD:13:quarterly--------
FreeBSD:14:latest5.455.45-5.455.45---
FreeBSD:14:quarterly--------
FreeBSD:15:latest5.455.45n/a-n/a---
 
py37-magic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--5.39---5.39-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-magic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.455.45-5.455.45---
FreeBSD:13:quarterly5.455.455.445.455.455.455.455.45
FreeBSD:14:latest5.455.455.445.455.455.44-5.44
FreeBSD:14:quarterly5.455.45-5.455.455.455.455.45
FreeBSD:15:latest--n/a5.45n/a5.455.455.45
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/py-itools*
  2. Collapse this list of deleted ports.
for Run
  1. mail/py-fuglu
  2. net/py-s3cmd

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. devel/py-itools*
  2. security/py-crits*
  3. 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-magic
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. ftp://ftp.astron.com/pub/file/
  2. ftp://ftp.fu-berlin.de/unix/tools/file/
  3. ftp://ftp.gw.com/mirrors/pub/unix/file/
  4. https://astron.com/pub/file/
  5. https://www.mirrorservice.org/sites/distfiles.macports.org/file/
Collapse this list.

Number of commits found: 51

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.45
31 Oct 2023 06:45:51
commit hash: d6b9aa75931deb82cb97e6ba06c09f8d4337dcabcommit hash: d6b9aa75931deb82cb97e6ba06c09f8d4337dcabcommit hash: d6b9aa75931deb82cb97e6ba06c09f8d4337dcabcommit hash: d6b9aa75931deb82cb97e6ba06c09f8d4337dcab files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Update to 5.45
5.44
29 Dec 2022 08:25:52
commit hash: ef0b4fd3c761c6ddc9cd84a4ea5d94cb2a747deccommit hash: ef0b4fd3c761c6ddc9cd84a4ea5d94cb2a747deccommit hash: ef0b4fd3c761c6ddc9cd84a4ea5d94cb2a747deccommit hash: ef0b4fd3c761c6ddc9cd84a4ea5d94cb2a747dec files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Update to 5.44
5.43
17 Oct 2022 12:54:28
commit hash: 695f631bbd7228fd3948851f52c6e9021e9ad8bdcommit hash: 695f631bbd7228fd3948851f52c6e9021e9ad8bdcommit hash: 695f631bbd7228fd3948851f52c6e9021e9ad8bdcommit hash: 695f631bbd7228fd3948851f52c6e9021e9ad8bd files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Update to 5.43
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
5.42
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.42
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.42
20 Jun 2022 14:25:29
commit hash: f93d5107c000ecf9f07756ebfaaa173cae4c1ef8commit hash: f93d5107c000ecf9f07756ebfaaa173cae4c1ef8commit hash: f93d5107c000ecf9f07756ebfaaa173cae4c1ef8commit hash: f93d5107c000ecf9f07756ebfaaa173cae4c1ef8 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Update to 5.42
5.41
03 Feb 2022 15:57:16
commit hash: 0fc7f65236e930fcc7d4358d4d7619772871a68fcommit hash: 0fc7f65236e930fcc7d4358d4d7619772871a68fcommit hash: 0fc7f65236e930fcc7d4358d4d7619772871a68fcommit hash: 0fc7f65236e930fcc7d4358d4d7619772871a68f files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Update to 5.41
5.40
25 Nov 2021 21:40:11
commit hash: 04b9da414081a733478d3def4e1e3777908536c6commit hash: 04b9da414081a733478d3def4e1e3777908536c6commit hash: 04b9da414081a733478d3def4e1e3777908536c6commit hash: 04b9da414081a733478d3def4e1e3777908536c6 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
*/*: Remove redundant '-*' from CONFLICTS definitions

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
5.40
23 Jun 2021 10:09:12
commit hash: b1d940646da910dee1864a6997f8668f5211fe05commit hash: b1d940646da910dee1864a6997f8668f5211fe05commit hash: b1d940646da910dee1864a6997f8668f5211fe05commit hash: b1d940646da910dee1864a6997f8668f5211fe05 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Add some HTTP MASTER_SITES

Requested by:	Loic F <loic.f@hardenedbsd.org>
5.40
02 Jun 2021 08:58:29
commit hash: fbacdd646edc295d89301cb4ec4420c9df8da135commit hash: fbacdd646edc295d89301cb4ec4420c9df8da135commit hash: fbacdd646edc295d89301cb4ec4420c9df8da135commit hash: fbacdd646edc295d89301cb4ec4420c9df8da135 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-magic: Update to 5.40
5.39
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
5.39
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
5.39
13 Jul 2020 12:46:08
Revision:542129Original commit files touched by this commit
lwhsu search for other commits by this committer
Update 5.39
5.38
17 Dec 2019 07:56:40
Revision:520314Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.38
5.37
23 Jul 2019 06:54:31
Revision:507207Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.37
- Pet portlint
5.36
13 Mar 2019 17:14:13
Revision:495623Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.36
5.35
30 Oct 2018 02:37:46
Revision:483443Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.35
5.34
26 Jul 2018 15:24:29
Revision:475382Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update 5.34
5.33
16 May 2018 09:15:33
Revision:470109Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.33
5.32
19 Feb 2018 07:46:26
Revision:462283Original commit files touched by this commit
lwhsu search for other commits by this committer
Register CONFLICTS

PR:		224593
Submitted by:	Shane <FreeBSD@ShaneWare.Biz>
Approved by:	koobs (maintainer, py-python-magic)
MFH:		2018Q1
5.32
04 Sep 2017 12:29:57
Revision:449244Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.32
5.30
17 Feb 2017 04:03:02
Revision:434268Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.30
5.29
26 Oct 2016 10:30:48
Revision:424687Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.29
5.28
23 Jun 2016 07:49:33
Revision:417351Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.28
5.27
25 May 2016 08:36:37
Revision:415824Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.27
5.26
19 May 2016 10:21:25
Revision:415498Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [a-f]*

Approved by:	portmgr blanket
5.26
03 May 2016 01:05:08
Revision:414503Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.26
5.25
01 Jan 2016 14:23:54
Revision:404997Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.25
5.18
20 Oct 2014 16:04:14
Revision:371280Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
5.18
14 May 2014 14:06:29
Revision:354059Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.18
- Added WWW to pkg-descr

PR:		ports/189754
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
5.16_1
25 Jan 2014 21:23:07
Revision:341108Original commit files touched by this commit
antoine search for other commits by this committer
Use PYDISTUTILS_AUTOPLIST to actually package the python module
5.16
03 Dec 2013 14:23:40
Revision:335570Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.16
5.15
29 Sep 2013 09:55:47
Revision:328661Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.15
- Enable stage support
5.14
23 Sep 2013 09:30:14
Revision:327959Original commit files touched by this commit
lwhsu search for other commits by this committer
- Remove unneeded patch
5.14
23 Sep 2013 06:39:50
Revision:327941Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.14
5.04
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
5.04
25 Jul 2012 11:24:11
Original commit files touched by this commit
cs search for other commits by this committer
Fix typos in COMMENT
5.04
03 Jul 2011 14:59:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
5.04
31 Jan 2010 08:45:46
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.04
5.03
12 May 2009 11:02:26
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.03
5.00
04 Feb 2009 07:25:22
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 5.00
4.26
07 Sep 2008 11:18:17
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 4.26
4.25
15 Jul 2008 11:32:03
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 4.25
4.24
04 Apr 2008 04:04:33
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 4.24
4.23
08 Jan 2008 15:17:48
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 4.23
4.21
30 Jul 2007 09:42:28
Original commit files touched by this commit
alexbl search for other commits by this committer
 - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:      pointyhat runs
Approved by:    pav (portmgr)
Most work by:   perky
Thanks to:      pav
4.21
31 May 2007 06:55:34
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 4.21
- Take maintainership
4.20
05 Mar 2007 02:29:18
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 4.20
4.19
04 Feb 2007 11:55:31
Original commit files touched by this commit
dryice search for other commits by this committer
update to 4.19
delete file: pkg-plist

PR:             108705
Submitted by:   Li-Wen Hsu <lwhsu@lwhsu.org>
Approved by:    itetcu (mentor)  alexbl@ (for python@)
4.18
20 Nov 2006 07:42:37
Original commit files touched by this commit
alexbl search for other commits by this committer
 - add py-magic 4.18:
     Python bindings for libmagic used to get a description of a
     file type, or a mime type for that file.

Number of commits found: 51