summaryrefslogtreecommitdiff
path: root/dev-python/patatt
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-07 19:13:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-07 19:13:18 +0000
commit63cc2c766bddbc62e012b702853544b13e1d9612 (patch)
treed1a813acde1218348da28db4415bf9bb9cd81705 /dev-python/patatt
parentbd8f31291641f6114c228c3d0381a13a04169e93 (diff)
downloadbaldeagleos-repo-63cc2c766bddbc62e012b702853544b13e1d9612.tar.gz
baldeagleos-repo-63cc2c766bddbc62e012b702853544b13e1d9612.tar.xz
baldeagleos-repo-63cc2c766bddbc62e012b702853544b13e1d9612.zip
Adding metadata
Diffstat (limited to 'dev-python/patatt')
-rw-r--r--dev-python/patatt/Manifest2
-rw-r--r--dev-python/patatt/files/patatt-0.7.0-py311-tests.patch37
-rw-r--r--dev-python/patatt/patatt-0.6.3.ebuild18
-rw-r--r--dev-python/patatt/patatt-0.7.0-r1.ebuild4
-rw-r--r--dev-python/patatt/patatt-0.7.0.ebuild18
5 files changed, 41 insertions, 38 deletions
diff --git a/dev-python/patatt/Manifest b/dev-python/patatt/Manifest
index c6ae4d8660a9..5d1d7fa6afd8 100644
--- a/dev-python/patatt/Manifest
+++ b/dev-python/patatt/Manifest
@@ -1,3 +1 @@
-DIST patatt-0.6.3.tar.gz 34827 BLAKE2B ff9ac8bf9fd6c8b950bac1a97a57e5d413a579e004d690d17d6a1dff107f284e1abc51e649b14ff148c5cbb0816838c66bd3e33313deb2d1d05d18da174bc843 SHA512 c8947f5d2351a06f544e88aa334294f28b6cfb51302009dd6f462579b98f154e7d6e49197b49e2545e93d6b8339bd72408e79a998d934ebde42dda44c4c4cbf8
-DIST patatt-0.7.0.tar.gz 23415 BLAKE2B 8961cca5ca24d8e4f95067a9bb8d44af7e27ee28660d9557969c38a8ae644b1ec95157554a97742059832371348874b324232b897d6ff2957d3ebbecc288a9da SHA512 948d11e90d3d2b374921d730356a445a8f246adb60263dd68fe3ff0cdbf51226ba86216a8d2675c993b639f737891ce1130e92172f9f4068cfc3ce4d99c1df8f
DIST patatt-0.7.0.tar.xz 118440 BLAKE2B 658ce7523b8ecaa562c9f5455132ffcb569ae388cd1a8b5ba60cc87343f899a51642bdc55253a3395954ef5a2b58e1208f2bd89b2f8bd1c900d575ee41337b91 SHA512 65427841036af52621a0b713e4d7eb39dc6a621a59763ece15e7a9c93220eebca9e990361d97809281ffe800f0eacfbd75e06a71b820b7822dd5c9b4b73995f8
diff --git a/dev-python/patatt/files/patatt-0.7.0-py311-tests.patch b/dev-python/patatt/files/patatt-0.7.0-py311-tests.patch
new file mode 100644
index 000000000000..134d88a7baf4
--- /dev/null
+++ b/dev-python/patatt/files/patatt-0.7.0-py311-tests.patch
@@ -0,0 +1,37 @@
+https://git.kernel.org/pub/scm/utils/patatt/patatt.git/commit/?id=3b9f6ecec8e17225b66483ffd0aecb8ba1c328f5
+
+From 3b9f6ecec8e17225b66483ffd0aecb8ba1c328f5 Mon Sep 17 00:00:00 2001
+From: Artur Weber <aweber.kernel@gmail.com>
+Date: Thu, 8 Jan 2026 17:52:00 +0100
+Subject: Use pre-Python 3.13 Generator type syntax in conftest.py
+
+Python 3.13 defaults to None for the other fields of the Generator type,
+but the version of Generator in older versions does not support such syntax.
+Explicitly add the missing fields to allow the tests to run on older Python
+versions.
+
+(An alternative solution would be to use typing-extensions for older
+versions, though that would require adding another dependency.)
+
+Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
+Link: https://patch.msgid.link/20260108165200.11313-1-aweber.kernel@gmail.com
+Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
+---
+ tests/conftest.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/conftest.py b/tests/conftest.py
+index c5ced78..a9c9157 100644
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -20,7 +20,7 @@ This is a test email body.
+ """
+
+ @pytest.fixture
+-def temp_data_dir() -> Generator[str]:
++def temp_data_dir() -> Generator[str, None, None]:
+ """Create a temporary data directory structure for patatt."""
+ with tempfile.TemporaryDirectory() as tmpdirname:
+ # Create directory structure similar to patatt's data dir
+--
+cgit 1.3-korg
diff --git a/dev-python/patatt/patatt-0.6.3.ebuild b/dev-python/patatt/patatt-0.6.3.ebuild
deleted file mode 100644
index 464e02041433..000000000000
--- a/dev-python/patatt/patatt-0.6.3.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2021-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="A simple library to add cryptographic attestation to patches sent via email"
-HOMEPAGE="https://patatt.docs.kernel.org/en/latest/ https://pypi.org/project/patatt/"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86"
-
-RDEPEND="dev-python/pynacl[${PYTHON_USEDEP}]"
diff --git a/dev-python/patatt/patatt-0.7.0-r1.ebuild b/dev-python/patatt/patatt-0.7.0-r1.ebuild
index da4920e0bafd..9da6264effe3 100644
--- a/dev-python/patatt/patatt-0.7.0-r1.ebuild
+++ b/dev-python/patatt/patatt-0.7.0-r1.ebuild
@@ -18,4 +18,8 @@ KEYWORDS="amd64 arm64 x86"
RDEPEND="dev-python/pynacl[${PYTHON_USEDEP}]"
+PATCHES=(
+ "${FILESDIR}"/${P}-py311-tests.patch
+)
+
distutils_enable_tests pytest
diff --git a/dev-python/patatt/patatt-0.7.0.ebuild b/dev-python/patatt/patatt-0.7.0.ebuild
deleted file mode 100644
index d249dc4912b1..000000000000
--- a/dev-python/patatt/patatt-0.7.0.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2021-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="A simple library to add cryptographic attestation to patches sent via email"
-HOMEPAGE="https://patatt.docs.kernel.org/en/latest/ https://pypi.org/project/patatt/"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-RDEPEND="dev-python/pynacl[${PYTHON_USEDEP}]"