Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/secretstorage/
Date: Tue, 09 Feb 2021 13:14:01
Message-Id: 1612876435.78f21ac38f8a7fcdc92485c7ac654ec3fc433d13.mgorny@gentoo
1 commit: 78f21ac38f8a7fcdc92485c7ac654ec3fc433d13
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 12:54:10 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 13:13:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f21ac3
7
8 dev-python/secretstorage: Bump to 3.3.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/secretstorage/Manifest | 1 +
13 .../secretstorage/secretstorage-3.3.1.ebuild | 50 ++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/secretstorage/Manifest b/dev-python/secretstorage/Manifest
17 index 9c33b0c437f..d237b611793 100644
18 --- a/dev-python/secretstorage/Manifest
19 +++ b/dev-python/secretstorage/Manifest
20 @@ -1,2 +1,3 @@
21 DIST SecretStorage-3.2.0.tar.gz 19311 BLAKE2B 06c3d6137d814f6c2f0cd35927b84c33e09d3c934e4dabfefaa682f3b220045b223aaf06ec970ccc0d39a7388cf13579338299136d13ad2c1b57bf064c278096 SHA512 668f3847f573e1756ffa3a38c278e6d4895223553830d49969e979003d04ca04fb5eaf8dfcc616086a6020f6a73fbe71f7041d4c4ee574205f00fbde945298e9
22 DIST SecretStorage-3.3.0.tar.gz 19352 BLAKE2B 8e870d4e95b585f4c5e78d9b11327f21ff909b746f035115bd75bde499f2161c0e1ab3640b3861fc54af67dd7d305f794a855430389c207bfef129f7c0439a9e SHA512 d33c11b98824d214eb67c5b11a7fe0d14af084edfebc1d83204bcfd167258fbc07be8c1de8824ec984d83d07bfd66271c44f751784429e574cb240b5add70e16
23 +DIST SecretStorage-3.3.1.tar.gz 19566 BLAKE2B 0b1ab822ee29f3d56148b558b3029fd882f1d10ceb3e026586de2e9bc72b7ac1b35df11052117a7c07524ca72d004ef56d99c845bc3600984fe84e5300f3dfee SHA512 5e874d08c9e00626a217db96b131884daf92429a91f690b32f62052747275ad0effbe2b4abe048e67fe7f81df97507f8375408898ff986e6f883b5fdfbf2a76c
24
25 diff --git a/dev-python/secretstorage/secretstorage-3.3.1.ebuild b/dev-python/secretstorage/secretstorage-3.3.1.ebuild
26 new file mode 100644
27 index 00000000000..4a0d3fd0924
28 --- /dev/null
29 +++ b/dev-python/secretstorage/secretstorage-3.3.1.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( pypy3 python3_{7..9} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_PN="SecretStorage"
41 +
42 +DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API."
43 +HOMEPAGE="https://github.com/mitya57/secretstorage https://pypi.org/project/SecretStorage/"
44 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
45 +S="${WORKDIR}/${MY_PN}-${PV}"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
50 +
51 +RDEPEND="
52 + dev-python/cryptography[${PYTHON_USEDEP}]
53 + >=dev-python/jeepney-0.6[${PYTHON_USEDEP}]
54 +"
55 +BDEPEND="
56 + test? ( !hppa? ( !sparc? (
57 + gnome-base/gnome-keyring
58 + sys-apps/dbus
59 + ) ) )
60 +"
61 +
62 +distutils_enable_tests unittest
63 +distutils_enable_sphinx docs \
64 + dev-python/alabaster
65 +
66 +src_test() {
67 + case ${ARCH} in
68 + hppa|sparc)
69 + einfo "gnome-keyring is not supported on ${ARCH}, skipping tests"
70 + return
71 + ;;
72 + esac
73 +
74 + distutils-r1_src_test
75 +}
76 +
77 +python_test() {
78 + dbus-run-session "${EPYTHON}" -m unittest discover -v -s tests \
79 + || die "tests failed with ${EPYTHON}"
80 +}