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/keyring/
Date: Wed, 27 May 2020 07:03:26
Message-Id: 1590562996.6512bdf70dafe2ec0b86f25112c550982408e8f7.mgorny@gentoo
1 commit: 6512bdf70dafe2ec0b86f25112c550982408e8f7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 27 06:50:39 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 27 07:03:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6512bdf7
7
8 dev-python/keyring: Bump to 21.2.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/keyring/Manifest | 1 +
13 dev-python/keyring/keyring-21.2.1.ebuild | 54 ++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest
17 index ddf875dc99e..3ff4aab4a97 100644
18 --- a/dev-python/keyring/Manifest
19 +++ b/dev-python/keyring/Manifest
20 @@ -1 +1,2 @@
21 DIST keyring-19.3.0.tar.gz 43587 BLAKE2B a1003aa55ac48f39e84431c50fe3e24e1da76a0db177eed08bd2c2110b78d10cbfcf7188519435732be68452a0318119cca1563168410b16fc529a3a7e98125c SHA512 b1d26f665203b11712ef91057ecd78cce58b35038b259605c42997283f6c41449baf242ecf43510b29598559b8aecf733eb66be6e0c439564256f40eb0f6982c
22 +DIST keyring-21.2.1.tar.gz 45535 BLAKE2B b276f5b973c418794561e0d0872761847d4cb81531dde61b75439c73039f49ffc8abf679d622a9381bc6663ffc452c8b6aabc0a4c8e4cfe5ad1c63566b78082d SHA512 35869e37b234d15799907f0efd0193ab3eb9c0799a6da2d843fdad24212b4ab983658b32bd8b09b658174dcb1ddb6d70a85d0af95730d34d8c571f2ecc9a7c8b
23
24 diff --git a/dev-python/keyring/keyring-21.2.1.ebuild b/dev-python/keyring/keyring-21.2.1.ebuild
25 new file mode 100644
26 index 00000000000..1e3cfa450ea
27 --- /dev/null
28 +++ b/dev-python/keyring/keyring-21.2.1.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Provides access to the system keyring service"
41 +HOMEPAGE="https://github.com/jaraco/keyring"
42 +SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +SLOT="0"
45 +LICENSE="PSF-2"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~x86"
47 +IUSE="doc"
48 +
49 +RDEPEND="
50 + dev-python/secretstorage[${PYTHON_USEDEP}]
51 + dev-python/entrypoints[${PYTHON_USEDEP}]
52 + dev-python/jeepney[${PYTHON_USEDEP}]
53 + $(python_gen_cond_dep '
54 + dev-python/importlib_metadata[${PYTHON_USEDEP}]
55 + ' pypy3 python3_{5,6,7})
56 +"
57 +BDEPEND="
58 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
59 +"
60 +
61 +PATCHES=(
62 +# "${FILESDIR}/keyring-19.1.0-tests.patch"
63 + # https://github.com/jaraco/keyring/commit/411204df606bdf02c99f3360ec033e3c235d5f67
64 +# "${FILESDIR}/keyring-19.3.0-tests.patch"
65 +)
66 +
67 +distutils_enable_tests pytest
68 +distutils_enable_sphinx docs \
69 + dev-python/jaraco-packaging \
70 + dev-python/rst-linker
71 +
72 +python_prepare_all() {
73 + sed -i -e 's:--flake8 --black --cov::' pytest.ini || die
74 + # relies on cpython's gc behavior
75 + sed -i -e 's:test_traceback_not_referenced:_&:' \
76 + tests/test_errors.py || die
77 +
78 + rm tests/backends/test_kwallet.py || die
79 +
80 + distutils-r1_python_prepare_all
81 +
82 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
83 +}