From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E44A5158094 for ; Fri, 5 Aug 2022 03:23:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15DA2E0E21; Fri, 5 Aug 2022 03:23:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E886BE0E21 for ; Fri, 5 Aug 2022 03:23:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80F533411B4 for ; Fri, 5 Aug 2022 03:23:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A246152C for ; Fri, 5 Aug 2022 03:23:19 +0000 (UTC) From: "Alexey Zapparov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Zapparov" Message-ID: <1659669741.0fe03346a296280de2f9673ab52fdc1d29d48c72.alexey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/ruby-install/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-ruby/ruby-install/Manifest dev-ruby/ruby-install/ruby-install-0.8.4.ebuild X-VCS-Directories: dev-ruby/ruby-install/ X-VCS-Committer: alexey X-VCS-Committer-Name: Alexey Zapparov X-VCS-Revision: 0fe03346a296280de2f9673ab52fdc1d29d48c72 X-VCS-Branch: dev Date: Fri, 5 Aug 2022 03:23:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6f45da1-728c-43ff-af1c-6d791a4d8202 X-Archives-Hash: 8ed3838fd2ad6cb856fc2f19a9532aa6 commit: 0fe03346a296280de2f9673ab52fdc1d29d48c72 Author: Alexey Zapparov zapparov com> AuthorDate: Fri Aug 5 03:22:21 2022 +0000 Commit: Alexey Zapparov zapparov com> CommitDate: Fri Aug 5 03:22:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fe03346 dev-ruby/ruby-install: add 0.8.4 Signed-off-by: Alexey Zapparov zapparov.com> dev-ruby/ruby-install/Manifest | 1 + dev-ruby/ruby-install/ruby-install-0.8.4.ebuild | 44 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest index 0a6371c85..49a69c0e8 100644 --- a/dev-ruby/ruby-install/Manifest +++ b/dev-ruby/ruby-install/Manifest @@ -1 +1,2 @@ DIST ruby-install-0.8.3.tar.gz 32381 BLAKE2B fd2c15333e571881d9a6be67c2b968f81bd8b2d2025972dd502df35b4ce1b2a5dbfbac29327d2dfa83b779f923342c23c30423455c202a0978581ab71291ce22 SHA512 1fdd44b709a7d2eaae4b1ebf7a08381c565d7656d52cf69b98b0e00d383b39c7776848f7acd5f5f79f1a9ad935907e230c256b7cdf46714fddd9a8cfac418c9a +DIST ruby-install-0.8.4.tar.gz 32652 BLAKE2B e863645c66cc631d17a3e5c061220fd59d0b0458613d31e8db4d35fbb0beae53ccf627620b9adb08bb0db82d51bd9a54a7eb96079fc3e6604c32d9b7dc219f3d SHA512 9d7157ab73689a7024efae104f6fd244c019c56d5e27573151818dd72f07855f9785b2ddba9c83a413ddcd92a565893373ca545c486c59b4fa408f349d4c7f48 diff --git a/dev-ruby/ruby-install/ruby-install-0.8.4.ebuild b/dev-ruby/ruby-install/ruby-install-0.8.4.ebuild new file mode 100644 index 000000000..706d5e5d2 --- /dev/null +++ b/dev-ruby/ruby-install/ruby-install-0.8.4.ebuild @@ -0,0 +1,44 @@ +# 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 +}