mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-07 06:02:58 -04:00
dev-ruby/ruby-install: treeclean
Closes: https://bugs.gentoo.org/932823 (pkgremoved) Signed-off-by: David Roman <stkw0@disroot.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST ruby-install-0.10.2.tar.gz 43661 BLAKE2B 249573d18029e54c69701a9a0eb7735b402fb94a40c3f797f0c107160dd96474a92d9b88fa8a20b6ed26296b59712f6e4062569eee82bb8864419f4b589b4032 SHA512 74b959b234794510ad0eb20906009ecee2a764fc5ee86e4d4962bdc9eee1b134c5d8b2606b1b71c7ae36ac3deed353469808f230726d01ebc97bc6cfcb04d20c
|
||||
DIST ruby-install-0.9.3.tar.gz 39008 BLAKE2B aa498ec23eb96f1732e4b46b286939e9f39e632d1215e70bdcbc4ae05d2e490711ba4f9ae2766af4bb068e5ed9dbb041f118ff8fd4b6fb430294f5d7c84cf417 SHA512 4c9576ba5a825b696d4586034110adabbb687a8cefb27ade2d2129a23463ea7d9c01372c92395a1fcc2d35655a0d5f708a9d1368ee33051add602a8676da3c9e
|
||||
@@ -1,33 +0,0 @@
|
||||
From e764a1d64e6d6b4cd0552832405bf4494eb96834 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Zapparov <alexey@zapparov.com>
|
||||
Date: Mon, 20 Apr 2026 00:24:55 +0200
|
||||
Subject: [PATCH] fix: Skip dependencies tests
|
||||
|
||||
ruby-install does not support `emerge` package manager,
|
||||
thus `dependencies` are never set by default.
|
||||
---
|
||||
test/ruby-install-tests/init_test.sh | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/test/ruby-install-tests/init_test.sh b/test/ruby-install-tests/init_test.sh
|
||||
index 4eab55a..14c3d40 100755
|
||||
--- a/test/ruby-install-tests/init_test.sh
|
||||
+++ b/test/ruby-install-tests/init_test.sh
|
||||
@@ -69,10 +69,14 @@ function test_init_with_ruby_url()
|
||||
|
||||
function test_init_ruby_dependencies()
|
||||
{
|
||||
init
|
||||
|
||||
+ if [[ -z "$package_manager" ]]; then
|
||||
+ startSkipping
|
||||
+ fi
|
||||
+
|
||||
assertTrue "did not set \$ruby_dependencies" \
|
||||
'(( ${#ruby_dependencies[@]} > 0 ))'
|
||||
}
|
||||
|
||||
function test_init_ruby_md5()
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/postmodern/ruby-install/issues</bugs-to>
|
||||
<changelog>https://github.com/postmodern/ruby-install/blob/master/ChangeLog.md</changelog>
|
||||
<remote-id type="github">postmodern/ruby-install</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Installs Ruby, JRuby, Rubinius, TruffleRuby, or MRuby."
|
||||
HOMEPAGE="https://github.com/postmodern/ruby-install"
|
||||
SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=app-shells/bash-3.0:*"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/grep
|
||||
|| ( >net-misc/wget-1.12 net-misc/curl )
|
||||
dev-libs/openssl
|
||||
app-arch/tar
|
||||
app-arch/bzip2
|
||||
app-arch/xz-utils
|
||||
sys-devel/patch
|
||||
|| ( >=sys-devel/gcc-4.2 llvm-core/clang )"
|
||||
BDEPEND="test? ( dev-util/shunit2 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-skip-dependencies-tests.patch"
|
||||
)
|
||||
|
||||
# BUG: `make check` fails: https://github.com/postmodern/ruby-install/issues/442
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i Makefile -e "s/^VERSION=${PV}$/VERSION=${PVR}/" \
|
||||
|| die "Cannot fix doc location to follow Gentoo/FHS guidelines"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Installs Ruby, JRuby, Rubinius, TruffleRuby, or MRuby."
|
||||
HOMEPAGE="https://github.com/postmodern/ruby-install"
|
||||
SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=app-shells/bash-3.0:*"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/grep
|
||||
|| ( >net-misc/wget-1.12 net-misc/curl )
|
||||
dev-libs/openssl
|
||||
app-arch/tar
|
||||
app-arch/bzip2
|
||||
app-arch/xz-utils
|
||||
sys-devel/patch
|
||||
|| ( >=sys-devel/gcc-4.2 llvm-core/clang )"
|
||||
BDEPEND="test? ( dev-util/shunit2 )"
|
||||
|
||||
# BUG: `make check` fails: https://github.com/postmodern/ruby-install/issues/442
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i Makefile -e "s/^VERSION=${PV}$/VERSION=${PVR}/" \
|
||||
|| die "Cannot fix doc location to follow Gentoo/FHS guidelines"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
}
|
||||
@@ -56,11 +56,6 @@ dev-util/rye
|
||||
# Removal after 2026-06-18
|
||||
app-admin/aws-vault
|
||||
|
||||
# Alexey Zapparov <alexey@zapparov.com> (2026-05-18)
|
||||
# https://bugs.gentoo.org/932823
|
||||
# Removal after 2026-06-18
|
||||
dev-ruby/ruby-install
|
||||
|
||||
# Alexey Zapparov <alexey@zapparov.com> (2026-05-18)
|
||||
# https://bugs.gentoo.org/939886
|
||||
# https://bugs.gentoo.org/974570
|
||||
|
||||
Reference in New Issue
Block a user