aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zapparov <alexey@zapparov.com>2021-12-28 17:46:32 +0100
committerAlexey Zapparov <alexey@zapparov.com>2021-12-28 17:48:33 +0100
commit0619be5c13e016d324732047d4b0b1b66f423145 (patch)
tree348ccad7cc79d7ddb9840d25c310f8ef21a4d4b5 /dev-ruby/ruby-install
parentdev-ruby/rbspy: fix QA issues (diff)
downloadguru-0619be5c13e016d324732047d4b0b1b66f423145.tar.gz
guru-0619be5c13e016d324732047d4b0b1b66f423145.tar.bz2
guru-0619be5c13e016d324732047d4b0b1b66f423145.zip
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@zapparov.com>
Diffstat (limited to 'dev-ruby/ruby-install')
-rw-r--r--dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild (renamed from dev-ruby/ruby-install/ruby-install-0.8.3.ebuild)10
1 files changed, 10 insertions, 0 deletions
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
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