dev-python/krb5: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-09-30 12:32:17 +02:00
parent b5b493559d
commit aa7af83299
3 changed files with 0 additions and 64 deletions

View File

@@ -1,2 +1 @@
DIST krb5-0.5.0.tar.gz 220969 BLAKE2B e492220906afff138a35e0545a9fec4d802e37e17d776fa5448361f1d62a93500063f783e638bbf903165a1998f9d2eaa1444d3bf5ce8446b781c69596c53080 SHA512 a5e8dc16026602373a00aae9188256b586a9f02cee7a413b7bc8ff0525660c416256179b56795cb9a69ca9dab0afff258f803a810220472e086c1c497d044567
DIST krb5-0.5.1.tar.gz 221059 BLAKE2B ca7bff0caa192af0493b58e5254bcc45f43aece32ae2d57950d6293506ff8261a53d5990905d4d3a974c9843f6435dd6526c3d3210b9ebe8cda76d640410f213 SHA512 474484d2ffcf94e9855b017a7f8ca29894c4e3c1f4c0d872952bb1b7c1772b319b7a358c5e44cb3be036ea707a58fc1c526f8abb2c3d1d9b8af8525bb769923f

View File

@@ -1,26 +0,0 @@
From 0e843062ac3916ee0a36f59ba53caabba64cb062 Mon Sep 17 00:00:00 2001
From: Matus Valo <matusvalo@gmail.com>
Date: Wed, 15 Mar 2023 21:02:10 +0100
Subject: [PATCH] Declare the function as noexcept when it is not raising
exception.
Cython 3 will require noexcept keyword in the declaraction of the function not raising
an exceptions.
---
pyproject.toml | 2 +-
src/krb5/_creds.pyx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/krb5/_creds.pyx b/src/krb5/_creds.pyx
index a4a8a33..5b550e6 100644
--- a/src/krb5/_creds.pyx
+++ b/src/krb5/_creds.pyx
@@ -263,7 +263,7 @@ cdef krb5_error_code prompt_callback(
const char *banner,
int num_prompts,
krb5_prompt *prompts,
-) with gil:
+) noexcept with gil:
try:
prompter = <Krb5Prompt>data

View File

@@ -1,37 +0,0 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Kerberos API bindings for Python"
HOMEPAGE="
https://github.com/jborean93/pykrb5/
https://pypi.org/project/krb5/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
RDEPEND="
virtual/krb5
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/k5test[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
PATCHES=(
# https://github.com/jborean93/pykrb5/pull/27
"${FILESDIR}/${P}-cython-3.patch"
)