Port details |
- py-python-magic File type identification using libmagic
- 0.4.27_1 devel
=2 0.4.27_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2016-01-31 06:16:45
- Last Update: 2024-05-13 13:59:53
- Commit Hash: bcf3322
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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.
¦ ¦ ¦ ¦ 
- 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}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 py39-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 py39-python-magic listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-python-magic
- Package flavors (<flavor>: <package>)
- 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):
- 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-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- deskutils/py-paperless
- deskutils/py-paperless-ngx
- finance/beancount
- for Run
-
- converters/py-gotenberg-client
- deskutils/py-paperless
- deskutils/py-paperless-ngx
- dns/py-dns-crawler
- finance/beancount
- mail/py-alot
- print/py-relatorio
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.4.27_1 13 May 2024 13:59:53
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-python-magic: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
0.4.27 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.4.27 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.4.27 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
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 ) |
0.4.27 09 Jun 2022 10:58:26
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-python-magic: Update to 0.4.27
Changes: https://github.com/ahupp/python-magic/blob/master/CHANGELOG |
0.4.26 03 Jun 2022 16:57:21
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-python-magic: Convert to USE_PYTHON=pytest |
0.4.26 03 Jun 2022 09:00:37
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-python-magic: Update to 0.4.26
Changes: https://github.com/ahupp/python-magic/blob/master/CHANGELOG |
0.4.25 25 Mar 2022 13:37:00
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-python-magic: Update to 0.4.25
- Remove CONFLICTS
- Update do-test:
- Update pkg-descr
Changes: https://github.com/ahupp/python-magic/blob/master/CHANGELOG |
0.4.15 07 Mar 2022 19:24:01
    |
Po-Chuan Hsieh (sunpoet)  |
*/py-*: Take maintainership |
0.4.15 07 Mar 2022 19:07:39
    |
Rene Ladan (rene)  |
all: return koobs' ports to the pool after safekeeping his commit bit. |
0.4.15 25 Nov 2021 21:40:11
    |
Stefan Eßer (se)  |
*/*: 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) |
0.4.15 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.4.15 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.4.15 20 Apr 2019 13:11:42
  |
koobs  |
devel/py-python-magic: Update to 0.4.15
- Add USE_GITHUB comment (missing test data files)
There are a number of test failures that are a consequence of slight differences
between platform magic implementations and/or databases. Two have been reported
upstream [1][2] and will be resolved in a subsequent release.
[1] https://github.com/ahupp/python-magic/issues/173
[2] https://github.com/ahupp/python-magic/issues/96
PR: 234600
Submitted by: Gilbert Morgan <gmm tutanota com> |
0.4.10 19 Feb 2018 07:46:26
  |
lwhsu  |
Register CONFLICTS
PR: 224593
Submitted by: Shane <FreeBSD@ShaneWare.Biz>
Approved by: koobs (maintainer, py-python-magic)
MFH: 2018Q1 |
0.4.10 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
0.4.10 02 Dec 2016 09:21:59
  |
mat  |
http://github.com redirects to https://github.com, spare everyone a redirect.
Sponsored by: Absolight |
0.4.10 31 Jan 2016 08:20:01
  |
koobs  |
devel/py-python-magic: Allow USES to be overriden
Allow USES value to be overridden, in this case by py3-python-magic |
0.4.10 31 Jan 2016 06:16:00
  |
koobs  |
[NEW] devel/py-python-magic: File type identification using libmagic
This module uses ctypes to access the libmagic file type identification
library. It makes use of the local magic database and supports both
textual and MIME-type output.
WWW: http://github.com/ahupp/python-magic
Requested by: emaste, bapt (for diffoscope / reproducible builds) |