dev-ruby/ruby-install: add 0.9.3, drop old ones

Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
Alexey Zapparov committed 2024-05-26 14:50:34 +02:00
1 parent 749a583965
commit a929faef07
5 files changed
+3 -110

No files matched your search

+1 -3
View File
@@ -1,3 +1 @@
DIST ruby-install-0.8.5.tar.gz 32904 BLAKE2B 6128d489c53c02b53b96f243a7c5fd3de2a360eac8ed7873c89cfafb229e611f77f3275e66bb1aef0ccad772029f7727c0e4a62c6dc74ec1780c7badd219cc52 SHA512 4f5546652e741eb4b1b72780a73e0b41b8bd212dd979e31124b8a1a96e9bbebdcb7951da20768b992776206a446b489214f2b1261255855760e2e3477118f8d7
DIST ruby-install-0.9.0.tar.gz 34536 BLAKE2B de44b380b47f1c194bd9c39e43527c48b61f051bc126b051d87ce23db7d5ed3c6f46a97ff454e847a47fe16535c15d5903839f07ed30446f0b2f0d063364961b SHA512 d40195519d4d49749e13fb9d1c2e8f6a4c4c7b1cb4c419ce737a2dc2f7f6fb80b0783626bfe4b4bdd642a189d6fd641a5a121a4fa661e8a7539b4eefa12435ae
DIST ruby-install-0.9.1.tar.gz 35732 BLAKE2B b61d882d9f7a1c8e07b0b094689f6606f1a80fd03f334b2d6365e0a9b18a0ca6829ef0db009fa783821cfb58a13dc130d96a280775027a7d901eb599f0900b34 SHA512 48fdc6904b5ab7f4cb6f18385432edade88bf2f388ef167ab2752b51841a481fc0f1b735169b6ef50f2dd070e1e59c28d21c7a4aa8dabe292a668b5d41db52a7
DIST ruby-install-0.9.3.tar.gz 39008 BLAKE2B aa498ec23eb96f1732e4b46b286939e9f39e632d1215e70bdcbc4ae05d2e490711ba4f9ae2766af4bb068e5ed9dbb041f118ff8fd4b6fb430294f5d7c84cf417 SHA512 4c9576ba5a825b696d4586034110adabbb687a8cefb27ade2d2129a23463ea7d9c01372c92395a1fcc2d35655a0d5f708a9d1368ee33051add602a8676da3c9e
@@ -1,13 +0,0 @@
diff --git a/share/ruby-install/ruby-install.sh b/share/ruby-install/ruby-install.sh
index 976c2277..a0457d9f 100644
--- a/share/ruby-install/ruby-install.sh
+++ b/share/ruby-install/ruby-install.sh
@@ -2,7 +2,7 @@
shopt -s extglob
-ruby_install_version="0.9.0"
+ruby_install_version="0.9.1"
ruby_install_dir="${BASH_SOURCE[0]%/*}"
ruby_install_cache_dir="${XDG_CACHE_HOME:-$HOME/.cache}/ruby-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 (native / GraalVM), 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 sys-devel/clang )"
BDEPEND="test? ( dev-util/shunit2 )"
# XXX: `make check` seems to be broken (violates shellcheck tests)
src_test() {
emake test
}
src_prepare() {
default
sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \
|| die "Cannot fix doc location to follow Gentoo/FHS guidelines"
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
}
@@ -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 (native / GraalVM), 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 sys-devel/clang )"
BDEPEND="test? ( dev-util/shunit2 )"
PATCHES=(
"${FILESDIR}/${P}-fix-version.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=.\+$/VERSION=${PVR}/" \
|| die "Cannot fix doc location to follow Gentoo/FHS guidelines"
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
}
@@ -3,7 +3,7 @@
EAPI=8
DESCRIPTION="Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby."
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"
@@ -35,7 +35,7 @@ src_test() {
src_prepare() {
default
sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \
sed -i Makefile -e "s/^VERSION=${PV}$/VERSION=${PVR}/" \
|| die "Cannot fix doc location to follow Gentoo/FHS guidelines"
}