commit: 9ac6bd563d6c1bcc36735ad85e181757ddd2adde Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 26 12:11:35 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 26 12:17:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac6bd56
dev-python/requests-kerberos: Migrate to PEP517 build Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../requests-kerberos-0.14.0-r1.ebuild | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild new file mode 100644 index 000000000000..61a177448944 --- /dev/null +++ b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-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 + +HOMEPAGE="https://github.com/requests/requests-kerberos/" +DESCRIPTION="A Kerberos authentication handler for python-requests" +SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] + dev-python/pyspnego[${PYTHON_USEDEP}] + dev-python/gssapi[${PYTHON_USEDEP}] + dev-python/krb5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest