Bug 289116 - multimedia/py-PySceneDetect: update to 0.6.7 and take maintainership
Summary: multimedia/py-PySceneDetect: update to 0.6.7 and take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://www.scenedetect.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-26 21:31 UTC by Atanu Biswas
Modified: 2025-09-02 08:20 UTC (History)
1 user (show)

See Also:


Attachments
patch for py-PySceneDetect (2.08 KB, patch)
2025-08-26 21:31 UTC, Atanu Biswas
no flags Details | Diff
updated patch for py-scenedetect (3.45 KB, patch)
2025-09-01 20:21 UTC, Atanu Biswas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Atanu Biswas 2025-08-26 21:31:31 UTC
Created attachment 263257 [details]
patch for py-PySceneDetect

Here are the following changes made to the port

1. Updated the version from 0.6.6 to 0.6.7.

2. Renamed the port to scenedetect, as this is the name that is used in PYPI and official docs.

3. Changed the master site from GitHub to PYPI as per the FreeBSD Python policy.

4. Added multimedia/mkvtoolnix since upstream supports and mentions in the doc that it can use mkvmerge or ffmpeg. 

https://www.scenedetect.com/docs/latest/

4. Took maintanership of the port

Ran the port on both 14.2 and 14.3.
 
Portlint says okay.

Changelog: https://www.scenedetect.com/changelog/

Please let me know if something else I have missed.

Thanks!
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-09-01 17:15:57 UTC
2. Rename dir too: py-PySceneDetect => py-scenedetect?
Comment 2 Atanu Biswas 2025-09-01 20:21:11 UTC
(In reply to Vladimir Druzenko from comment #1)
Sure! Here is the updated patch
Comment 3 Atanu Biswas 2025-09-01 20:21:58 UTC
Created attachment 263399 [details]
updated patch for py-scenedetect
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-09-01 22:20:45 UTC
(In reply to Atanu Biswas from comment #3)
I open https://www.scenedetect.com/docs/latest/ and see:
PySceneDetect Documentation
Welcome to the PySceneDetect docs.
...
You can install the latest release of PySceneDetect...
PySceneDetect requires...

And etc - they uses name PySceneDetect in docs, not scenedetect.
So, IMHO, rename isn't correct. Or am I wrong?
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-09-01 22:28:52 UTC
You are right:
If the package is registered on PyPI
 * PORTNAME MUST exactly match the registered PyPI package name, including casing.
 * The PyPI package name is that which is displayed in the URL at https://pypi.org/<package-name>
https://wiki.freebsd.org/Python/PortsPolicy#PORTNAME
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-09-01 22:38:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2eb00081541dc88e41f83b2bc6418384d748fba6

commit 2eb00081541dc88e41f83b2bc6418384d748fba6
Author:     Atanu Biswas <atanubiswas484@gmail.com>
AuthorDate: 2025-09-01 22:33:11 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-01 22:36:33 +0000

    multimedia/py-scenedetect: Update 0.6.6 => 0.6.7, take maintainership

    Changelog:
    https://www.scenedetect.com/changelog/#pyscenedetect-067-august-24-2025

    - Change the master site from GitHub to PYPI as per the FreeBSD Python
      policy.
    - Add multimedia/ffmpeg since upstream supports and mentions in the doc
      that it can use mkvmerge or ffmpeg.

    PR:     289116

 multimedia/py-scenedetect/Makefile | 25 +++++++++++++------------
 multimedia/py-scenedetect/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 15 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-09-01 22:38:05 UTC
A commit in branch main references this bug:

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

commit ecc9690759d2c653a046e60ad5322936ec12a66d
Author:     Atanu Biswas <atanubiswas484@gmail.com>
AuthorDate: 2025-09-01 22:06:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-01 22:36:32 +0000

    multimedia/py-PySceneDetect: Rename to multimedia/py-scenedetect

    Renamed the port to scenedetect, as this is the name that is used in
    PYPI: https://pypi.org/project/scenedetect/
    Following "Python Ports Policy":
    https://wiki.freebsd.org/Python/PortsPolicy#PORTNAME

    PR:     289116

 MOVED                                                                   | 1 +
 multimedia/Makefile                                                     | 2 +-
 multimedia/{py-PySceneDetect => py-scenedetect}/Makefile                | 0
 multimedia/{py-PySceneDetect => py-scenedetect}/distinfo                | 0
 .../files/patch-scenedetect_platform.py                                 | 0
 multimedia/{py-PySceneDetect => py-scenedetect}/pkg-descr               | 0
 6 files changed, 2 insertions(+), 1 deletion(-)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2025-09-01 22:40:37 UTC
Thanks.
Comment 9 Atanu Biswas 2025-09-02 08:20:52 UTC
(In reply to Vladimir Druzenko from comment #8)
Thank you very much for taking a look and committing it. Really appreciate it!