diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-21 11:22:54 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-21 11:22:54 +0000 |
| commit | 7a9d8caa231727ec9a1f2581be86973de06b58e4 (patch) | |
| tree | 92c3e6531886344e09adec726b34a80f6375c790 /dev-ruby/ruby-install | |
| parent | 2ba9a1319f58c25dfe0d28321e8be53e667f94ac (diff) | |
| download | baldeagleos-repo-7a9d8caa231727ec9a1f2581be86973de06b58e4.tar.gz baldeagleos-repo-7a9d8caa231727ec9a1f2581be86973de06b58e4.tar.xz baldeagleos-repo-7a9d8caa231727ec9a1f2581be86973de06b58e4.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/ruby-install')
| -rw-r--r-- | dev-ruby/ruby-install/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/ruby-install/files/ruby-install-0.10.2-skip-dependencies-tests.patch | 33 | ||||
| -rw-r--r-- | dev-ruby/ruby-install/ruby-install-0.10.2.ebuild | 48 |
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest index 885193ab4014..1f83b0c27220 100644 --- a/dev-ruby/ruby-install/Manifest +++ b/dev-ruby/ruby-install/Manifest @@ -1 +1,2 @@ +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 diff --git a/dev-ruby/ruby-install/files/ruby-install-0.10.2-skip-dependencies-tests.patch b/dev-ruby/ruby-install/files/ruby-install-0.10.2-skip-dependencies-tests.patch new file mode 100644 index 000000000000..bc2a8003673a --- /dev/null +++ b/dev-ruby/ruby-install/files/ruby-install-0.10.2-skip-dependencies-tests.patch @@ -0,0 +1,33 @@ +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 + diff --git a/dev-ruby/ruby-install/ruby-install-0.10.2.ebuild b/dev-ruby/ruby-install/ruby-install-0.10.2.ebuild new file mode 100644 index 000000000000..a09b2ec8cf84 --- /dev/null +++ b/dev-ruby/ruby-install/ruby-install-0.10.2.ebuild @@ -0,0 +1,48 @@ +# 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 +} |
