Bug 264143 - sysutils/py-puremagic: Update to 1.14
Summary: sysutils/py-puremagic: Update to 1.14
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://github.com/cdgriffith/puremag...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-22 04:20 UTC by James French
Modified: 2022-05-23 16:10 UTC (History)
1 user (show)

See Also:


Attachments
Update to 1.14 (892 bytes, patch)
2022-05-22 04:20 UTC, James French
no flags Details | Diff
Poudriere build log (20.29 KB, text/plain)
2022-05-22 04:21 UTC, James French
no flags Details
Update to 1.14, enabled python3.11 (1.10 KB, patch)
2022-05-22 04:38 UTC, James French
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James French 2022-05-22 04:20:37 UTC
Created attachment 234103 [details]
Update to 1.14

Maintainer update of py-puremagic to 1.14.

Jumping version 1.13 as it was superseded by 1.14 after only 3 days.

Version 1.13
- Added support for Path for filename
- Added details for mp4
- Added details for avif and heif images

Version 1.14

- Added generic extension mapping for common file types
- Fixed multiple bad extensions and mimetypes
- Removed bad entry for 3gp5 selecting multiple things

Update has been dog fooded for a week without issue.
Comment 1 James French 2022-05-22 04:21:28 UTC
Created attachment 234104 [details]
Poudriere build log
Comment 2 James French 2022-05-22 04:38:59 UTC
Created attachment 234105 [details]
Update to 1.14, enabled python3.11

Puremagic's issues with Python 3.11 have been resolved since 1.12, enabling support.

`make test` still fails with 3.10 and 3.11 but issue is related to pytest itself. Manually verifying puremagic against the test data files yields the expected results.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-05-23 16:08:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7bdca6501cc7cde9340cfd9e6e354356351983cf

commit 7bdca6501cc7cde9340cfd9e6e354356351983cf
Author:     James French <james@french.id.au>
AuthorDate: 2022-05-23 16:05:01 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-05-23 16:08:00 +0000

    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

 sysutils/py-puremagic/Makefile | 4 ++--
 sysutils/py-puremagic/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2022-05-23 16:10:37 UTC
Commited thanks!