# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # N.B.: It is no clue in porting to Lua eclasses, as upstream have deviated # too far from vanilla Lua, adding their own APIs like lua_enablereadonlytable inherit autotools edo multiprocessing systemd tmpfiles toolchain-funcs DESCRIPTION="A persistent caching system, key-value, and data structures database" HOMEPAGE=" https://redis.io https://github.com/redis/redis " SRC_URI=" https://github.com/redis/redis/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz " LICENSE="|| ( AGPL-3 RSAL-2 SSPL-1 ) Boost-1.0 MIT" SLOT="0/$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="selinux ssl systemd tcmalloc test" RESTRICT="!test? ( test )" # We use the bundled jemalloc because it has been modified to support active defragmentation. DEPEND=" ssl? ( dev-libs/openssl:0= ) systemd? ( sys-apps/systemd:= ) tcmalloc? ( dev-util/google-perftools ) " RDEPEND=" ${DEPEND} acct-group/redis acct-user/redis selinux? ( sec-policy/selinux-redis ) " BDEPEND=" acct-group/redis acct-user/redis virtual/pkgconfig test? ( dev-lang/tcl:0= ssl? (