Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2026 00:24:37 +0000
From:      =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 83dc98886579 - main - devel/py-PyGObject-stubs: New port: Typing stubs for PyGObject
Message-ID:  <6a1e22c5.1f500.4ee06911@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dtxdf:

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

commit 83dc988865799b9dab8c518cabadf607bb6b6050
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-06-02 00:16:29 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-06-02 00:24:18 +0000

    devel/py-PyGObject-stubs: New port: Typing stubs for PyGObject
    
    PyGObject-stubs implements PEP 561 typing stubs for PyGObject.
    
    WWW: https://github.com/pygobject/pygobject-stubs
---
 devel/Makefile                                     |  1 +
 devel/py-PyGObject-stubs/Makefile                  | 24 ++++++++++++++++++++++
 devel/py-PyGObject-stubs/distinfo                  |  3 +++
 .../py-PyGObject-stubs/files/patch-pyproject.toml  |  9 ++++++++
 devel/py-PyGObject-stubs/pkg-descr                 |  1 +
 5 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c0777655c015..ccf0d6b3ff80 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4407,6 +4407,7 @@
     SUBDIR += py-PYB11Generator
     SUBDIR += py-PeachPy
     SUBDIR += py-PyExecJS
+    SUBDIR += py-PyGObject-stubs
     SUBDIR += py-PyGithub
     SUBDIR += py-PyLD
     SUBDIR += py-PyPubSub
diff --git a/devel/py-PyGObject-stubs/Makefile b/devel/py-PyGObject-stubs/Makefile
new file mode 100644
index 000000000000..e092ad9bf9c4
--- /dev/null
+++ b/devel/py-PyGObject-stubs/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	PyGObject-stubs
+DISTVERSION=	2.17.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	pygobject_stubs-${DISTVERSION}
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Typing stubs for PyGObject
+WWW=		https://github.com/pygobject/pygobject-stubs \
+		https://pypi.org/project/PyGObject-stubs
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		gnome python
+USE_GNOME=	pygobject3:run
+USE_PYTHON=	autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/devel/py-PyGObject-stubs/distinfo b/devel/py-PyGObject-stubs/distinfo
new file mode 100644
index 000000000000..b5181f7591ef
--- /dev/null
+++ b/devel/py-PyGObject-stubs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1780356446
+SHA256 (pygobject_stubs-2.17.0.tar.gz) = 66884d26974dd7fb99a8bc5972b5bdeb4b7399ecc7ac53913a6cafa6ab21491f
+SIZE (pygobject_stubs-2.17.0.tar.gz) = 1010510
diff --git a/devel/py-PyGObject-stubs/files/patch-pyproject.toml b/devel/py-PyGObject-stubs/files/patch-pyproject.toml
new file mode 100644
index 000000000000..918a2a351e56
--- /dev/null
+++ b/devel/py-PyGObject-stubs/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2026-06-01 23:37:31 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools >= 65.0.0"]
++requires = ["setuptools"]
+ build-backend = "backend"
+ backend-path = ["pep517backend"]
+ 
diff --git a/devel/py-PyGObject-stubs/pkg-descr b/devel/py-PyGObject-stubs/pkg-descr
new file mode 100644
index 000000000000..310e81671125
--- /dev/null
+++ b/devel/py-PyGObject-stubs/pkg-descr
@@ -0,0 +1 @@
+PyGObject-stubs implements PEP 561 typing stubs for PyGObject.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1e22c5.1f500.4ee06911>