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-puremagic Pure python implementation of magic file detection
1.14 sysutils 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 1.14Version of this port present on the latest quarterly branch.
Maintainer: james@french.id.au search for ports maintained by this maintainer
Port Added: 2022-01-09 21:15:18
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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 py39-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 py39-puremagic listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-puremagic
Package flavors (<flavor>: <package>)
  • py39: py39-puremagic
distinfo:
TIMESTAMP = 1652592137 SHA256 (puremagic-1.14.tar.gz) = 3d5df26cc7ec9aebbf842a09115a2fa85dc59ea6414fa568572c44775d796cbc SIZE (puremagic-1.14.tar.gz) = 297379

Packages (timestamps in pop-ups are UTC):
py39-puremagic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.141.14-1.141.14---
FreeBSD:13:quarterly1.141.141.141.141.141.141.141.14
FreeBSD:14:latest1.141.141.141.141.141.14-1.14
FreeBSD:14:quarterly1.141.14-1.141.141.141.141.14
FreeBSD:15:latest1.141.14n/a1.14n/a1.141.141.14
FreeBSD:15:quarterly--n/a-n/a---
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. py39-pytest>0 : devel/py-pytest@py39
  2. 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 Run
  1. news/sabnzbd

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. news/sabnzbdplus*
  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:
sysutils_py-puremagic
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/puremagic/
  2. https://pypi.org/packages/source/p/puremagic/
Collapse this list.

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.14
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
1.14
10 Sep 2022 16:07:42
commit hash: 0da6b25b61bd30495efcac74285e3d621dad14afcommit hash: 0da6b25b61bd30495efcac74285e3d621dad14afcommit hash: 0da6b25b61bd30495efcac74285e3d621dad14afcommit hash: 0da6b25b61bd30495efcac74285e3d621dad14af files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-puremagic: Add NO_ARCH

Approved by:	portmgr (blanket)
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)
1.14
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)
1.14
23 May 2022 16:08:00
commit hash: 7bdca6501cc7cde9340cfd9e6e354356351983cfcommit hash: 7bdca6501cc7cde9340cfd9e6e354356351983cfcommit hash: 7bdca6501cc7cde9340cfd9e6e354356351983cfcommit hash: 7bdca6501cc7cde9340cfd9e6e354356351983cf files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
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
commit hash: 5a189bd0b35b242a5ee474b2be09b406ee78f1e5commit hash: 5a189bd0b35b242a5ee474b2be09b406ee78f1e5commit hash: 5a189bd0b35b242a5ee474b2be09b406ee78f1e5commit hash: 5a189bd0b35b242a5ee474b2be09b406ee78f1e5 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
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
commit hash: de71112c7a823162620d934bb8a416ea7a3b888acommit hash: de71112c7a823162620d934bb8a416ea7a3b888acommit hash: de71112c7a823162620d934bb8a416ea7a3b888acommit hash: de71112c7a823162620d934bb8a416ea7a3b888a files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
sysutils/py-puremagic: add new port

Pure python implementation of magic file detection.

PR:		258593
Submitted by:	James French

Number of commits found: 8