public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Zapparov" <alexey@zapparov.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/ruby-install/
Date: Tue, 28 Dec 2021 16:51:08 +0000 (UTC)	[thread overview]
Message-ID: <1640710113.0619be5c13e016d324732047d4b0b1b66f423145.alexey@gentoo> (raw)

commit:     0619be5c13e016d324732047d4b0b1b66f423145
Author:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Tue Dec 28 16:46:32 2021 +0000
Commit:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
CommitDate: Tue Dec 28 16:48:33 2021 +0000
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 <alexey <AT> 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


             reply	other threads:[~2021-12-28 16:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28 16:51 Alexey Zapparov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-20 18:00 [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/ruby-install/ Alexey Zapparov
2023-02-20 17:59 Alexey Zapparov
2022-11-07 18:53 Alexey Zapparov
2022-11-07 18:52 Alexey Zapparov
2022-08-05  3:23 Alexey Zapparov
2022-01-02 15:48 Alexey Zapparov
2021-12-26  2:11 Alexey Zapparov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1640710113.0619be5c13e016d324732047d4b0b1b66f423145.alexey@gentoo \
    --to=alexey@zapparov.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox