From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDBC215808C for ; Mon, 21 Feb 2022 09:16:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1B35E0966; Mon, 21 Feb 2022 09:16:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84D05E0966 for ; Mon, 21 Feb 2022 09:16:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 824E2343727 for ; Mon, 21 Feb 2022 09:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7461D2F5 for ; Mon, 21 Feb 2022 09:15:57 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1645434952.4bc110696ca0987cd79f7466f04731646e69d905.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyspnego/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyspnego/Manifest dev-python/pyspnego/pyspnego-0.5.0.ebuild X-VCS-Directories: dev-python/pyspnego/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4bc110696ca0987cd79f7466f04731646e69d905 X-VCS-Branch: master Date: Mon, 21 Feb 2022 09:15:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cdd97b8a-9b3c-4604-937e-932136359e78 X-Archives-Hash: d8fb5ab8baa7684c09bcdcf3f1dde868 commit: 4bc110696ca0987cd79f7466f04731646e69d905 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 21 08:58:12 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 21 09:15:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc11069 dev-python/pyspnego: Bump to 0.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyspnego/Manifest | 1 + dev-python/pyspnego/pyspnego-0.5.0.ebuild | 44 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest index 47b1e3fd4b58..4340a7e374d7 100644 --- a/dev-python/pyspnego/Manifest +++ b/dev-python/pyspnego/Manifest @@ -1,2 +1,3 @@ DIST pyspnego-0.3.1.tar.gz 308888 BLAKE2B 23d77718bcb3deb807764ef3098c8f25b487c18b022ba9e48bc46bbab8f77de82ddc4a2bd66485041b1012958304d77236f54e9f87150e68631045bd50ca2a0a SHA512 2f46c727dbb29e1b9a7e4912c14fe49f47595ef7134358eae03e0645cce927e69e3612d11b1b5986fbb945f684e87d6eddf08bc6153af9d29325718a6207e3a1 DIST pyspnego-0.4.0.tar.gz 324322 BLAKE2B 97ef46ba072df46f873a9f2bdf4dd440a37395a87856da92b5438af8ed05aad381189eb86b6fe031ab77158c482f91a3fb12dde69082decfbe328c150d8210f0 SHA512 e110bffebf746e7ef1c1bd74e071ec7b224c30cf7be12f6c1101feb58d85fa6f4fa48e946e1a620115b2857dcad07c77986800d623cc1a94b24a253d3205b9ea +DIST pyspnego-0.5.0.tar.gz 325693 BLAKE2B 7674f498624e9b3c463db9ee60e9c5edf84cefd3642c9fe2cf0df58364c96b0643cf962d00edf1a6be9d8452e344e920cc1edec70bc39e8f65a6428204c36328 SHA512 4abb5726f9432366453069d32344b2be2169301cb0a6f96bcaac3f49f807c2ba819ad85a50f7979e920ddf3a4dcd13f6fc868e8d72c3c00cd3b9ffc97692b4c8 diff --git a/dev-python/pyspnego/pyspnego-0.5.0.ebuild b/dev-python/pyspnego/pyspnego-0.5.0.ebuild new file mode 100644 index 000000000000..27b39859d871 --- /dev/null +++ b/dev-python/pyspnego/pyspnego-0.5.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" +}