Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fido2/
Date: Sun, 26 Feb 2023 23:32:39
Message-Id: 1677454347.9a8eb8775cb44de23f0f3157f00c3a3f7ad88b56.marecki@gentoo
1 commit: 9a8eb8775cb44de23f0f3157f00c3a3f7ad88b56
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 23:04:18 2023 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 23:32:27 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a8eb877
7
8 dev-python/fido2: EAPI bump, enable tests, py3.11 in 0.9.3
9
10 Looks like it will be a while before we can phase these old versions
11 out.
12
13 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
14
15 dev-python/fido2/fido2-0.9.3-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++
16 1 file changed, 44 insertions(+)
17
18 diff --git a/dev-python/fido2/fido2-0.9.3-r1.ebuild b/dev-python/fido2/fido2-0.9.3-r1.ebuild
19 new file mode 100644
20 index 000000000000..4d71ade46cd3
21 --- /dev/null
22 +++ b/dev-python/fido2/fido2-0.9.3-r1.ebuild
23 @@ -0,0 +1,44 @@
24 +# Copyright 1999-2023 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=8
28 +
29 +PYTHON_COMPAT=( python3_{9..11} )
30 +DISTUTILS_USE_PEP517=setuptools
31 +
32 +inherit distutils-r1
33 +
34 +DESCRIPTION="Python based FIDO 2.0 library"
35 +HOMEPAGE="https://github.com/Yubico/python-fido2"
36 +SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz"
37 +
38 +LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
39 +SLOT="0/0.9" # Bumped every time a backwards-incompatible version is released
40 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
41 +IUSE="examples"
42 +
43 +RDEPEND="
44 + dev-python/six[${PYTHON_USEDEP}]
45 + dev-python/cryptography[${PYTHON_USEDEP}]
46 + dev-python/pyscard[${PYTHON_USEDEP}]
47 + examples? (
48 + dev-python/flask[${PYTHON_USEDEP}]
49 + dev-python/pyopenssl[${PYTHON_USEDEP}]
50 + )
51 +"
52 +BDEPEND="test? (
53 + dev-python/mock[${PYTHON_USEDEP}]
54 + >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}] )
55 +"
56 +
57 +distutils_enable_tests unittest
58 +
59 +python_install_all() {
60 + distutils-r1_python_install_all
61 +
62 + if use examples; then
63 + docinto examples
64 + dodoc -r "${S}"/examples/.
65 + docompress -x "/usr/share/doc/${PF}/examples"
66 + fi
67 +}