[Bug 280468] multimedia/py-pymediainfo: Update to 6.1.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 Jul 2024 15:35:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280468

            Bug ID: 280468
           Summary: multimedia/py-pymediainfo: Update to 6.1.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eduardo@FreeBSD.org
                CC: m.ne@gmx.net
             Flags: maintainer-feedback?(m.ne@gmx.net)
                CC: m.ne@gmx.net

Created attachment 252321
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252321&action=edit
Update to 6.1.0, +pep517, +pytest

I'm working on importing new python ports that required latest version of
pymediainfo.

There is my sugestion:

- Switch to pep517 build
- Add pytest

NOTES:

tests run ok after fixing "accentué.txt" file that it is installed as
"accentu?.txt"

from src:
tests/test_pymediainfo.py: self.media_info =
MediaInfo.parse(os.path.join(data_dir, "accentué.txt"))

fixed in port:
post-install:
        ${MV} ${WRKSRC}/tests/data/accentu\?.txt
${WRKSRC}/tests/data/accentué.txt

Maybe this issue must be discussed at upstream as it appears to be a packaging
problem (?).

-- 
You are receiving this mail because:
You are the assignee for the bug.