1 |
commit: cb6c6f7fea9a3b180630ad34c31acff87fda593a |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 26 23:23:38 2023 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 23:32:28 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb6c6f7f |
7 |
|
8 |
sys-auth/solo1: enable py3.11 |
9 |
|
10 |
Turns out it wasn't necessary for upstream to start supporting fido2-1.0 |
11 |
after all. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/897268 |
14 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
15 |
|
16 |
sys-auth/solo1/solo1-0.1.1-r1.ebuild | 39 ++++++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 39 insertions(+) |
18 |
|
19 |
diff --git a/sys-auth/solo1/solo1-0.1.1-r1.ebuild b/sys-auth/solo1/solo1-0.1.1-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 000000000000..bd6a6de61f44 |
22 |
--- /dev/null |
23 |
+++ b/sys-auth/solo1/solo1-0.1.1-r1.ebuild |
24 |
@@ -0,0 +1,39 @@ |
25 |
+# Copyright 1999-2023 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=8 |
29 |
+ |
30 |
+PYTHON_COMPAT=( python3_{9..11} ) |
31 |
+DISTUTILS_USE_PEP517=flit |
32 |
+ |
33 |
+inherit distutils-r1 |
34 |
+ |
35 |
+DESCRIPTION="CLI and Python library for SoloKeys Solo 1" |
36 |
+HOMEPAGE="https://github.com/solokeys/solo1-cli" |
37 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="Apache-2.0 MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~riscv" |
42 |
+ |
43 |
+RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}] |
44 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
45 |
+ dev-python/ecdsa[${PYTHON_USEDEP}] |
46 |
+ dev-python/fido2:0/0.9[${PYTHON_USEDEP}] |
47 |
+ dev-python/intelhex[${PYTHON_USEDEP}] |
48 |
+ dev-python/pyserial[${PYTHON_USEDEP}] |
49 |
+ dev-python/pyusb[${PYTHON_USEDEP}] |
50 |
+ dev-python/requests[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+pkg_postinst() { |
53 |
+ if [[ -n ${REPLACING_VERSIONS} ]]; then |
54 |
+ local ver |
55 |
+ for ver in ${REPLACING_VERSIONS}; do |
56 |
+ if ver_test ${ver} -lt 0.1.1; then |
57 |
+ ewarn "Note that since version 0.1.1 the CLI executable is called '${PN}' rather than 'solo'" |
58 |
+ ewarn "The old name can still be used for now but is deprecated" |
59 |
+ break |
60 |
+ fi |
61 |
+ done |
62 |
+ fi |
63 |
+} |