[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/files/, dev-ruby/ruby-install/

2024-05-26 Thread Julien Roy
commit: a929faef073604d472520b89451b890b2ea7c30b
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Sun May 26 12:50:34 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun May 26 12:50:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a929faef

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

Signed-off-by: Alexey Zapparov  zapparov.com>

 dev-ruby/ruby-install/Manifest |  4 +-
 .../files/ruby-install-0.9.1-fix-version.patch | 13 --
 dev-ruby/ruby-install/ruby-install-0.8.5.ebuild| 44 
 dev-ruby/ruby-install/ruby-install-0.9.1.ebuild| 48 --
 ...tall-0.9.0.ebuild => ruby-install-0.9.3.ebuild} |  4 +-
 5 files changed, 3 insertions(+), 110 deletions(-)

diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest
index 59455c743..885193ab4 100644
--- a/dev-ruby/ruby-install/Manifest
+++ b/dev-ruby/ruby-install/Manifest
@@ -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

diff --git a/dev-ruby/ruby-install/files/ruby-install-0.9.1-fix-version.patch 
b/dev-ruby/ruby-install/files/ruby-install-0.9.1-fix-version.patch
deleted file mode 100644
index 040452eed..0
--- a/dev-ruby/ruby-install/files/ruby-install-0.9.1-fix-version.patch
+++ /dev/null
@@ -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"
- 

diff --git a/dev-ruby/ruby-install/ruby-install-0.8.5.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.8.5.ebuild
deleted file mode 100644
index 706d5e5d2..0
--- a/dev-ruby/ruby-install/ruby-install-0.8.5.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/dev-ruby/ruby-install/ruby-install-0.9.1.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.9.1.ebuild
deleted file mode 100644
index 4e4057cef..0
--- a/dev-ruby/ruby-install/ruby-install-0.9.1.ebuild
+++ /dev/null
@@ -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"
-

[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/files/, dev-ruby/ruby-install/

2023-08-01 Thread David Roman
commit: 6284338105f1d4a476bea478f70c8289b13c79e9
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Tue Aug  1 00:23:08 2023 +
Commit: David Roman  gmail  com>
CommitDate: Tue Aug  1 00:23:20 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62843381

dev-ruby/ruby-install: add 0.9.1

Signed-off-by: Alexey Zapparov  zapparov.com>

 dev-ruby/ruby-install/Manifest |  1 +
 .../files/ruby-install-0.9.1-fix-version.patch | 13 ++
 dev-ruby/ruby-install/ruby-install-0.9.1.ebuild| 48 ++
 3 files changed, 62 insertions(+)

diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest
index 2701130057..59455c7430 100644
--- a/dev-ruby/ruby-install/Manifest
+++ b/dev-ruby/ruby-install/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/dev-ruby/ruby-install/files/ruby-install-0.9.1-fix-version.patch 
b/dev-ruby/ruby-install/files/ruby-install-0.9.1-fix-version.patch
new file mode 100644
index 00..040452eed2
--- /dev/null
+++ b/dev-ruby/ruby-install/files/ruby-install-0.9.1-fix-version.patch
@@ -0,0 +1,13 @@
+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"
+ 

diff --git a/dev-ruby/ruby-install/ruby-install-0.9.1.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.9.1.ebuild
new file mode 100644
index 00..4e4057cefa
--- /dev/null
+++ b/dev-ruby/ruby-install/ruby-install-0.9.1.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 (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
+}



[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/

2023-02-23 Thread Viorel Munteanu
commit: dabf7b535355d3fd75690c2d61994aaa98fefc34
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Mon Feb 20 18:00:09 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Feb 20 18:00:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dabf7b53

dev-ruby/ruby-install: drop 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 deletions(-)

diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest
index 534467661..270113005 100644
--- a/dev-ruby/ruby-install/Manifest
+++ b/dev-ruby/ruby-install/Manifest
@@ -1,3 +1,2 @@
-DIST ruby-install-0.8.4.tar.gz 32652 BLAKE2B 
e863645c66cc631d17a3e5c061220fd59d0b0458613d31e8db4d35fbb0beae53ccf627620b9adb08bb0db82d51bd9a54a7eb96079fc3e6604c32d9b7dc219f3d
 SHA512 
9d7157ab73689a7024efae104f6fd244c019c56d5e27573151818dd72f07855f9785b2ddba9c83a413ddcd92a565893373ca545c486c59b4fa408f349d4c7f48
 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

diff --git a/dev-ruby/ruby-install/ruby-install-0.8.4.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.8.4.ebuild
deleted file mode 100644
index 706d5e5d2..0
--- a/dev-ruby/ruby-install/ruby-install-0.8.4.ebuild
+++ /dev/null
@@ -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
-}



[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/

2022-08-07 Thread Haelwenn Monnier
commit: 0fe03346a296280de2f9673ab52fdc1d29d48c72
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Fri Aug  5 03:22:21 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Aug  5 03:22:21 2022 +
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 0..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
+}



[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/

2022-01-02 Thread Andrew Ammerlaan
commit: 35a714d90af04df573786ce35f5501ee5e7c11ba
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Sun Jan  2 15:45:32 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan  2 15:45:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35a714d9

dev-ruby/ruby-install: fix 0.8.3-r2

Fix Makefile's version to include Gentoo ebuild revision.

Closes: https://bugs.gentoo.org/830341
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov  zapparov.com>

 ...ruby-install-0.8.3-r1.ebuild => ruby-install-0.8.3-r2.ebuild} | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild
similarity index 81%
rename from dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
rename to dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild
index 1c97407cc..46ccb1fad 100644
--- a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
+++ b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,6 +31,13 @@ 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
 }



