1 |
commit: 9ac6bd563d6c1bcc36735ad85e181757ddd2adde |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 26 12:11:35 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 12:17:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac6bd56 |
7 |
|
8 |
dev-python/requests-kerberos: Migrate to PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../requests-kerberos-0.14.0-r1.ebuild | 32 ++++++++++++++++++++++ |
13 |
1 file changed, 32 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 000000000000..61a177448944 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild |
20 |
@@ -0,0 +1,32 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+HOMEPAGE="https://github.com/requests/requests-kerberos/" |
32 |
+DESCRIPTION="A Kerberos authentication handler for python-requests" |
33 |
+SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="ISC" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
41 |
+ >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] |
42 |
+ dev-python/pyspnego[${PYTHON_USEDEP}] |
43 |
+ dev-python/gssapi[${PYTHON_USEDEP}] |
44 |
+ dev-python/krb5[${PYTHON_USEDEP}] |
45 |
+" |
46 |
+BDEPEND=" |
47 |
+ test? ( |
48 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
49 |
+ ) |
50 |
+" |
51 |
+ |
52 |
+distutils_enable_tests pytest |