pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-gidgethub



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 12 22:00:29 UTC 2026

Modified Files:
        pkgsrc/devel/py-gidgethub: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-gidgethub/patches: patch-pyproject.toml

Log Message:
py-gidgethub: update to 5.4.0.

What's Changed

    Fix broken links in docs by @Mariatta in #203
    Replace flit by flit_core in build-system by @tjni in #205
    Fix URLs by @brettcannon in #208
    Add support for Python 3.12-3.13 and drop EOL 3.7 by @hugovk in #209
    Update changelog by @hugovk in #212
    Set a maximum version of flit_core for build requirements by @takluyver in #211
    Add expiration parameter to apps.get_jwt by @jjnesbitt in #215
    Make gidgethub.abc.GitHubAPI.getiter() iterative by @brettcannon in #219


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-gidgethub/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-gidgethub/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-gidgethub/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-gidgethub/patches/patch-pyproject.toml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-gidgethub/Makefile
diff -u pkgsrc/devel/py-gidgethub/Makefile:1.7 pkgsrc/devel/py-gidgethub/Makefile:1.8
--- pkgsrc/devel/py-gidgethub/Makefile:1.7      Sun Mar  2 09:42:22 2025
+++ pkgsrc/devel/py-gidgethub/Makefile  Wed Aug 12 22:00:29 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2025/03/02 09:42:22 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2026/08/12 22:00:29 wiz Exp $
 
-DISTNAME=      gidgethub-5.3.0
+DISTNAME=      gidgethub-5.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gidgethub/}
 
@@ -11,8 +10,7 @@ HOMEPAGE=     https://pypi.org/project/gidge
 COMMENT=       Async GitHub API library
 LICENSE=       apache-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit-[0-9]*:../../devel/py-flit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend>=0:../../devel/py-pdm_backend
 DEPENDS+=      ${PYPKGPREFIX}-uritemplate>=3.0.1:../../textproc/py-uritemplate
 DEPENDS+=      ${PYPKGPREFIX}-JWT>=2.0.0:../../textproc/py-JWT
 TEST_DEPENDS+= ${PYPKGPREFIX}-aiohttp-[0-9]*:../../www/py-aiohttp
@@ -32,5 +30,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-tornado-[0
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
+# as of 5.4.0
+# 5 failed, 165 passed, 1 warning
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-gidgethub/PLIST
diff -u pkgsrc/devel/py-gidgethub/PLIST:1.3 pkgsrc/devel/py-gidgethub/PLIST:1.4
--- pkgsrc/devel/py-gidgethub/PLIST:1.3 Sun Mar  2 09:42:22 2025
+++ pkgsrc/devel/py-gidgethub/PLIST     Wed Aug 12 22:00:29 2026
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2025/03/02 09:42:22 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/08/12 22:00:29 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/Third-Party Notices.md
 ${PYSITELIB}/gidgethub/__init__.py
 ${PYSITELIB}/gidgethub/__init__.pyc
 ${PYSITELIB}/gidgethub/__init__.pyo

Index: pkgsrc/devel/py-gidgethub/distinfo
diff -u pkgsrc/devel/py-gidgethub/distinfo:1.2 pkgsrc/devel/py-gidgethub/distinfo:1.3
--- pkgsrc/devel/py-gidgethub/distinfo:1.2      Sun Apr 21 13:40:01 2024
+++ pkgsrc/devel/py-gidgethub/distinfo  Wed Aug 12 22:00:29 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2024/04/21 13:40:01 wiz Exp $
+$NetBSD: distinfo,v 1.3 2026/08/12 22:00:29 wiz Exp $
 
-BLAKE2s (gidgethub-5.3.0.tar.gz) = c28e4d4e31c77816296d8eb6d16c4aa1dcb1a4d6c290f3d1b4e2731af3155afa
-SHA512 (gidgethub-5.3.0.tar.gz) = 5584ac59483d9f87d77bd8c6839b78891b93a695ff378a6ba197453a616335af7247f4ca5b485a8c27fe2e7a35a6b606ed185df9d54c39a45498a408f847109f
-Size (gidgethub-5.3.0.tar.gz) = 125885 bytes
+BLAKE2s (gidgethub-5.4.0.tar.gz) = 04ebf23d11dd3eaf8e0f3d70a0e09d5a510251606141b80a95e325425ff0206b
+SHA512 (gidgethub-5.4.0.tar.gz) = 6920b749eb401082b6891352b30456ed491953262bf5b753b94d2ad933b8d360f59305b9a8e7c34433c441ed5cdf71f22ccb3a5749c6922633d5dabef74d66a5
+Size (gidgethub-5.4.0.tar.gz) = 126781 bytes
+SHA1 (patch-pyproject.toml) = 239ea82604af3ca9e859ab41163fbd92625f35d2

Added files:

Index: pkgsrc/devel/py-gidgethub/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/devel/py-gidgethub/patches/patch-pyproject.toml:1.1
--- /dev/null   Wed Aug 12 22:00:29 2026
+++ pkgsrc/devel/py-gidgethub/patches/patch-pyproject.toml      Wed Aug 12 22:00:29 2026
@@ -0,0 +1,94 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2026/08/12 22:00:29 wiz Exp $
+
+Fix build, using latest upstream version.
+
+--- pyproject.toml.orig        2026-08-12 21:56:15.994486538 +0000
++++ pyproject.toml
+@@ -1,48 +1,62 @@
+ [build-system]
+-requires = ["flit_core <4"]
+-build-backend = "flit_core.buildapi"
++requires = ["pdm-backend"]
++build-backend = "pdm.backend"
+ 
+-[tool.flit.metadata]
+-module = "gidgethub"
+-author = "Brett Cannon"
+-author-email = "brett%python.org@localhost"
+-requires = [
++[project]
++name = "gidgethub"
++authors = [{name = "Brett Cannon", email = "brett%python.org@localhost"}]
++maintainers = [{name = "Mariatta", email = "mariatta%mariatta.ca@localhost"}]
++dependencies = [
+     "uritemplate>=3.0.1",
+-    "PyJWT[crypto]>=2.4.0"
++    "PyJWT[crypto]>=2.4.0",
+ ]
+-requires-python = ">=3.8"
+-license = "Apache"
+-keywords = "github sans-io async"
+-description-file = "README.rst"
+-classifiers = ["Intended Audience :: Developers",
+-    "License :: OSI Approved :: Apache Software License",
++requires-python = ">=3.9"
++license = "Apache-2.0 AND MIT"
++license-files = ["LICENSE", "Third-Party Notices.md"]
++keywords = ["github", "sans-io", "async"]
++readme = "README.rst"
++classifiers = [
++    "Intended Audience :: Developers",
+     "Development Status :: 5 - Production/Stable",
+     "Programming Language :: Python :: 3 :: Only",
+-    "Programming Language :: Python :: 3.8",
+     "Programming Language :: Python :: 3.9",
+     "Programming Language :: Python :: 3.10",
+     "Programming Language :: Python :: 3.11",
+     "Programming Language :: Python :: 3.12",
+     "Programming Language :: Python :: 3.13",
++    "Programming Language :: Python :: 3.14",
++    "Programming Language :: Python :: 3.15",
+ ]
++description = "An async GitHub API library"
++dynamic = ["version"]
+ 
+-[tool.flit.metadata.requires-extra]
+-test = ["importlib-resources", "pytest>=5.4.1", "pytest-asyncio", "pytest-tornasync"]
+-doc = ["sphinx>=4.0.0", "sphinx-rtd-theme>=0.5.2"]
+-# The 'dev' target should contain all dependencies listed in any extras coming
+-# after it to make sure that the test suite will run successfully.
+-dev = ["aiohttp", "black", "coverage[toml]>=5.0.3", "httpx", "mypy", "pytest-cov",
+-       "pytest-xdist", "tornado"]
++[project.urls]
++Documentation = "https://gidgethub.readthedocs.io";
++Repository = "https://github.com/gidgethub/gidgethub";
++
++[project.optional-dependencies]
+ aiohttp = ["aiohttp"]
+ tornado = ["tornado"]
+ httpx = ["httpx>=0.16.1"]
+ 
+-[tool.flit.metadata.urls]
+-Documentation = "https://gidgethub.readthedocs.io";
+-Repository = "https://github.com/brettcannon/gidgethub";
++[dependency-groups]
++test = ["importlib-resources", "pytest>=5.4.1", "pytest-asyncio", "pytest-tornasync",
++        "pytest-cov", "pytest-xdist", "coverage[toml]>=5.0.3"]
++lint = ["black", "mypy"]
++doc = ["sphinx>=4.0.0", "sphinx-rtd-theme>=0.5.2"]
++dev = [{include-group = "test"}, {include-group = "lint"}, {include-group = "doc"}]
+ 
++[tool.pdm.version]
++source = "file"
++path = "gidgethub/__init__.py"
++
++[tool.pytest.ini_options]
++asyncio_default_fixture_loop_scope = "function"
++testpaths = ["tests"]
++
+ [tool.coverage.run]
+ branch = true
+ 
+ [tool.coverage.report]
+ fail_under = 100
++



Home | Main Index | Thread Index | Old Index