diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-02-16 23:16:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-02-16 23:34:10 +0100 |
commit | 3b8a55ad8ebad5b8a81ae2bbb4ac981899f8f3fb (patch) | |
tree | 1586bb9658933b3cdf75efb9d6575c02038150f1 /dev-python/pyspnego | |
parent | dev-python/krb5: Bump to 0.3.0 (diff) | |
download | gentoo-3b8a55ad8ebad5b8a81ae2bbb4ac981899f8f3fb.tar.gz gentoo-3b8a55ad8ebad5b8a81ae2bbb4ac981899f8f3fb.tar.bz2 gentoo-3b8a55ad8ebad5b8a81ae2bbb4ac981899f8f3fb.zip |
dev-python/pyspnego: Bump to 0.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyspnego')
-rw-r--r-- | dev-python/pyspnego/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyspnego/pyspnego-0.4.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest index 9bde7d91ef7e..47b1e3fd4b58 100644 --- a/dev-python/pyspnego/Manifest +++ b/dev-python/pyspnego/Manifest @@ -1 +1,2 @@ DIST pyspnego-0.3.1.tar.gz 308888 BLAKE2B 23d77718bcb3deb807764ef3098c8f25b487c18b022ba9e48bc46bbab8f77de82ddc4a2bd66485041b1012958304d77236f54e9f87150e68631045bd50ca2a0a SHA512 2f46c727dbb29e1b9a7e4912c14fe49f47595ef7134358eae03e0645cce927e69e3612d11b1b5986fbb945f684e87d6eddf08bc6153af9d29325718a6207e3a1 +DIST pyspnego-0.4.0.tar.gz 324322 BLAKE2B 97ef46ba072df46f873a9f2bdf4dd440a37395a87856da92b5438af8ed05aad381189eb86b6fe031ab77158c482f91a3fb12dde69082decfbe328c150d8210f0 SHA512 e110bffebf746e7ef1c1bd74e071ec7b224c30cf7be12f6c1101feb58d85fa6f4fa48e946e1a620115b2857dcad07c77986800d623cc1a94b24a253d3205b9ea diff --git a/dev-python/pyspnego/pyspnego-0.4.0.ebuild b/dev-python/pyspnego/pyspnego-0.4.0.ebuild new file mode 100644 index 000000000000..27b39859d871 --- /dev/null +++ b/dev-python/pyspnego/pyspnego-0.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" +HOMEPAGE="https://pypi.org/project/pyspnego/ https://github.com/jborean93/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 + +EPYTEST_DESELECT=( + # https://github.com/jborean93/pyspnego/issues/33 + 'tests/test_auth.py::test_kerberos_auth_keytab[negotiate-False]' + 'tests/test_auth.py::test_kerberos_auth_keytab[negotiate-True]' + 'tests/test_auth.py::test_kerberos_auth_ccache[negotiate-False]' + 'tests/test_auth.py::test_kerberos_auth_env_cache[negotiate-False]' +) + +pkg_postinst() { + optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0" + optfeature "YAML output support" "dev-python/ruamel-yaml" +} |