1 |
commit: 4bc110696ca0987cd79f7466f04731646e69d905 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 08:58:12 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 09:15:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc11069 |
7 |
|
8 |
dev-python/pyspnego: Bump to 0.5.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyspnego/Manifest | 1 + |
13 |
dev-python/pyspnego/pyspnego-0.5.0.ebuild | 44 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest |
17 |
index 47b1e3fd4b58..4340a7e374d7 100644 |
18 |
--- a/dev-python/pyspnego/Manifest |
19 |
+++ b/dev-python/pyspnego/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pyspnego-0.3.1.tar.gz 308888 BLAKE2B 23d77718bcb3deb807764ef3098c8f25b487c18b022ba9e48bc46bbab8f77de82ddc4a2bd66485041b1012958304d77236f54e9f87150e68631045bd50ca2a0a SHA512 2f46c727dbb29e1b9a7e4912c14fe49f47595ef7134358eae03e0645cce927e69e3612d11b1b5986fbb945f684e87d6eddf08bc6153af9d29325718a6207e3a1 |
22 |
DIST pyspnego-0.4.0.tar.gz 324322 BLAKE2B 97ef46ba072df46f873a9f2bdf4dd440a37395a87856da92b5438af8ed05aad381189eb86b6fe031ab77158c482f91a3fb12dde69082decfbe328c150d8210f0 SHA512 e110bffebf746e7ef1c1bd74e071ec7b224c30cf7be12f6c1101feb58d85fa6f4fa48e946e1a620115b2857dcad07c77986800d623cc1a94b24a253d3205b9ea |
23 |
+DIST pyspnego-0.5.0.tar.gz 325693 BLAKE2B 7674f498624e9b3c463db9ee60e9c5edf84cefd3642c9fe2cf0df58364c96b0643cf962d00edf1a6be9d8452e344e920cc1edec70bc39e8f65a6428204c36328 SHA512 4abb5726f9432366453069d32344b2be2169301cb0a6f96bcaac3f49f807c2ba819ad85a50f7979e920ddf3a4dcd13f6fc868e8d72c3c00cd3b9ffc97692b4c8 |
24 |
|
25 |
diff --git a/dev-python/pyspnego/pyspnego-0.5.0.ebuild b/dev-python/pyspnego/pyspnego-0.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..27b39859d871 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pyspnego/pyspnego-0.5.0.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 2021-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 optfeature |
40 |
+ |
41 |
+DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" |
42 |
+HOMEPAGE="https://pypi.org/project/pyspnego/ https://github.com/jborean93/pyspnego" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+BDEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/gssapi[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
57 |
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+EPYTEST_DESELECT=( |
64 |
+ # https://github.com/jborean93/pyspnego/issues/33 |
65 |
+ 'tests/test_auth.py::test_kerberos_auth_keytab[negotiate-False]' |
66 |
+ 'tests/test_auth.py::test_kerberos_auth_keytab[negotiate-True]' |
67 |
+ 'tests/test_auth.py::test_kerberos_auth_ccache[negotiate-False]' |
68 |
+ 'tests/test_auth.py::test_kerberos_auth_env_cache[negotiate-False]' |
69 |
+) |
70 |
+ |
71 |
+pkg_postinst() { |
72 |
+ optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0" |
73 |
+ optfeature "YAML output support" "dev-python/ruamel-yaml" |
74 |
+} |