Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 22:32:58 GMT
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 76699df99df0 - main - devel/py-pygobject: rename and update to 3.50.0
Message-ID:  <202411222232.4AMMWwuN017721@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vishwin:

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                         | 11 ---
 devel/py-gobject3/pkg-plist                        | 84 ----------------------
 devel/py-pygobject/Makefile                        | 44 ++++++++++++
 devel/py-pygobject/distinfo                        |  3 +
 .../{pygobject3-common => py-pygobject}/pkg-descr  |  0
 devel/pygobject-common/Makefile                    | 15 ++++
 devel/pygobject3-common/Makefile                   | 76 --------------------
 devel/pygobject3-common/distinfo                   |  3 -
 devel/pygobject3-common/pkg-plist                  |  2 -
 misc/py-openpaperwork-gtk/Makefile                 |  3 +-
 security/libsecret/Makefile                        |  2 +-
 15 files changed, 73 insertions(+), 183 deletions(-)

diff --git a/MOVED b/MOVED
index 089472b02a41..bfca3c2bc907 100644
--- a/MOVED
+++ b/MOVED
@@ -3727,3 +3727,5 @@ devel/rubygem-google-apis-sqladmin_v1beta4_041|devel/rubygem-google-apis-sqladmi
 devel/rubygem-google-apis-androidpublisher_v3034|devel/rubygem-google-apis-androidpublisher_v3-gitlab|2024-11-22|Renamed to devel/rubygem-google-apis-androidpublisher_v3-gitlab
 textproc/rubygem-elasticsearch-model713|textproc/rubygem-elasticsearch-model-gitlab|2024-11-22|Renamed to textproc/rubygem-elasticsearch-model-gitlab
 devel/signal-fts5-extension||2024-11-22|No consumers left in the ports tree
+devel/py-gobject3|devel/py-pygobject|2024-11-22|Use proper upstream package name
+devel/pygobject3-common|devel/pygobject-common|2024-11-22|Match devel/py-pygobject, use proper upstream name
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index a798196181ca..03062fa973fc 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -277,8 +277,8 @@ gtksourceview5_USE_GNOME_IMPL=gtk40 libxml2
 libgsf_LIB_DEPENDS=	libgsf-1.so:devel/libgsf
 libgsf_USE_GNOME_IMPL=	glib20 libxml2
 
-pygobject3_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
-pygobject3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+pygobject3_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygobject>=0:devel/py-pygobject@${PY_FLAVOR}
+pygobject3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pygobject>=0:devel/py-pygobject@${PY_FLAVOR}
 pygobject3_USE_GNOME_IMPL=	glib20
 
 intltool_BUILD_DEPENDS=	${LOCALBASE}/bin/intltool-extract:textproc/intltool
diff --git a/deskutils/py-i3-gnome-pomodoro/Makefile b/deskutils/py-i3-gnome-pomodoro/Makefile
index 6b026a6b0db2..89b4633b6ea5 100644
--- a/deskutils/py-i3-gnome-pomodoro/Makefile
+++ b/deskutils/py-i3-gnome-pomodoro/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	i3-gnome-pomodoro
 DISTVERSION=	0.1.0
+PORTREVISION=	1
 CATEGORIES=	deskutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +20,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blinkstick>=g20230504:sysutils/py-blinkstick
 		${PYTHON_PKGNAMEPREFIX}pydbus>=0.6.0:devel/py-pydbus@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyusb>=1.2.1:devel/py-pyusb@${PY_FLAVOR} \
 		gnome-pomodoro:deskutils/gnome-pomodoro \
-		pygobject3-common>=3.42.0:devel/pygobject3-common
+		pygobject-common>=3.42.0:devel/pygobject-common
 
 USES=		python shebangfix
 
diff --git a/devel/Makefile b/devel/Makefile
index a26de05fcdbf..a5e6504bfa4d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4922,7 +4922,6 @@
     SUBDIR += py-glance-store
     SUBDIR += py-glob2
     SUBDIR += py-glom
