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 25F7C15808D for ; Wed, 20 Apr 2022 07:47:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD14BE0943; Wed, 20 Apr 2022 07:47:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 91122E08F4 for ; Wed, 20 Apr 2022 07:47:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 825D934171B for ; Wed, 20 Apr 2022 07:47:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7EBC3FB for ; Wed, 20 Apr 2022 07:47:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1650440837.0aebbd4c20a64525bca626e6efcdbab4e55728f5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/secretstorage/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/secretstorage/Manifest dev-python/secretstorage/secretstorage-3.3.2.ebuild X-VCS-Directories: dev-python/secretstorage/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0aebbd4c20a64525bca626e6efcdbab4e55728f5 X-VCS-Branch: master Date: Wed, 20 Apr 2022 07:47:39 +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: 88ccc8dd-7d54-440b-9608-834d14d3c273 X-Archives-Hash: b1a80983c5c0456c710ea3d11f23a1c6 commit: 0aebbd4c20a64525bca626e6efcdbab4e55728f5 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 20 07:34:02 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 20 07:47:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aebbd4c dev-python/secretstorage: Bump to 3.3.2 Signed-off-by: Michał Górny gentoo.org> dev-python/secretstorage/Manifest | 1 + .../secretstorage/secretstorage-3.3.2.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/secretstorage/Manifest b/dev-python/secretstorage/Manifest index 5e3b4b0f85c8..936689d80892 100644 --- a/dev-python/secretstorage/Manifest +++ b/dev-python/secretstorage/Manifest @@ -1 +1,2 @@ DIST SecretStorage-3.3.1.tar.gz 19566 BLAKE2B 0b1ab822ee29f3d56148b558b3029fd882f1d10ceb3e026586de2e9bc72b7ac1b35df11052117a7c07524ca72d004ef56d99c845bc3600984fe84e5300f3dfee SHA512 5e874d08c9e00626a217db96b131884daf92429a91f690b32f62052747275ad0effbe2b4abe048e67fe7f81df97507f8375408898ff986e6f883b5fdfbf2a76c +DIST SecretStorage-3.3.2.tar.gz 19285 BLAKE2B 17089e61a9549f4547faa8c6f7f711f5e4b3ba9ac0bf7787c3384d4920c5cd02704bab86fd4b7abe4ad9b93098b1668cf89901f4a0760023e274c8daf009d5a4 SHA512 f04a35925f86fec25435554083ac0d4b21b88cbc19b67a4c744247e659bc767675a52d18b33be557e99593922aecb0c261ec40803c61e089ff35b6c8b541ac63 diff --git a/dev-python/secretstorage/secretstorage-3.3.2.ebuild b/dev-python/secretstorage/secretstorage-3.3.2.ebuild new file mode 100644 index 000000000000..25280f6334e9 --- /dev/null +++ b/dev-python/secretstorage/secretstorage-3.3.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +MY_PN="SecretStorage" + +DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API" +HOMEPAGE=" + https://github.com/mitya57/secretstorage/ + https://pypi.org/project/SecretStorage/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/jeepney-0.6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + !hppa? ( !sparc? ( + gnome-base/gnome-keyring + sys-apps/dbus + ) + ) ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + dev-python/alabaster + +src_test() { + case ${ARCH} in + hppa|sparc) + einfo "gnome-keyring is not supported on ${ARCH}, skipping tests" + return + ;; + esac + + distutils-r1_src_test +} + +python_test() { + dbus-run-session "${EPYTHON}" -m unittest discover -v -s tests \ + || die "tests failed with ${EPYTHON}" +}