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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B5EC1382C5 for ; Mon, 26 Apr 2021 10:56:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABC18E08C8; Mon, 26 Apr 2021 10:56:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93C9AE08C8 for ; Mon, 26 Apr 2021 10:56:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A109340ECB for ; Mon, 26 Apr 2021 10:56:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 863A371B for ; Mon, 26 Apr 2021 10:56:44 +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: <1619434291.4cf849e26979b741882c6d45cc97f23b263f3738.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/solo-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/solo-python/Manifest sys-auth/solo-python/solo-python-0.0.28.ebuild X-VCS-Directories: sys-auth/solo-python/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 4cf849e26979b741882c6d45cc97f23b263f3738 X-VCS-Branch: master Date: Mon, 26 Apr 2021 10:56:44 +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: e6d4e5f3-aac0-47ab-801f-f322319508ba X-Archives-Hash: e2a112c4c85ea1b0b3eac5e078f043d0 commit: 4cf849e26979b741882c6d45cc97f23b263f3738 Author: Marek Szuba gentoo org> AuthorDate: Mon Apr 26 10:51:04 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Apr 26 10:51:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf849e2 sys-auth/solo-python: add 0.0.28 Signed-off-by: Marek Szuba gentoo.org> sys-auth/solo-python/Manifest | 1 + sys-auth/solo-python/solo-python-0.0.28.ebuild | 34 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/sys-auth/solo-python/Manifest b/sys-auth/solo-python/Manifest index 1f33a27ac54..b6b4d04bb6b 100644 --- a/sys-auth/solo-python/Manifest +++ b/sys-auth/solo-python/Manifest @@ -1 +1,2 @@ DIST solo-python-0.0.27.tar.gz 35657 BLAKE2B 747d8849ad4bdda7c0e4b079dce2d7162f07dad4784bb941242dd8ea759cccd763537cec2c7cd9ecf6f467c771729217648b72aa36292622f5fc3adb8a0c280c SHA512 50d564916e07a0c65a843bd2d0328a735ba71eadcfc893b13fac84a3e51822ed2bf80fc3f7662943a5635c6cd6b3ded8ba5b5a9ac2282c9f9bcdfe9de191e445 +DIST solo-python-0.0.28.tar.gz 34818 BLAKE2B 788d71d2641848c0e01640a87c4b20462ba3380a9005a9ab2d4452575bd4ddb560e677538a4ba42e24f9b7f282b0f7a03ce151e2823d3613ff4f93d00bc20524 SHA512 f0af3c350554fc9724f7130566019fc0b0292cbdb9035a9afa602df12e655f63b03f966605bd4b29ee5c07b0b421e9515b7ec612411d4423940461628843716f diff --git a/sys-auth/solo-python/solo-python-0.0.28.ebuild b/sys-auth/solo-python/solo-python-0.0.28.ebuild new file mode 100644 index 00000000000..a0767f1bb32 --- /dev/null +++ b/sys-auth/solo-python/solo-python-0.0.28.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 + +DESCRIPTION="Python tool and library for SoloKeys" +HOMEPAGE="https://github.com/solokeys/solo-python" +SRC_URI="https://github.com/solokeys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/ecdsa[${PYTHON_USEDEP}] + >=dev-python/fido2-0.9.1[${PYTHON_USEDEP}] + dev-python/intelhex[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/pyusb[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" + +src_prepare() { + # For some reason the version file gets omitted by src_install (a bug in pyproject2setuppy?), + # and in any case there is no advantage to using one once a specific version has been released. + sed -i -e "s/^__version__ = open(.\+$/__version__ = '${PV}'/" solo/__init__.py || die "Failed to set the version number" + distutils-r1_src_prepare +}