| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.1.1 | 8 | ~amd64 | 0 |
# 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 optfeature
MY_PN="${PN}-py"
DESCRIPTION="The Python interface to the Valkey key-value store"
HOMEPAGE="https://github.com/valkey-io/valkey-py"
SRC_URI="https://github.com/valkey-io/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
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
}
test? ( dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/libvalkey[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | valkey-6.1.1.gh.tar.gz | 4806942 bytes | https://github.com/valkey-io/valkey-py/archive/v6.1.1.tar.gz |