commit:     3081b33e9da00a1cd6c7777b5c32ee2e366dfb48
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu May 29 01:44:49 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Thu May 29 06:24:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3081b33e

dev-db/redict: drop 7.3.2

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Bug: https://bugs.gentoo.org/954265
Part-of: https://github.com/gentoo/gentoo/pull/42315
Closes: https://github.com/gentoo/gentoo/pull/42315
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 dev-db/redict/Manifest            |   1 -
 dev-db/redict/redict-7.3.2.ebuild | 160 --------------------------------------
 2 files changed, 161 deletions(-)

diff --git a/dev-db/redict/Manifest b/dev-db/redict/Manifest
index 8ad4ae42e017..27cdd6376164 100644
--- a/dev-db/redict/Manifest
+++ b/dev-db/redict/Manifest
@@ -1,2 +1 @@
-DIST redict-7.3.2.tar.gz 3415089 BLAKE2B 
3507586d4e752e1f98755e8f0e2291ea37a27af84b7980ecde0342826dd41b46eb2f3a9ca3f0231bc49771829b7584b6f2f529ab11cb5af39ecdb3cde4f6416a
 SHA512 
fb14f9c1bb43e69f5479fd9944b2865d0696330d244b8eb88865370756f580a9e5826f9041cd91478ccfeb22ec1304ab9cdff6736e2a623e71c58e785db9eb4a
 DIST redict-7.3.3.tar.gz 3415184 BLAKE2B 
848c328725b8c07ba82e040c26edf6ba4902b6b55bc06fa3c0bb7adeb2b8f14e302f126f2759469552712e806b9bc15956d4b11ab49ac1e57223caff05e7925f
 SHA512 
7fbdee54f26d59d74bab2b9fa619cb7c0135aebb38ff891423f4963ca593e20018f9f789288eb3ebc769f02a05da3fe35033f75d42902bb99421cae5689f5e88

diff --git a/dev-db/redict/redict-7.3.2.ebuild 
b/dev-db/redict/redict-7.3.2.ebuild
deleted file mode 100644
index 002e106a3641..000000000000
--- a/dev-db/redict/redict-7.3.2.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 2024-2025 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 edo multiprocessing systemd tmpfiles toolchain-funcs
-
-DESCRIPTION="A persistent caching system, key-value, and data structures 
database"
-HOMEPAGE="https://redict.io";
-
-SRC_URI="https://codeberg.org/redict/redict/archive/${PV/_/-}.tar.gz -> 
${P}.tar.gz"
-
-S=${WORKDIR}/${PN}
-
-LICENSE="BSD Boost-1.0 LGPL-3"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64"
-IUSE="+jemalloc ssl systemd tcmalloc test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="?? ( jemalloc tcmalloc )"
-
-RDEPEND="
-       acct-group/redict
-       acct-user/redict
-       dev-libs/hiredict:0=[ssl?]
-       jemalloc? ( >=dev-libs/jemalloc-5.1:=[stats] )
-       ssl? ( dev-libs/openssl:0= )
-       systemd? ( sys-apps/systemd:= )
-       tcmalloc? ( dev-util/google-perftools )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
-       virtual/pkgconfig
-       test? (
-               dev-lang/tcl:0=
-               ssl? ( dev-tcltk/tls )
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/redict-7.3.0-config.patch
-       "${FILESDIR}"/redict-sentinel-7.3.0-config.patch
-       "${FILESDIR}"/redict-7.3.0-system-jemalloc.patch
-       "${FILESDIR}"/redict-7.3.0-system-hiredict.patch
-)
-
-src_prepare() {
-       default
-
-       # Respect user CFLAGS in bundled lua
-       sed -i '/LUA_CFLAGS/s: -O2::g' deps/Makefile || die
-}
-
-_build() {
-       tc-export AR CC RANLIB
-       local myconf=(
-               AR="${AR}"
-               CC="${CC}"
-               RANLIB="${RANLIB}"
-               CFLAGS="${CFLAGS}"
-               LDFLAGS="${LDFLAGS}"
-               V=1 # verbose
-               OPTIMIZATION=
-               DEBUG=
-               DEBUG_FLAGS=
-               BUILD_TLS=$(usex ssl)
-               USE_SYSTEMD=$(usex systemd)
-               USE_SYSTEM_HIREDICT=yes
-       )
-
-       if use jemalloc; then
-               myconf+=(
-                       MALLOC=jemalloc
-                       USE_SYSTEM_JEMALLOC=yes
-               )
-       elif use tcmalloc; then
-               myconf+=( MALLOC=tcmalloc )
-       else
-               myconf+=( MALLOC=libc )
-       fi
-
-       emake -C src "${myconf[@]}" "$@"
-}
-
-src_compile() {
-       _build
-}
-
-src_test() {
-       local runtestargs=(
-               --clients "$(makeopts_jobs)" # see bug #649868
-
-               --skiptest "Active defrag eval scripts" # see bug #851654
-               --skiptest "FUNCTION - redict version api" # test fails due to 
release mishap on 7.3.1, remove on bump
-       )
-
-       if has usersandbox ${FEATURES} || ! has userpriv ${FEATURES}; then
-               ewarn "oom-score-adj related tests will be skipped." \
-                       "They are known to fail with FEATURES usersandbox or 
-userpriv. See bug #756382."
-
-               runtestargs+=(
-                       # unit/oom-score-adj was introduced in version 6.2.0
-                       --skipunit unit/oom-score-adj # see bug #756382
-
-                       # Following test was added in version 7.0.0 to 
unit/introspection.
-                       # It also tries to adjust OOM score.
-                       --skiptest "CONFIG SET rollback on apply error"
-               )
-       fi
-
-       if use ssl; then
-               edo ./utils/gen-test-certs.sh
-               runtestargs+=( --tls )
-       fi
-
-       edo ./runtest "${runtestargs[@]}"
-}
-
-src_install() {
-       insinto /etc/redict
-       doins redict.conf sentinel.conf
-       use prefix || fowners -R redict:redict /etc/redict 
/etc/redict/{redict,sentinel}.conf
-
-       newconfd "${FILESDIR}/redict.confd" redict
-       newinitd "${FILESDIR}/redict.initd" redict
-
-       systemd_newunit "${FILESDIR}/redict.service" redict.service
-       newtmpfiles "${FILESDIR}/redict.tmpfiles" redict.conf
-
-       newconfd "${FILESDIR}/redict-sentinel.confd" redict-sentinel
-       newinitd "${FILESDIR}/redict-sentinel.initd" redict-sentinel
-
-       insinto /etc/logrotate.d/
-       newins "${FILESDIR}/redict.logrotate" "${PN}"
-
-       _build DESTDIR="${ED}" PREFIX="/usr" install
-
-       if use prefix; then
-               diropts -m0750
-       else
-               diropts -m0750 -o redict -g redict
-       fi
-       keepdir /var/{log,lib}/redict
-}
-
-pkg_postinst() {
-       tmpfiles_process redict.conf
-
-       if has_version dev-db/redis && [[ -z "${REPLACING_VERSIONS}" ]]; then
-               ewarn "Redict uses different configuration files than redis:"
-               ewarn "/etc/redict/{redict,sentinel}.conf"
-               ewarn "Please apply your changes to the new configuration 
files."
-       fi
-}

Reply via email to