dev-python/valkey - 9999 (nest)

Search

Package Information

Description:
The Python interface to the Valkey key-value store
Homepage:
https://github.com/valkey-io/valkey-py
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 git-r3 optfeature

DESCRIPTION="The Python interface to the Valkey key-value store"
HOMEPAGE="https://github.com/valkey-io/valkey-py"
EGIT_REPO_URI="https://github.com/valkey-io/${PN}.git"

LICENSE="MIT"
SLOT="0"
RESTRICT="test" # needs valkey

BDEPEND="test? ( dev-python/cryptography[${PYTHON_USEDEP}]
		dev-python/libvalkey[${PYTHON_USEDEP}]
		dev-python/requests[${PYTHON_USEDEP}] )"

distutils_enable_tests pytest

pkg_postinst() {
	optfeature "integration with libvalkey" dev-python/libvalkey
	optfeature "integration with ocsp" dev-python/cryptography dev-python/pyopenssl dev-python/requests
}

Dependencies

BDEPEND

test? ( dev-python/cryptography[${PYTHON_USEDEP}]
		dev-python/libvalkey[${PYTHON_USEDEP}]
		dev-python/requests[${PYTHON_USEDEP}] )