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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C67D158086 for ; Tue, 28 Dec 2021 16:51:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 102B02BC02C; Tue, 28 Dec 2021 16:51:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 8D9292BC02A for ; Tue, 28 Dec 2021 16:51:11 +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 EBC0A342E02 for ; Tue, 28 Dec 2021 16:51:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 521F11CE for ; Tue, 28 Dec 2021 16:51:08 +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: <1640710113.0619be5c13e016d324732047d4b0b1b66f423145.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/ruby-install-0.8.3-r1.ebuild dev-ruby/ruby-install/ruby-install-0.8.3.ebuild X-VCS-Directories: dev-ruby/ruby-install/ X-VCS-Committer: alexey X-VCS-Committer-Name: Alexey Zapparov X-VCS-Revision: 0619be5c13e016d324732047d4b0b1b66f423145 X-VCS-Branch: dev Date: Tue, 28 Dec 2021 16:51:08 +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: 69d8b7cb-2612-44ab-8541-d3513baa11fc X-Archives-Hash: 1f1100bdd1a20c005c9fe1fc8ef0415e commit: 0619be5c13e016d324732047d4b0b1b66f423145 Author: Alexey Zapparov zapparov com> AuthorDate: Tue Dec 28 16:46:32 2021 +0000 Commit: Alexey Zapparov zapparov 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 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