Port details |
- py-puremagic Pure python implementation of magic file detection
- 1.24 sysutils =3 1.24Version of this port present on the latest quarterly branch.
- Maintainer: james@french.id.au
- Port Added: 2022-01-09 21:15:18
- Last Update: 2024-06-21 00:03:45
- Commit Hash: 3f94ab8
- People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
- Also Listed In: python
- License: MIT
- WWW:
- https://pypi.org/project/puremagic/
- Description:
- Puremagic is a python module that will identify a file from magic numbers.
It is designed to be minimalistic and inherently cross platform compatible.
It is also designed to be a stand in for python-magic, it incorporates the
functions from_file(filename[, mime]) and from_string(string[, mime])
however the magic_file() and magic_string() are more powerful and will also
display confidence and duplicate matches.
It does NOT try to match files off non-magic string. In other words it will
not search for a string within a certain window of bytes like others might.
- ¦ ¦ ¦ ¦
- 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}puremagic>0:sysutils/py-puremagic@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/sysutils/py-puremagic/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/py-puremagic
- pkg install py311-puremagic
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 py311-puremagic listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-puremagic
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1718926918
SHA256 (puremagic-1.24.tar.gz) = a4b664ba213d454e29a6ef997896977e207e51a28ca41171b8cf345bedf15963
SIZE (puremagic-1.24.tar.gz) = 311321
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:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-pytest>0 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- news/sabnzbd
-
Deleted ports which required this port:
- * - 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:
- sysutils_py-puremagic
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 9
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.24 21 Jun 2024 00:03:45 |
Wen Heping (wen) |
sysutils/py-puremagic: Update to 1.24
PR: 279809
Reported by: james@french.id.au(maintainer) |
1.14 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> |
1.14 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.14 10 Sep 2022 16:07:42 |
Po-Chuan Hsieh (sunpoet) |
sysutils/py-puremagic: Add NO_ARCH
Approved by: portmgr (blanket) |
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) |
1.14 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 ) |
1.14 23 May 2022 16:08:00 |
Nuno Teixeira (eduardo) Author: James French |
sysutils/py-puremagic: Update to 1.14
- use DISTVERSION instead of PORTVERSION
ChangeLog: https://github.com/cdgriffith/puremagic/blob/1.14/CHANGELOG.md
PR: 264143 |
1.12 16 Feb 2022 17:59:56 |
Li-Wen Hsu (lwhsu) Author: James French |
sysutils/py-puremagic: Update to 1.12
Changes: https://github.com/cdgriffith/puremagic/releases/tag/1.12
PR: 261985 |
1.11 09 Jan 2022 21:11:26 |
Max Brazhnikov (makc) |
sysutils/py-puremagic: add new port
Pure python implementation of magic file detection.
PR: 258593
Submitted by: James French |
Number of commits found: 9
|