diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-02 01:23:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-02 01:23:40 +0000 |
| commit | f8ae32f43ee9db46eb1b1888f86cf69c9399df40 (patch) | |
| tree | d3a8fac8797954da55d1bff224f38a58156ff40a /dev-python/krb5 | |
| parent | c5f52f8cb9a2461a4fccd9a62fbe7a6a3d594a47 (diff) | |
| download | baldeagleos-repo-f8ae32f43ee9db46eb1b1888f86cf69c9399df40.tar.gz baldeagleos-repo-f8ae32f43ee9db46eb1b1888f86cf69c9399df40.tar.xz baldeagleos-repo-f8ae32f43ee9db46eb1b1888f86cf69c9399df40.zip | |
Adding metadata
Diffstat (limited to 'dev-python/krb5')
| -rw-r--r-- | dev-python/krb5/files/krb5-0.5.0-cython-3.patch | 26 | ||||
| -rw-r--r-- | dev-python/krb5/krb5-0.5.0.ebuild | 5 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/krb5/files/krb5-0.5.0-cython-3.patch b/dev-python/krb5/files/krb5-0.5.0-cython-3.patch new file mode 100644 index 000000000000..6d9d34dad659 --- /dev/null +++ b/dev-python/krb5/files/krb5-0.5.0-cython-3.patch @@ -0,0 +1,26 @@ +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 + diff --git a/dev-python/krb5/krb5-0.5.0.ebuild b/dev-python/krb5/krb5-0.5.0.ebuild index 6c214e803add..79b7794a99f4 100644 --- a/dev-python/krb5/krb5-0.5.0.ebuild +++ b/dev-python/krb5/krb5-0.5.0.ebuild @@ -30,3 +30,8 @@ BDEPEND=" " distutils_enable_tests pytest + +PATCHES=( + # https://github.com/jborean93/pykrb5/pull/27 + "${FILESDIR}/${P}-cython-3.patch" +) |
