Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/
Date: Thu, 30 Dec 2021 14:34:39
Message-Id: 1640710113.0619be5c13e016d324732047d4b0b1b66f423145.flow@gentoo
1 commit: 0619be5c13e016d324732047d4b0b1b66f423145
2 Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com>
3 AuthorDate: Tue Dec 28 16:46:32 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 16:48:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0619be5c
7
8 dev-ruby/ruby-install: Fix QA violations
9
10 Bug: https://bugs.gentoo.org/830151
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>
13
14 ...{ruby-install-0.8.3.ebuild => ruby-install-0.8.3-r1.ebuild} | 10 ++++++++++
15 1 file changed, 10 insertions(+)
16
17 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
18 similarity index 77%
19 rename from dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
20 rename to dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
21 index 90514191e..1c97407cc 100644
22 --- a/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
23 +++ b/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild
24 @@ -10,6 +10,10 @@ SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P
25 LICENSE="MIT"
26 SLOT="0"
27 KEYWORDS="~amd64 ~x86"
28 +IUSE="test"
29 +
30 +PROPERTIES="test_network"
31 +RESTRICT="!test? ( test )"
32
33 DEPEND=">=app-shells/bash-3.0:*"
34 RDEPEND="${DEPEND}
35 @@ -20,6 +24,12 @@ RDEPEND="${DEPEND}
36 app-arch/bzip2
37 sys-devel/patch
38 || ( >=sys-devel/gcc-4.2 sys-devel/clang )"
39 +BDEPEND="test? ( dev-util/shunit2 )"
40 +
41 +# XXX: `make check` seems to be broken (violates shellcheck tests)
42 +src_test() {
43 + emake test
44 +}
45
46 src_install() {
47 emake DESTDIR="${D}" PREFIX="/usr" install