dev-python/keyring: Bump to 23.1.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-08-16 07:29:29 +02:00
parent 8772ee1ec6
commit 80c8e72c21
2 changed files with 43 additions and 0 deletions

View File

@@ -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

View File

@@ -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 }
}