[Bug 289082] [NEW PORT]: devel/py-nvidia-ml-py: Python bindings to the NVIDIA Management Library

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Aug 2025 17:41:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289082

            Bug ID: 289082
           Summary: [NEW PORT]: devel/py-nvidia-ml-py: Python bindings to
                    the NVIDIA Management Library
           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: tiago.gasiba@gmail.com

Created attachment 263201
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263201&action=edit
patch

New port for the official "Python utilities for the NVIDIA Management Library"
pynvml from NVIDIA.

Note: I needed to use MASTER_SITE_SUBDIR, because the ports framework cannot
pull directly from PyPI. I have two remarks related to this:
  1) the ports framework adds underscores in the filename, but the file hosted
in PyPI uses dashes (-), however,
  2) even trying to pull the file using dashes, and the schema generated by the
ports framework, the file is still not found... :-(

If someone knows a better way to do this, please let me know; otherwise, the
solution with MASTER_SITE_SUBDIR looks ok.

portfmt, clippy, lint and poudriere are all happy...

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