Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyspnego/
Date: Thu, 18 Aug 2022 18:11:55
Message-Id: 1660846298.d00af8c535f3510bd5a77348bedaef018e2fdc1d.arthurzam@gentoo
1 commit: d00af8c535f3510bd5a77348bedaef018e2fdc1d
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 17:30:19 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 18:11:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00af8c5
7
8 dev-python/pyspnego: add 0.6.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pyspnego/Manifest | 1 +
13 dev-python/pyspnego/pyspnego-0.6.0.ebuild | 40 +++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest
17 index 10cbd4c3d354..acc06ac62b4d 100644
18 --- a/dev-python/pyspnego/Manifest
19 +++ b/dev-python/pyspnego/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pyspnego-0.5.3.tar.gz 389939 BLAKE2B 236151d9d9f37137d46b06a99f037922563b4d43931288129492aa7173f166d24c3086297e30a0f05158773101df9868f88efffe00864b1bd5deb0a99a496b61 SHA512 41ca9f785a7dcc99818da351e0a020ffaed72d65cd67b0f19ad4a462a6a1fe739d040acec85052133a19aed06066dae9a9e8f0b469713b331f6ddc52cd3b4c0a
22 DIST pyspnego-0.5.4.tar.gz 390427 BLAKE2B dcd9a58b2ecdab8d0ef89c6d321cdc75b8711d613afc7fdc2d3986768397b8c097cd2dd86383da7072f8e85686ea02afbe4c738d603d20590c67f8560df5e790 SHA512 5f49ba1a2f86880ded9f09f81969eecdfefc468c72c770846e3af6520bb186c585bf8d74e8fc16bcba24d9220f88d6f5d9b59af203efe499866d6335d13b96b5
23 +DIST pyspnego-0.6.0.tar.gz 200621 BLAKE2B cb6b44ccfb87600c480f67ddae686a424ad75a7f16c8f78d3539159c523069b71c534a3dfb8ec06ee26b75261d87d54e8b96aaa2d0f477f2488438075d6212a5 SHA512 65f877a2fcff4671606063223d1499be19368040a0f70d0d9363dd84c0b09a195a5e6bc7da1d3745fbf81af822f20f3d903ca2a9372898a2973ba93b6661a708
24
25 diff --git a/dev-python/pyspnego/pyspnego-0.6.0.ebuild b/dev-python/pyspnego/pyspnego-0.6.0.ebuild
26 new file mode 100644
27 index 000000000000..372520083949
28 --- /dev/null
29 +++ b/dev-python/pyspnego/pyspnego-0.6.0.ebuild
30 @@ -0,0 +1,40 @@
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..11} )
38 +
39 +inherit distutils-r1 optfeature
40 +
41 +DESCRIPTION="Library to handle SPNEGO and CredSSP authentication"
42 +HOMEPAGE="
43 + https://github.com/jborean93/pyspnego/
44 + https://pypi.org/project/pyspnego/
45 +"
46 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
51 +
52 +RDEPEND="
53 + dev-python/cryptography[${PYTHON_USEDEP}]
54 +"
55 +BDEPEND="
56 + dev-python/cython[${PYTHON_USEDEP}]
57 + test? (
58 + dev-python/gssapi[${PYTHON_USEDEP}]
59 + >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}]
60 + dev-python/pytest-mock[${PYTHON_USEDEP}]
61 + dev-python/ruamel-yaml[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests pytest
66 +
67 +pkg_postinst() {
68 + optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0"
69 + optfeature "YAML output support" "dev-python/ruamel-yaml"
70 +}