mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-python/fido2: Bump to 2.2.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST fido2-0.9.3.tar.gz 217894 BLAKE2B ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b SHA512 f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e
|
||||
DIST fido2-2.1.1.tar.gz 4455940 BLAKE2B 1d45ca8b3ebd3a010c8b055b169340a2c288ed53f52d6341a3cc887b873c44d10c8734e3d908c746ea77131fb80013f94a53f7fb70702c8f51bb564ad8906657 SHA512 883cfaf0c0cd304f467fcd515417c456fde353fcd991fa6aaf74fb12ba97a378d082f2fe0ae435bcf14a8c284e0b4665c721410ad2315bc8922e2f09d16d7cac
|
||||
DIST fido2-2.2.0.tar.gz 294167 BLAKE2B 189a86d4c003b0070063fbad55f618dbd973c6e8cb701a42ed7cf5af757d1e5d69e92b17f44a180ff7a6c219332e4ac7b3288f78fc50ef398081e77a7c330048 SHA512 bd250e77ff239256240b153da61c525232bb83c056becdce588ef8c287bfccb0ebdfc6d2ac1b7f50a857abc229f9c8a46d99092d26579f68649de5cdd1e15fa2
|
||||
DIST fido2-2.2.1.tar.gz 327147 BLAKE2B 1ffd3dda46cf36ca1982d4350d5a19eb43c12f72f9241ab927da4d7c23c228160a9af735c25c3a5d711be29c6949077864509aadb7b6a45d3a97f61f0473041d SHA512 4855a73a5617debfa86eeafbfe5331af4525e4c79f7262b488596213f6eecc8b29dfe544517673bb74fd13442872f7e7b1569d75e6185a56acab8b5d74e6ad22
|
||||
|
||||
56
dev-python/fido2/fido2-2.2.1.ebuild
Normal file
56
dev-python/fido2/fido2-2.2.1.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry-core
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python based FIDO 2.0 library"
|
||||
HOMEPAGE="
|
||||
https://github.com/Yubico/python-fido2/
|
||||
https://pypi.org/project/fido2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
|
||||
SLOT="0/1.0" # Bumped every time a backwards-incompatible version is released
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
<dev-python/pyscard-3[${PYTHON_USEDEP}]
|
||||
examples? (
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# unpin
|
||||
sed -i -e '/cryptography/s:, <[0-9]*::' pyproject.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# skip device integration tests
|
||||
epytest --no-device
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r "${S}"/examples/.
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user