Bug 273722

Summary: devel/pygobject3-common devel/py-gobject3: rename and update to 3.50.0
Product: Ports & Packages Reporter: Olivier Duchateau <duchateau.olivier>
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: Closed FIXED    
Severity: Affects Only Me CC: agh, arrowd, desktop, vishwin
Priority: --- Flags: vishwin: maintainer-feedback+
antoine: exp-run+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://gitlab.gnome.org/GNOME/pygobject/-/blob/3.50.0/NEWS
See Also: https://reviews.freebsd.org/D47635
Bug Depends on:    
Bug Blocks: 270358, 281083    
Attachments:
Description Flags
Patch to update devel/pygobject3-common none

Description Olivier Duchateau 2023-09-11 16:15:26 UTC
Created attachment 244771 [details]
Patch to update devel/pygobject3-common

Update to 3.46.0 (also tested 3.44.0 and 3.44.1)
Comment 1 Charlie Li freebsd_committer freebsd_triage 2024-11-16 15:11:31 UTC
Going to commandeer this for the newer 3.50.0 update, which is needed before some other ports can be updated. As upstream now supports building this as a Python wheel, rework the port such that -common becomes the child port and the main port is built under USE_PYTHON=pep517 but depending on -common for the header and pkgconfig files.

See review D47635 for the diff
Comment 2 Charlie Li freebsd_committer freebsd_triage 2024-11-16 15:25:08 UTC
exp-run is requested due to significant changes particularly starting from 3.48.
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2024-11-19 15:35:56 UTC
This patch fails to apply and it breaks the ports tree (lot of references to the previous port are still there)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-19 16:59:24 UTC
A commit in branch main references this bug:

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

commit 48060e03b677c1060149c64e8d90b93a3bd7bb2b
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-11-19 16:55:04 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-11-19 16:59:07 +0000

    devel/py-gobject3: use USE_GNOME=pygobject3 helper

    The helper is equivalent to the previous explicit dependency
    declaration so no functional or metadata changes.

    With hat: gnome
    PR: 273722

 accessibility/gammastep/Makefile         | 6 +++---
 accessibility/redshift/Makefile          | 4 ++--
 astro/gpsd/Makefile                      | 8 +++-----
 audio/py-audioread/Makefile              | 5 +++--
 comms/gnuradio/Makefile                  | 2 +-
 devel/py-pydbus/Makefile                 | 5 ++---
 games/jumpnbump/Makefile                 | 4 ++--
 games/py-pychess/Makefile                | 3 +--
 graphics/rapid-photo-downloader/Makefile | 4 ++--
 misc/alpaca/Makefile                     | 3 +--
 multimedia/py-mat2/Makefile              | 4 ++--
 multimedia/py-tartube/Makefile           | 4 ++--
 net-p2p/py-nicotine-plus/Makefile        | 3 +--
 news/sabnzbd/Makefile                    | 3 ++-
 print/pdfarranger/Makefile               | 3 +--
 science/v_sim/Makefile                   | 3 +--
 sysutils/devedeng/Makefile               | 3 +--
 x11-themes/wpgtk/Makefile                | 6 ++----
 x11/py-waypaper/Makefile                 | 6 +++---
 19 files changed, 35 insertions(+), 44 deletions(-)