-    SUBDIR += py-gobject3
     SUBDIR += py-goodreads
     SUBDIR += py-google-cloud-iam
     SUBDIR += py-google-crc32c
@@ -5537,6 +5536,7 @@
     SUBDIR += py-pygdbmi
     SUBDIR += py-pygit2
     SUBDIR += py-pygls
+    SUBDIR += py-pygobject
     SUBDIR += py-pygpx
     SUBDIR += py-pyhashxx
     SUBDIR += py-pyhcl
@@ -6216,7 +6216,7 @@
     SUBDIR += pydeps
     SUBDIR += pyderasn
     SUBDIR += pyenv
-    SUBDIR += pygobject3-common
+    SUBDIR += pygobject-common
     SUBDIR += pylint
     SUBDIR += pylyzer
     SUBDIR += pymsteams
diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile
deleted file mode 100644
index 265079201c5a..000000000000
--- a/devel/py-gobject3/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	3
-
-COMMENT=	Python ${PYTHON_VER} bindings for GObject
-
-SLAVE_PORT=	python
-
-MASTERDIR=	${.CURDIR}/../../devel/pygobject3-common
-PLIST=		${.CURDIR}/pkg-plist
-
-.include "${MASTERDIR}/Makefile"
diff --git a/devel/py-gobject3/pkg-plist b/devel/py-gobject3/pkg-plist
deleted file mode 100644
index 769e7a5be147..000000000000
--- a/devel/py-gobject3/pkg-plist
+++ /dev/null
@@ -1,84 +0,0 @@
-%%PYTHON_SITELIBDIR%%/PyGObject-%%VERSION%%.egg-info
-%%PYTHON_SITELIBDIR%%/gi/__init__.py
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_constants.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_constants.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_error.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_error.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_gtktemplate.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_gtktemplate.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_option.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_option.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_ossighelper.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_ossighelper.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_propertyhelper.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_propertyhelper.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_signalhelper.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/_signalhelper.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/docstring.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/docstring.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/importer.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/importer.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/module.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/module.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/pygtkcompat.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/pygtkcompat.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/types.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/__pycache__/types.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/_constants.py
-%%PYTHON_SITELIBDIR%%/gi/_error.py
-%%PYTHON_SITELIBDIR%%/gi/_gi%%PYTHON_EXT_SUFFIX%%.so
-%%PYTHON_SITELIBDIR%%/gi/_gi_cairo%%PYTHON_EXT_SUFFIX%%.so
-%%PYTHON_SITELIBDIR%%/gi/_gtktemplate.py
-%%PYTHON_SITELIBDIR%%/gi/_option.py
-%%PYTHON_SITELIBDIR%%/gi/_ossighelper.py
-%%PYTHON_SITELIBDIR%%/gi/_propertyhelper.py
-%%PYTHON_SITELIBDIR%%/gi/_signalhelper.py
-%%PYTHON_SITELIBDIR%%/gi/docstring.py
-%%PYTHON_SITELIBDIR%%/gi/importer.py
-%%PYTHON_SITELIBDIR%%/gi/module.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/GIMarshallingTests.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/GLib.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/GObject.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/Gdk.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/GdkPixbuf.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/Gio.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/Gtk.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/Pango.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/__init__.py
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GIMarshallingTests.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GIMarshallingTests.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GLib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GLib.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GObject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GObject.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gdk.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gdk.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GdkPixbuf.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GdkPixbuf.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gio.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gio.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gtk.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gtk.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Pango.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Pango.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/keysyms.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/keysyms.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/overrides/keysyms.py
-%%PYTHON_SITELIBDIR%%/gi/pygtkcompat.py
-%%PYTHON_SITELIBDIR%%/gi/repository/__init__.py
-%%PYTHON_SITELIBDIR%%/gi/repository/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gi/repository/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gi/types.py
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__init__.py
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/generictreemodel.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/generictreemodel.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/pygtkcompat.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/pygtkcompat.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/pygtkcompat/generictreemodel.py
-%%PYTHON_SITELIBDIR%%/pygtkcompat/pygtkcompat.py
diff --git a/devel/py-pygobject/Makefile b/devel/py-pygobject/Makefile
new file mode 100644
index 000000000000..86cc88f33cec
--- /dev/null
+++ b/devel/py-pygobject/Makefile
@@ -0,0 +1,44 @@
+PORTNAME=	pygobject
+DISTVERSION=	3.50.0
+PORTREVISION?=	0
+CATEGORIES=	devel python
+MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PKGNAMEPREFIX?=	${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR=	gnome
+
+MAINTAINER=	desktop@FreeBSD.org
+COMMENT?=	Python bindings for GObject Introspection
+WWW=		https://pygobject.gnome.org/
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.16:graphics/py-cairo@${PY_FLAVOR}
+LIB_DEPENDS=	libffi.so:devel/libffi
+
+USES=		gnome pkgconfig python:3.9+ tar:xz
+
+BINARY_ALIAS=	python3=${PYTHON_CMD}
+PORTSCOUT=	limitw:1,even
+
+SLAVE_PORT?=	no
+
+.if ${SLAVE_PORT} == common
+USES+=		meson
+USE_GNOME=	glib20:build introspection:build
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/_build/pygobject-3.0.pc \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/pygobject-3.0
+	${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \
+		${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
+.else
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}meson-python>=0.12.1:devel/meson-python@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.16:graphics/py-cairo@${PY_FLAVOR} \
+		${LOCALBASE}/libdata/pkgconfig/pygobject-3.0.pc:devel/pygobject-common
+USE_GNOME=	cairo glib20 introspection
+USE_PYTHON=	autoplist concurrent pep517
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-pygobject/distinfo b/devel/py-pygobject/distinfo
new file mode 100644
index 000000000000..7f0d49e4172d
--- /dev/null
+++ b/devel/py-pygobject/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728481705
+SHA256 (gnome/pygobject-3.50.0.tar.xz) = 8d836e75b5a881d457ee1622cae4a32bcdba28a0ba562193adb3bbb472472212
+SIZE (gnome/pygobject-3.50.0.tar.xz) = 929848
diff --git a/devel/pygobject3-common/pkg-descr b/devel/py-pygobject/pkg-descr
similarity index 100%
rename from devel/pygobject3-common/pkg-descr
rename to devel/py-pygobject/pkg-descr
diff --git a/devel/pygobject-common/Makefile b/devel/pygobject-common/Makefile
new file mode 100644
index 000000000000..9faa06e77a70
--- /dev/null
+++ b/devel/pygobject-common/Makefile
@@ -0,0 +1,15 @@
+PKGNAMEPREFIX=
+PKGNAMESUFFIX=	-common
+
+COMMENT=	Common files for Python bindings for GObject Introspection
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+PLIST_FILES=	include/pygobject-3.0/pygobject.h \
+		libdata/pkgconfig/pygobject-3.0.pc
+
+SLAVE_PORT=	common
+
+MASTERDIR=	${.CURDIR}/../../devel/py-pygobject
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/pygobject3-common/Makefile b/devel/pygobject3-common/Makefile
deleted file mode 100644
index 9c8211695941..000000000000
--- a/devel/pygobject3-common/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-PORTNAME=	gobject
-PORTVERSION=	3.42.2
-CATEGORIES=	devel python
-MASTER_SITES=	GNOME/sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
-PKGNAMEPREFIX?=	py
-PKGNAMESUFFIX?=	3-common
-DISTNAME=	pygobject-${PORTVERSION}
-DIST_SUBDIR=	gnome
-
-MAINTAINER=	desktop@FreeBSD.org
-COMMENT?=	Common files for the Python bindings for GObject
-
-LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-
-SLAVE_PORT?=	no
-
-USES=		meson pkgconfig tar:xz
-
-# this port doesn't work with py-gobject < 2.28.6_2, clungle below
-CONFLICTS=	py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \
-		py*-gobject-2.*.6_1
-
-PLIST_SUB=	ARCH=${ARCH} UNAME_R=${UNAME_R} VERSION=${PORTVERSION} \
-		OPSYS=${OPSYS:tl} UNAME_M=${UNAME_M}
-
-BINARY_ALIAS=	python3=${PYTHON_CMD}
-
-TESTING_UNSAFE=	AttributeError: 'NoneType' object has no attribute '_version'
-
-.if ${SLAVE_PORT} == no
-PORTSCOUT?=	limitw:1,even
-
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
-USES+=		gnome python:build
-USE_GNOME=	glib20:build introspection:build
-NO_ARCH=	yes
-NO_BUILD=	yes
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/include/pygobject-3.0/
-	${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \
-		${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
-	${INSTALL_DATA} ${WRKSRC}/_build/pygobject-3.0.pc \
-		${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc
-.else
-PORTSCOUT=	ignore:1
-
-USES+=		gettext-runtime gnome
-USE_GNOME+=	cairo glib20 introspection
-LIB_DEPENDS+=	libffi.so:devel/libffi
-RUN_DEPENDS+=	pygobject3-common>=0:devel/pygobject3-common
-
-.  if ${SLAVE_PORT} == python
-USES+=		python
-USE_PYTHON=	flavors py3kplist
-MESON_ARGS+=	-Dpython=${PYTHON_VERSION}
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
-.  endif
-
-post-install:
-	@${RM} -r ${STAGEDIR}${PREFIX}/include/pygobject-3.0 \
-		${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc
-	${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
-	${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
-.endif
-
-.include <bsd.port.pre.mk>
-
-UNAME_R!=	${UNAME} -r
-UNAME_M!=	${UNAME} -m
-
-.include <bsd.port.post.mk>
diff --git a/devel/pygobject3-common/distinfo b/devel/pygobject3-common/distinfo
deleted file mode 100644
index 19804700d9b5..000000000000
--- a/devel/pygobject3-common/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1658710769
-SHA256 (gnome/pygobject-3.42.2.tar.xz) = ade8695e2a7073849dd0316d31d8728e15e1e0bc71d9ff6d1c09e86be52bc957
-SIZE (gnome/pygobject-3.42.2.tar.xz) = 558724
diff --git a/devel/pygobject3-common/pkg-plist b/devel/pygobject3-common/pkg-plist
deleted file mode 100644
index fb09602aa169..000000000000
--- a/devel/pygobject3-common/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-include/pygobject-3.0/pygobject.h
-libdata/pkgconfig/pygobject-3.0.pc
diff --git a/misc/py-openpaperwork-gtk/Makefile b/misc/py-openpaperwork-gtk/Makefile
index 5a6c264039c0..41df3a71c269 100644
--- a/misc/py-openpaperwork-gtk/Makefile
+++ b/misc/py-openpaperwork-gtk/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	openpaperwork-gtk
 DISTVERSION=	2.1.2
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openpaperwork-core>0:misc/py-openpaperwork-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
 		${PY_PILLOW} \
-		pygobject3-common>=0:devel/pygobject3-common
+		pygobject-common>=0:devel/pygobject-common
 BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
 
diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile
index dd8f676da2f4..167804e517f3 100644
--- a/security/libsecret/Makefile
+++ b/security/libsecret/Makefile
@@ -14,7 +14,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLA
 		docbook-xsl>=0:textproc/docbook-xsl
 LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 		libgpg-error.so:security/libgpg-error
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygobject>0:devel/py-pygobject@${PY_FLAVOR}
 
 USES=		compiler gnome meson pkgconfig python tar:xz vala:build
 USE_GNOME=	glib20 intltool introspection:build libxslt:build



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411222232.4AMMWwuN017721>