Bug 294572 - devel/py-pyopencl: Update to 2026.1.2
Summary: devel/py-pyopencl: Update to 2026.1.2
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: Max Brazhnikov
URL: https://github.com/inducer/pyopencl/r...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-16 11:31 UTC by Alastair Hogge
Modified: 2026-05-25 03:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
[PATCH] devel/py-pyopencl: Update to 2026.1.2 (5.42 KB, patch)
2026-04-16 11:34 UTC, Alastair Hogge
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2026-04-16 11:31:47 UTC

    
Comment 1 Alastair Hogge 2026-04-16 11:34:42 UTC
Created attachment 269846 [details]
[PATCH] devel/py-pyopencl: Update to 2026.1.2

devel/py-pyopencl:
* Add option GLINTROP to enable OpenGL interoperability
* Add pytest to ${USE_PYTHON}
* Prefer ${DISTVERSION} over ${PORTVERSION}
* Update compiler to C++-17 in ${USES}

poudriere-testport devel/py-pyopencl:
15_0-amd64-release: Pass
main-amd64-default: Pass
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2026-04-16 14:35:13 UTC
Alastair, thank you for the update!

(In reply to Alastair Hogge from comment #1)
> * Add option GLINTROP to enable OpenGL interoperability

What the reason to make this optional?
Comment 3 Alastair Hogge 2026-04-16 23:02:13 UTC
(In reply to Max Brazhnikov from comment #2)

> What the reason to make this optional?

Because it is a reflection of the Upstream mechanic.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-05-05 19:34:12 UTC
A commit in branch main references this bug:

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

commit ad13f953605b2c71a76e7779639cc8496a707418
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2026-05-05 19:27:11 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-05-05 19:29:34 +0000

    devel/py-pyopencl: Update to 2026.1.2 and switch to NumPy 2

    Changes: https://github.com/inducer/pyopencl/releases/tag/v2026.1.1

    PR:             294328
    PR:             294572

 devel/py-pyopencl/Makefile                         | 42 ++++++++--------------
 devel/py-pyopencl/distinfo                         |  6 ++--
 .../files/patch-aksetup__helper.py (gone)          | 11 ------
 .../files/patch-src_wrap__constants.cpp (gone)     | 11 ------
 4 files changed, 18 insertions(+), 52 deletions(-)