[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/

2021-12-30 Thread Florian Schmaus
commit: 0619be5c13e016d324732047d4b0b1b66f423145
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Tue Dec 28 16:46:32 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Dec 28 16:48:33 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0619be5c

dev-ruby/ruby-install: Fix QA violations

Bug: https://bugs.gentoo.org/830151
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov  zapparov.com>

 ...{ruby-install-0.8.3.ebuild => ruby-install-0.8.3-r1.ebuild} | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
similarity index 77%
rename from dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
rename to dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
index 90514191e..1c97407cc 100644
--- a/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
+++ b/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
@@ -10,6 +10,10 @@ 
SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+PROPERTIES="test_network"
+RESTRICT="!test? ( test )"
 
 DEPEND=">=app-shells/bash-3.0:*"
 RDEPEND="${DEPEND}
@@ -20,6 +24,12 @@ RDEPEND="${DEPEND}
app-arch/bzip2
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_install() {
emake DESTDIR="${D}" PREFIX="/usr" install



[gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/

2021-12-27 Thread Florian Schmaus
commit: dc5b4410bff004c578587b5eaa11138de52a6c6f
Author: Alexey Zapparov  zapparov  com>
AuthorDate: Sun Dec 26 02:10:39 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Dec 26 02:10:39 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc5b4410

dev-ruby/ruby-install: add v0.8.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov  zapparov.com>

 dev-ruby/ruby-install/Manifest  |  1 +
 dev-ruby/ruby-install/metadata.xml  | 13 +
 dev-ruby/ruby-install/ruby-install-0.8.3.ebuild | 26 +
 3 files changed, 40 insertions(+)

diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest
new file mode 100644
index 0..0a6371c85
--- /dev/null
+++ b/dev-ruby/ruby-install/Manifest
@@ -0,0 +1 @@
+DIST ruby-install-0.8.3.tar.gz 32381 BLAKE2B 
fd2c15333e571881d9a6be67c2b968f81bd8b2d2025972dd502df35b4ce1b2a5dbfbac29327d2dfa83b779f923342c23c30423455c202a0978581ab71291ce22
 SHA512 
1fdd44b709a7d2eaae4b1ebf7a08381c565d7656d52cf69b98b0e00d383b39c7776848f7acd5f5f79f1a9ad935907e230c256b7cdf46714fddd9a8cfac418c9a

diff --git a/dev-ruby/ruby-install/metadata.xml 
b/dev-ruby/ruby-install/metadata.xml
new file mode 100644
index 0..172ff1966
--- /dev/null
+++ b/dev-ruby/ruby-install/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ale...@zapparov.com
+   Alexey Zapparov
+   
+   
+   
https://github.com/postmodern/ruby-install/issues
+   
https://github.com/postmodern/ruby-install/blob/master/ChangeLog.md
+   postmodern/ruby-install
+   
+

diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild 
b/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
new file mode 100644
index 0..90514191e
--- /dev/null
+++ b/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021 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"
+
+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
+   sys-devel/patch
+   || ( >=sys-devel/gcc-4.2 sys-devel/clang )"
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX="/usr" install
+}