commit:     46c555ac39f48aa2aa7ffc7f520cf5ae162996fe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  2 04:00:47 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 04:10:03 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c555ac

dev-python/pynacl: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pynacl/Manifest                       |  2 -
 dev-python/pynacl/files/pynacl-1.5.0-py314.patch | 58 ------------------------
 dev-python/pynacl/pynacl-1.5.0-r4.ebuild         | 54 ----------------------
 dev-python/pynacl/pynacl-1.6.0.ebuild            | 48 --------------------
 4 files changed, 162 deletions(-)

diff --git a/dev-python/pynacl/Manifest b/dev-python/pynacl/Manifest
index c90a0a48a1eb..32348fc98d69 100644
--- a/dev-python/pynacl/Manifest
+++ b/dev-python/pynacl/Manifest
@@ -1,3 +1 @@
-DIST pynacl-1.5.0.gh.tar.gz 20350195 BLAKE2B 
56ca4f47867cce6e22fdacb0558b5f901aae318b47bacfe5f4ad02d8923e1c86d0a2dd186ec29c820a786ab844d928479fca2d1472a8345b82be6bcbc67c3328
 SHA512 
905d3a7ce7f758b31a5d34471d5a0202fd2ba3d904a7ec59a158bcd1ea572fc87e29fc144c733d151cbaa48788c939808bc51d00acc973fe6d190eefdd3bfd59
-DIST pynacl-1.6.0.gh.tar.gz 27611198 BLAKE2B 
6b2ea8e96f39d758b3fb6d942a45909e5b6ed4f671c9ebb7aee4d089a0b0ae34b09c020518c69dfef2d9ec900455c83a4d01145f58b6e84a8613cd6f6fb852a1
 SHA512 
b068fb5877fd084d927471233c0678d04582f49cdcd1a298d38f39c2a775bbf83011a6279df894c6c92732dc947a467e4f628449f5f8419b254886c2b789e17e
 DIST pynacl-1.6.1.gh.tar.gz 27611191 BLAKE2B 
f9f9c4307ba7db1211b947f8a5283787dfe0169b46a5e35facc8ed5a4b5745ea48ceb0957c0d134fd8924802902db02ceb68960abfef5191b2ced4fe5da52c01
 SHA512 
77ea6ae114a6f4e980e59c291485e12fdc2a639803b7d6f521932bba041e1df12c9b394adead2240d99f3c726748446449068ce62896ee354f94949a1e0be34d

diff --git a/dev-python/pynacl/files/pynacl-1.5.0-py314.patch 
b/dev-python/pynacl/files/pynacl-1.5.0-py314.patch
deleted file mode 100644
index 210728b2ea76..000000000000
--- a/dev-python/pynacl/files/pynacl-1.5.0-py314.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-https://github.com/pyca/pynacl/commit/d33028e43b814615a33e231925eaddb0f679fa2b
-
-From d33028e43b814615a33e231925eaddb0f679fa2b Mon Sep 17 00:00:00 2001
-From: Karolina Surma <[email protected]>
-Date: Fri, 15 Nov 2024 04:53:12 +0100
-Subject: [PATCH] Fix compatibility with Python 3.14.0a1 (#848)
-
-typing.ByteString has been removed from Python 3.14.
-Ported the suggested way from the documentation:
-https://docs.python.org/3.13/library/typing.html#typing.ByteString
----
- src/nacl/bindings/crypto_secretstream.py | 3 ++-
- tests/test_secretstream.py               | 3 ++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/nacl/bindings/crypto_secretstream.py 
b/src/nacl/bindings/crypto_secretstream.py
-index d7c6725e..59b074c5 100644
---- a/src/nacl/bindings/crypto_secretstream.py
-+++ b/src/nacl/bindings/crypto_secretstream.py
-@@ -11,7 +11,7 @@
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
--from typing import ByteString, Optional, Tuple, cast
-+from typing import Optional, Tuple, Union, cast
- 
- from nacl import exceptions as exc
- from nacl._sodium import ffi, lib
-@@ -73,6 +73,7 @@ class crypto_secretstream_xchacha20poly1305_state:
- 
-     def __init__(self) -> None:
-         """Initialize a clean state object."""
-+        ByteString = Union[bytes, bytearray, memoryview]
-         self.statebuf: ByteString = ffi.new(
-             "unsigned char[]",
-             crypto_secretstream_xchacha20poly1305_STATEBYTES,
-diff --git a/tests/test_secretstream.py b/tests/test_secretstream.py
-index d1b72739..9a847bb4 100644
---- a/tests/test_secretstream.py
-+++ b/tests/test_secretstream.py
-@@ -16,7 +16,7 @@
- import json
- import os
- import random
--from typing import ByteString, List, Optional, Tuple
-+from typing import List, Optional, Tuple, Union
- 
- from _pytest._code import ExceptionInfo
- from _pytest.monkeypatch import MonkeyPatch
-@@ -219,6 +219,7 @@ def test_it_like_libsodium():
- 
-     header = crypto_secretstream_xchacha20poly1305_init_push(state, k)
- 
-+    ByteString = Union[bytes, bytearray, memoryview]
-     state_save: ByteString = ffi.buffer(state.statebuf)[:]
- 
-     c1 = crypto_secretstream_xchacha20poly1305_push(
-

diff --git a/dev-python/pynacl/pynacl-1.5.0-r4.ebuild 
b/dev-python/pynacl/pynacl-1.5.0-r4.ebuild
deleted file mode 100644
index 2ded6c274370..000000000000
--- a/dev-python/pynacl/pynacl-1.5.0-r4.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library"
-HOMEPAGE="
-       https://github.com/pyca/pynacl/
-       https://pypi.org/project/PyNaCl/
-"
-SRC_URI="
-       https://github.com/pyca/pynacl/archive/${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc 
x86"
-
-DEPEND="
-       dev-libs/libsodium:=
-"
-RDEPEND="
-       ${DEPEND}
-       $(python_gen_cond_dep '
-               >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}]
-       ' 'python*')
-"
-BDEPEND="
-       $(python_gen_cond_dep '
-               >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}]
-       ' 'python*')
-       test? (
-               >=dev-python/hypothesis-3.27.0[${PYTHON_USEDEP}]
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.5.0-py314.patch
-)
-
-distutils_enable_tests pytest
-
-src_compile() {
-       # For not using the bundled libsodium
-       local -x SODIUM_INSTALL=system
-       distutils-r1_src_compile
-}

diff --git a/dev-python/pynacl/pynacl-1.6.0.ebuild 
b/dev-python/pynacl/pynacl-1.6.0.ebuild
deleted file mode 100644
index 696332af5c11..000000000000
--- a/dev-python/pynacl/pynacl-1.6.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3_11 python3_{11..14} python3_14t )
-
-inherit distutils-r1
-
-DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library"
-HOMEPAGE="
-       https://github.com/pyca/pynacl/
-       https://pypi.org/project/PyNaCl/
-"
-SRC_URI="
-       https://github.com/pyca/pynacl/archive/${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc 
x86"
-
-DEPEND="
-       dev-libs/libsodium:=
-"
-RDEPEND="
-       ${DEPEND}
-       $(python_gen_cond_dep '
-               >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}]
-       ' 'python*')
-"
-BDEPEND="
-       $(python_gen_cond_dep '
-               >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}]
-       ' 'python*')
-"
-
-EPYTEST_PLUGINS=( hypothesis )
-distutils_enable_tests pytest
-
-src_compile() {
-       # For not using the bundled libsodium
-       local -x SODIUM_INSTALL=system
-       distutils-r1_src_compile
-}

Reply via email to