From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEE51158030 for ; Sun, 26 Feb 2023 23:32:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB378E07F9; Sun, 26 Feb 2023 23:32:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91F20E07E6 for ; Sun, 26 Feb 2023 23:32:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 949FE340E5D for ; Sun, 26 Feb 2023 23:32:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4762B8AA for ; Sun, 26 Feb 2023 23:32:35 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1677454347.9a8eb8775cb44de23f0f3157f00c3a3f7ad88b56.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fido2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/fido2/fido2-0.9.3-r1.ebuild X-VCS-Directories: dev-python/fido2/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 9a8eb8775cb44de23f0f3157f00c3a3f7ad88b56 X-VCS-Branch: master Date: Sun, 26 Feb 2023 23:32:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c6665bd-a8b1-4814-88b1-7b6e2b1a8e41 X-Archives-Hash: 4e531633c1c3973da4a149a7660ecbf6 commit: 9a8eb8775cb44de23f0f3157f00c3a3f7ad88b56 Author: Marek Szuba gentoo org> AuthorDate: Sun Feb 26 23:04:18 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Feb 26 23:32:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a8eb877 dev-python/fido2: EAPI bump, enable tests, py3.11 in 0.9.3 Looks like it will be a while before we can phase these old versions out. Signed-off-by: Marek Szuba gentoo.org> dev-python/fido2/fido2-0.9.3-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-python/fido2/fido2-0.9.3-r1.ebuild b/dev-python/fido2/fido2-0.9.3-r1.ebuild new file mode 100644 index 000000000000..4d71ade46cd3 --- /dev/null +++ b/dev-python/fido2/fido2-0.9.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Python based FIDO 2.0 library" +HOMEPAGE="https://github.com/Yubico/python-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/0.9" # Bumped every time a backwards-incompatible version is released +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyscard[${PYTHON_USEDEP}] + examples? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" +BDEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests unittest + +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 +}