diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-16 07:29:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-16 07:39:13 +0200 |
commit | 80c8e72c215d18035708ae89382e6526abe1ca5d (patch) | |
tree | 80908cfd24984724fd9ebd9c41b6a2c0ff948df7 /dev-python/keyring | |
parent | dev-python/pytools: Bump to 2021.2.8 (diff) | |
download | gentoo-80c8e72c215d18035708ae89382e6526abe1ca5d.tar.gz gentoo-80c8e72c215d18035708ae89382e6526abe1ca5d.tar.bz2 gentoo-80c8e72c215d18035708ae89382e6526abe1ca5d.zip |
dev-python/keyring: Bump to 23.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/keyring')
-rw-r--r-- | dev-python/keyring/Manifest | 1 | ||||
-rw-r--r-- | dev-python/keyring/keyring-23.1.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index 44ba7445b5cc..eaee8a2996ed 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1 +1,2 @@ DIST keyring-23.0.1.tar.gz 48614 BLAKE2B dd56b92464934a7596bba97c5a1990eb2b3bf33da2eb469aa028ad346c09fa14687cc9214cb48ed82c0f32fc4fcf779391a00a5c9fffdff25f31e7f70f2bd731 SHA512 9f779e419049aef699c67dcb93277f336a2063b42394a4ff2350b8e72b81fe6763f6a6fbe8f358e90bf31540513095e2e56b83742841ee567e5d46b91995c063 +DIST keyring-23.1.0.tar.gz 43668 BLAKE2B 7ef9a8858568ef8d0889b693cab55f7d2e61ebc3e6116b1f936c6b841ef3a50838b80d6315e5a04bee44a71b1e3bd1112d627603c8b9d113b12173d3442af776 SHA512 d3bd6c6c224a00f2d2aa0c22ec05a5e78707db37c62ed0e03d444ed94e2eee053f7eb1e4c387073753ca5c9b76a9f51d0bda8294f9ba2a326c84afd913a14293 diff --git a/dev-python/keyring/keyring-23.1.0.ebuild b/dev-python/keyring/keyring-23.1.0.ebuild new file mode 100644 index 000000000000..f815a958a2ce --- /dev/null +++ b/dev-python/keyring/keyring-23.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Provides access to the system keyring service" +HOMEPAGE="https://github.com/jaraco/keyring" +SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/secretstorage[${PYTHON_USEDEP}] + dev-python/entrypoints[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/jaraco-packaging \ + dev-python/rst-linker + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local deselect=( + # this test fails if importlib-metadata returns more than one + # entry, i.e. when keyring is installed already + tests/test_packaging.py::test_entry_point + ) + epytest --ignore tests/backends/test_kwallet.py ${deselect[@]/#/--deselect } +} |