commit:     c693da46aaff27b48b04b8155bb18082127c5e95
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 06:36:53 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 07:06:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c693da46

dev-python/pyspnego: Bump to 0.5.3

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

 dev-python/pyspnego/Manifest              |  1 +
 dev-python/pyspnego/pyspnego-0.5.3.ebuild | 40 +++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest
index 348ca37b23ba..3837973bb196 100644
--- a/dev-python/pyspnego/Manifest
+++ b/dev-python/pyspnego/Manifest
@@ -1 +1,2 @@
 DIST pyspnego-0.5.2.tar.gz 328222 BLAKE2B 
7c811948d1d3890e2d03f4a532b9c0158195684b0cdee915811b1ee3bfa791b84632edb6d098562aa7b9f4c36eb00f244e249340b4de557999ec2a0f176ebd1e
 SHA512 
805da232d138edaf4094614df0ebc4840f0c1b9deb9586026bffe0ec17d54553e4d3876ffc53d87b13687b741951a68334369f0f2475cf2f12359f072dc6a0c8
+DIST pyspnego-0.5.3.tar.gz 389939 BLAKE2B 
236151d9d9f37137d46b06a99f037922563b4d43931288129492aa7173f166d24c3086297e30a0f05158773101df9868f88efffe00864b1bd5deb0a99a496b61
 SHA512 
41ca9f785a7dcc99818da351e0a020ffaed72d65cd67b0f19ad4a462a6a1fe739d040acec85052133a19aed06066dae9a9e8f0b469713b331f6ddc52cd3b4c0a

diff --git a/dev-python/pyspnego/pyspnego-0.5.3.ebuild 
b/dev-python/pyspnego/pyspnego-0.5.3.ebuild
new file mode 100644
index 000000000000..6ce9adf021e2
--- /dev/null
+++ b/dev-python/pyspnego/pyspnego-0.5.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+# py3.11: https://github.com/jborean93/pyspnego/issues/42
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Library to handle SPNEGO and CredSSP authentication"
+HOMEPAGE="
+       https://github.com/jborean93/pyspnego/
+       https://pypi.org/project/pyspnego/
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+       dev-python/cryptography[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/gssapi[${PYTHON_USEDEP}]
+               >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+       optfeature "Kerberos authentication" "dev-python/gssapi 
>=dev-python/krb5-0.3.0"
+       optfeature "YAML output support" "dev-python/ruamel-yaml"
+}

Reply via email to