Comment 5 Charlie Li freebsd_committer freebsd_triage 2024-11-19 17:09:23 UTC
(In reply to Antoine Brodin from comment #3)
Think I got everything now. Failed to apply because of commits to MOVED and devel/Makefile in the meantime affecting adjacent lines, and the remaining explicit dependency lines to the main port should be on the USE_GNOME helper now.
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2024-11-22 09:21:46 UTC
Exp-run seems fine
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-11-22 22:33:13 UTC
A commit in branch main references this bug:

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

commit 32a55d206da74eb98a7350e72352b2e4b55a81f9
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-11-22 22:27:43 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-11-22 22:31:54 +0000

    devel/py-pygobject: bump consumer PORTREVISIONs after port rename

    With hat: gnome
    PR: 273722

 accessibility/accerciser/Makefile               | 2 +-
 accessibility/caribou/Makefile                  | 2 +-
 accessibility/orca/Makefile                     | 2 +-
 accessibility/py-atspi/Makefile                 | 1 +
 astro/gpsd/Makefile                             | 1 +
 audio/exaile/Makefile                           | 1 +
 audio/gnome-music/Makefile                      | 2 +-
 audio/lollypop/Makefile                         | 2 +-
 audio/rhythmbox/Makefile                        | 2 +-
 audio/solfege/Makefile                          | 2 +-
 audio/sonata/Makefile                           | 2 +-
 chinese/ibus-cangjie/Makefile                   | 1 +
 comms/gnuradio/Makefile                         | 2 +-
 databases/gom/Makefile                          | 1 +
 deskutils/gnome-tweaks/Makefile                 | 2 +-
 deskutils/mozo/Makefile                         | 1 +
 deskutils/py-autokey/Makefile                   | 2 +-
 deskutils/virt-manager/Makefile                 | 2 +-
 deskutils/zim/Makefile                          | 2 +-
 devel/blueprint-compiler/Makefile               | 1 +
 devel/d-feet/Makefile                           | 2 +-
 devel/dee/Makefile                              | 2 +-
 devel/glade/Makefile                            | 2 +-
 devel/py-libpeas/Makefile                       | 2 +-
 devel/py-pydbus/Makefile                        | 1 +
 devel/py-python-dbusmock/Makefile               | 1 +
 editors/gedit/Makefile                          | 2 +-
 editors/setzer/Makefile                         | 2 +-
 emulators/hatari/Makefile                       | 1 +
 games/jumpnbump/Makefile                        | 2 +-
 games/py-pychess/Makefile                       | 2 +-
 graphics/drawing/Makefile                       | 2 +-
 graphics/gexiv2/Makefile                        | 1 +
 graphics/graphene/Makefile                      | 1 +
 graphics/halftone/Makefile                      | 1 +
 graphics/mypaint/Makefile                       | 2 +-
 graphics/py-mcomix/Makefile                     | 2 +-
 graphics/rapid-photo-downloader/Makefile        | 2 +-
 graphics/upscaler/Makefile                      | 2 +-
 graphics/variety/Makefile                       | 2 +-
 japanese/ibus-anthy/Makefile                    | 1 +
 korean/ibus-hangul/Makefile                     | 2 +-
 mail/py-mailnag/Makefile                        | 2 +-
 math/gnumeric/Makefile                          | 2 +-
 misc/alpaca/Makefile                            | 1 +
 multimedia/gaupol/Makefile                      | 1 +
 multimedia/gpodder/Makefile                     | 2 +-
 multimedia/gstreamer1-editing-services/Makefile | 1 +
 multimedia/pitivi/Makefile                      | 2 +-
 multimedia/py-gstreamer1/Makefile               | 1 +
 multimedia/py-mat2/Makefile                     | 2 +-
 multimedia/py-metadata-cleaner/Makefile         | 1 +
 multimedia/py-tartube/Makefile                  | 1 +
 multimedia/quodlibet/Makefile                   | 2 +-
 multimedia/totem/Makefile                       | 2 +-
 net-im/gajim/Makefile                           | 1 +
 net-im/libsignon-glib/Makefile                  | 2 +-
 net-im/py-nbxmpp/Makefile                       | 1 +
 net-mgmt/networkmgr/Makefile                    | 1 +
 net-p2p/deluge/Makefile                         | 2 +-
 net-p2p/py-nicotine-plus/Makefile               | 1 +
 net-p2p/warpinator/Makefile                     | 1 +
 net/libgweather/Makefile                        | 2 +-
 net/libgweather4/Makefile                       | 2 +-
 net/py-avahi/Makefile                           | 2 +-
 print/hplip/Makefile                            | 1 +
 print/pdfarranger/Makefile                      | 1 +
 print/system-config-printer/Makefile            | 2 +-
 science/gramps/Makefile                         | 1 +
 science/v_sim/Makefile                          | 2 +-
 sysutils/battray/Makefile                       | 2 +-
 sysutils/catfish/Makefile                       | 2 +-
 sysutils/devedeng/Makefile                      | 1 +
 sysutils/tracker3/Makefile                      | 2 +-
 textproc/ibus-typing-booster/Makefile           | 1 +
 textproc/ibus-uniemoji/Makefile                 | 1 +
 textproc/ibus/Makefile                          | 2 +-
 textproc/meld/Makefile                          | 2 +-
 textproc/py-dialect/Makefile                    | 1 +
 www/chrome-gnome-shell/Makefile                 | 2 +-
 www/eolie/Makefile                              | 2 +-
 www/py-pywebview-gtk/Makefile                   | 1 +
 x11-fm/nautilus-python/Makefile                 | 2 +-
 x11-fm/nemo/Makefile                            | 2 +-
 x11-themes/wpgtk/Makefile                       | 1 +
 x11-wm/qtile/Makefile                           | 2 +-
 x11-wm/xdgmenumaker/Makefile                    | 1 +
 x11/arandr/Makefile                             | 1 +
 x11/cinnamon-screensaver/Makefile               | 2 +-
 x11/cinnamon/Makefile                           | 2 +-
 x11/guake/Makefile                              | 1 +
 x11/lightdm-gtk-greeter-settings/Makefile       | 2 +-
 x11/menulibre/Makefile                          | 1 +
 x11/py-caffeine-ng/Makefile                     | 1 +
 x11/py-python-xapp/Makefile                     | 1 +
 x11/py-waypaper/Makefile                        | 1 +
 x11/py-xdot/Makefile                            | 2 +-
 x11/screenkey/Makefile                          | 2 +-
 x11/slick-greeter/Makefile                      | 2 +-
 x11/terminator/Makefile                         | 2 +-
 x11/ulauncher/Makefile                          | 2 +-
 x11/xapp/Makefile                               | 1 +
 x11/xpra/Makefile                               | 1 +
 103 files changed, 103 insertions(+), 60 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2024-11-22 22:33:14 UTC
A commit in branch main references this bug:

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

commit 76699df99df02e612394db28e22be37240da7783
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-11-19 15:49:24 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-11-22 22:31:53 +0000

    devel/py-pygobject: rename and update to 3.50.0

    The proper upstream Python package name is pygobject; version 2
    hasn't existed or been supported in ages, so rename.

    Rework the port to where -common is the child port but the main
    port depends on it for the header files. Build the main port as a
    Python wheel USE_PYTHON=pep517 to take advantage of USE_PYTHON=autoplist.

    Direct -common consumers have PORTREVISION bumped.

    Changelog: https://gitlab.gnome.org/GNOME/pygobject/-/blob/3.50.0/NEWS

    Reported by: Olivier Duchateau <duchateau.olivier[at]gmail[dot]com> (3.44, 3.46)
    Exp-run by: antoine
    PR: 273722
    Differential Revision: https://reviews.freebsd.org/D47635

 MOVED                                              |  2 +
 Mk/Uses/gnome.mk                                   |  4 +-
 deskutils/py-i3-gnome-pomodoro/Makefile            |  3 +-
 devel/Makefile                                     |  4 +-
 devel/py-gobject3/Makefile (gone)                  | 11 ---
 devel/py-gobject3/pkg-plist (gone)                 | 84 ----------------------
 devel/py-pygobject/Makefile (new)                  | 44 ++++++++++++
 devel/py-pygobject/distinfo (new)                  |  3 +
 .../{pygobject3-common => py-pygobject}/pkg-descr  |  0
 devel/pygobject-common/Makefile (new)              | 15 ++++
 devel/pygobject3-common/Makefile (gone)            | 76 --------------------
 devel/pygobject3-common/distinfo (gone)            |  3 -
 devel/pygobject3-common/pkg-plist (gone)           |  2 -
 misc/py-openpaperwork-gtk/Makefile                 |  3 +-
 security/libsecret/Makefile                        |  2 +-
 15 files changed, 73 insertions(+), 183 deletions(-)