mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/hiredis: treeclean
Closes: https://bugs.gentoo.org/738692 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST hiredis-rb-0.6.3.tar.gz 19106 BLAKE2B 2892fd28bf7e7edfc3563a0c321fd781baeca9eb31a64dd559a6c828bb9c4fe37c995748782c5222db46b5b35a4d17f5b8b4d8e5306209a0e374ec7096d3cd4b SHA512 3e081d46aeb128789fa41fe9422186dd30e88c5a7a3c16dfcf1a92fe7faf99cced352ea39a885785fc12f0a974625be329d9ff2a5936a786febe8a2c81f5e139
|
||||
@@ -1,20 +0,0 @@
|
||||
--- a/ext/hiredis_ext/extconf.rb
|
||||
+++ b/ext/hiredis_ext/extconf.rb
|
||||
@@ -27,15 +27,8 @@
|
||||
end
|
||||
|
||||
if build_hiredis
|
||||
- # Make sure hiredis is built...
|
||||
- Dir.chdir(hiredis_dir) do
|
||||
- success = system("#{make_program} static")
|
||||
- raise "Building hiredis failed" if !success
|
||||
- end
|
||||
-
|
||||
- # Statically link to hiredis (mkmf can't do this for us)
|
||||
- $CFLAGS << " -I#{hiredis_dir}"
|
||||
- $LDFLAGS << " #{hiredis_dir}/libhiredis.a"
|
||||
+ $CFLAGS << ' ' << `${PKG_CONFIG} hiredis --cflags-only-I`.chomp
|
||||
+ $LDFLAGS << ' -lhiredis'
|
||||
|
||||
have_func("rb_thread_fd_select")
|
||||
create_makefile('hiredis/ext/hiredis_ext')
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby26 ruby27 ruby30"
|
||||
|
||||
MY_P="hiredis-rb-${PV}"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTENSIONS=(ext/hiredis_ext/extconf.rb)
|
||||
RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/hiredis/ext"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Wrapper for hiredis (protocol serialization/deserialization and blocking I/O)"
|
||||
HOMEPAGE="https://github.com/redis/hiredis-rb"
|
||||
SRC_URI="https://github.com/redis/hiredis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+=" =dev-libs/hiredis-0.14*:="
|
||||
DEPEND+=" dev-libs/hiredis:= test? ( dev-ruby/test-unit:2 )"
|
||||
DEPEND+=" virtual/pkgconfig"
|
||||
|
||||
RUBY_S="${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.6.1-unvendor-hiredis.patch" )
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "s:/tmp/:${T}/:" test/connection_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">redis/hiredis-rb</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -727,12 +727,6 @@ dev-python/pytest-toolbox
|
||||
# Removal on 2023-01-24. Bug #843344.
|
||||
app-portage/gander
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (2022-12-25)
|
||||
# Last release in 2018. Poor quality C extension code. Package
|
||||
# consistently segfaults on it tests with the latest ruby versions.
|
||||
# No reverse dependencies. Removal in 30 days.
|
||||
dev-ruby/hiredis
|
||||
|
||||
# Ionen Wolkens <ionen@gentoo.org> (2022-12-24)
|
||||
# Upstream dropped wxGTK support in >=games-emulation/pcsx2-1.7.3773,
|
||||
# and it now always requires Qt6. Masked given Qt6 is also masked in
|
||||
|
||||
Reference in New Issue
Block a user