diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-09 13:54:10 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-09 14:13:55 +0100 |
commit | 78f21ac38f8a7fcdc92485c7ac654ec3fc433d13 (patch) | |
tree | 34f829ffcd2f6d5532999f67a2ca3432a5fc6dd2 /dev-python/secretstorage | |
parent | dev-python/pycryptodome: Bump to 3.10.1 (diff) | |
download | gentoo-78f21ac38f8a7fcdc92485c7ac654ec3fc433d13.tar.gz gentoo-78f21ac38f8a7fcdc92485c7ac654ec3fc433d13.tar.bz2 gentoo-78f21ac38f8a7fcdc92485c7ac654ec3fc433d13.zip |
dev-python/secretstorage: Bump to 3.3.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/secretstorage')
-rw-r--r-- | dev-python/secretstorage/Manifest | 1 | ||||
-rw-r--r-- | dev-python/secretstorage/secretstorage-3.3.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/secretstorage/Manifest b/dev-python/secretstorage/Manifest index 9c33b0c437f7..d237b6117937 100644 --- a/dev-python/secretstorage/Manifest +++ b/dev-python/secretstorage/Manifest @@ -1,2 +1,3 @@ DIST SecretStorage-3.2.0.tar.gz 19311 BLAKE2B 06c3d6137d814f6c2f0cd35927b84c33e09d3c934e4dabfefaa682f3b220045b223aaf06ec970ccc0d39a7388cf13579338299136d13ad2c1b57bf064c278096 SHA512 668f3847f573e1756ffa3a38c278e6d4895223553830d49969e979003d04ca04fb5eaf8dfcc616086a6020f6a73fbe71f7041d4c4ee574205f00fbde945298e9 DIST SecretStorage-3.3.0.tar.gz 19352 BLAKE2B 8e870d4e95b585f4c5e78d9b11327f21ff909b746f035115bd75bde499f2161c0e1ab3640b3861fc54af67dd7d305f794a855430389c207bfef129f7c0439a9e SHA512 d33c11b98824d214eb67c5b11a7fe0d14af084edfebc1d83204bcfd167258fbc07be8c1de8824ec984d83d07bfd66271c44f751784429e574cb240b5add70e16 +DIST SecretStorage-3.3.1.tar.gz 19566 BLAKE2B 0b1ab822ee29f3d56148b558b3029fd882f1d10ceb3e026586de2e9bc72b7ac1b35df11052117a7c07524ca72d004ef56d99c845bc3600984fe84e5300f3dfee SHA512 5e874d08c9e00626a217db96b131884daf92429a91f690b32f62052747275ad0effbe2b4abe048e67fe7f81df97507f8375408898ff986e6f883b5fdfbf2a76c diff --git a/dev-python/secretstorage/secretstorage-3.3.1.ebuild b/dev-python/secretstorage/secretstorage-3.3.1.ebuild new file mode 100644 index 000000000000..4a0d3fd09248 --- /dev/null +++ b/dev-python/secretstorage/secretstorage-3.3.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +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 ~ia64 ~ppc ~ppc64 ~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}" +} |