Bug 282459 - [NEW PORT] www/py-pywebview-{gtk,qt}: Build GUI for your Python program with JavaScript, HTML, and CSS
Summary: [NEW PORT] www/py-pywebview-{gtk,qt}: Build GUI for your Python program with ...
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: Jose Alonso Cardenas Marquez
URL: https://github.com/r0x0r/pywebview
Keywords:
Depends on: 282455
Blocks: 282460
  Show dependency treegraph
 
Reported: 2024-11-01 03:18 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2024-11-08 02:28 UTC (History)
1 user (show)

See Also:


Attachments
pywebview-5.3.2.patch (5.92 KB, patch)
2024-11-01 03:18 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff
pywebview-gtk-5.3.2.patch (5.11 KB, patch)
2024-11-06 04:35 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff
pywebview-qt-5.3.2.patch (5.24 KB, patch)
2024-11-06 04:37 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2024-11-01 03:18:50 UTC
Created attachment 254833 [details]
pywebview-5.3.2.patch

Description:

pywebview is a lightweight cross-platform wrapper around a webview
component that allows to display HTML content in its own native GUI
window. It gives you the power of web technologies in your desktop
application, hiding the fact that the GUI is browser based. Available
for Windows, macOS, Linux and Android. You can use pywebview either
with a 3rd party web framework or on its own with a two way bridge
between Python and DOM.

WWW: https://github.com/r0x0r/pywebview

QA:

* portlint:
  - WARN: Makefile: "USES" has to appear earlier.
* testport:
  - gtk flavor: (poudriere: 14.1-RELEASE, amd64):
    - Warning: you might not need LIB_DEPENDS on libatk-1.0.so
    - Warning: you might not need LIB_DEPENDS on libcairo.so
    - Warning: you might not need LIB_DEPENDS on libgdk_pixbuf-2.0.so
    - Warning: you might not need LIB_DEPENDS on libglib-2.0.so
    - Warning: you might not need LIB_DEPENDS on libintl.so
    - Warning: you might not need LIB_DEPENDS on libgtk-3.so
    - Warning: you might not need LIB_DEPENDS on libharfbuzz.so
    - Warning: you might not need LIB_DEPENDS on libpango-1.0.so
    - Warning: you might not need LIB_DEPENDS on libwebkit2gtk-4.0.so
  - qt flavor: OK (poudriere: 14.1-RELEASE, amd64)
Comment 1 Jesús Daniel Colmenares Oviedo 2024-11-06 04:35:41 UTC
Created attachment 254976 [details]
pywebview-gtk-5.3.2.patch

Description:

pywebview is a lightweight cross-platform wrapper around a webview
component that allows to display HTML content in its own native GUI
window. It gives you the power of web technologies in your desktop
application, hiding the fact that the GUI is browser based. Available
for Windows, macOS, Linux and Android. You can use pywebview either
with a 3rd party web framework or on its own with a two way bridge
between Python and DOM.

WWW: https://github.com/r0x0r/pywebview

QA (gtk):

* portlint: OK (looks fine.)
* testport: (poudriere: 14.1-RELEASE, 13.4-RELEASE, amd64):
  - Warning: you might not need LIB_DEPENDS on libwebkit2gtk-4.0.so
  - Warning: you might not need LIB_DEPENDS on libatk-1.0.so
  - Warning: you might not need LIB_DEPENDS on libcairo.so
  - Warning: you might not need LIB_DEPENDS on libgdk_pixbuf-2.0.so
  - Warning: you might not need LIB_DEPENDS on libglib-2.0.so
  - Warning: you might not need LIB_DEPENDS on libintl.so
  - Warning: you might not need LIB_DEPENDS on libgtk-3.so
  - Warning: you might not need LIB_DEPENDS on libharfbuzz.so
  - Warning: you might not need LIB_DEPENDS on libpango-1.0.so
Comment 2 Jesús Daniel Colmenares Oviedo 2024-11-06 04:37:40 UTC
Created attachment 254977 [details]
pywebview-qt-5.3.2.patch

Description:

pywebview is a lightweight cross-platform wrapper around a webview
component that allows to display HTML content in its own native GUI
window. It gives you the power of web technologies in your desktop
application, hiding the fact that the GUI is browser based. Available
for Windows, macOS, Linux and Android. You can use pywebview either
with a 3rd party web framework or on its own with a two way bridge
between Python and DOM.

WWW: https://github.com/r0x0r/pywebview

QA (qt):

* portlint: OK (looks fine.)
* testport: OK (poudriere: 14.1-RELEASE, 13.4-RELEASE, amd64)
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-11-08 02:25:42 UTC
A commit in branch main references this bug:

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

commit f295c24f7ceef41142fa7bb35a16bf8c0c688c93
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-11-08 02:22:13 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-11-08 02:22:13 +0000

    www/py-pywebview-gtk: New port: Build GUI for your Python program with JavaScript, HTML, and CSS (gtk)

    pywebview is a lightweight cross-platform wrapper around a webview
    component that allows to display HTML content in its own native GUI
    window. It gives you the power of web technologies in your desktop
    application, hiding the fact that the GUI is browser based. Available
    for Windows, macOS, Linux and Android. You can use pywebview either
    with a 3rd party web framework or on its own with a two way bridge
    between Python and DOM.

    WWW: https://github.com/r0x0r/pywebview
    PR:             282459

 www/Makefile                                       |  1 +
 www/py-pywebview-gtk/Makefile (new)                | 31 ++++++++++++++++++++++
 www/py-pywebview-gtk/distinfo (new)                |  3 +++
 .../files/patch-webview_guilib.py (new)            | 20 ++++++++++++++
 www/py-pywebview-gtk/pkg-descr (new)               |  7 +++++
 www/py-pywebview-gtk/pkg-message (new)             |  7 +++++
 6 files changed, 69 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-08 02:27:44 UTC
A commit in branch main references this bug:

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

commit 283eb43e76abbb9447ce752b8218e59fa000b1b6
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-11-08 02:26:22 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-11-08 02:26:22 +0000

    www/py-pywebview-qt: New port: Build GUI for your Python program with JavaScript, HTML, and CSS (qt)

    pywebview is a lightweight cross-platform wrapper around a webview
    component that allows to display HTML content in its own native GUI
    window. It gives you the power of web technologies in your desktop
    application, hiding the fact that the GUI is browser based. Available
    for Windows, macOS, Linux and Android. You can use pywebview either
    with a 3rd party web framework or on its own with a two way bridge
    between Python and DOM.

    WWW: https://github.com/r0x0r/pywebview
    PR:             282459

 www/Makefile                                       |  1 +
 www/py-pywebview-qt/Makefile (new)                 | 32 ++++++++++++++++++++++
 www/py-pywebview-qt/distinfo (new)                 |  3 ++
 .../files/patch-webview_guilib.py (new)            | 20 ++++++++++++++
 www/py-pywebview-qt/pkg-descr (new)                |  7 +++++
 www/py-pywebview-qt/pkg-message (new)              |  8 ++++++
 6 files changed, 71 insertions(+)
Comment 5 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2024-11-08 02:28:07 UTC
Committed thanks!