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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A464C138359 for ; Fri, 13 Nov 2020 14:27:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0636E0802; Fri, 13 Nov 2020 14:27:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92DC8E0802 for ; Fri, 13 Nov 2020 14:27:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23463340B53 for ; Fri, 13 Nov 2020 14:27:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C7A8386 for ; Fri, 13 Nov 2020 14:27:41 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1605277381.306f70a0f64401bdb45188d982d07253df1f01ae.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/duktape-rb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/duktape-rb/duktape-rb-2.3.0.0-r1.ebuild X-VCS-Directories: dev-ruby/duktape-rb/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 306f70a0f64401bdb45188d982d07253df1f01ae X-VCS-Branch: master Date: Fri, 13 Nov 2020 14:27:41 +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: 7fc7f44d-3409-466e-985f-ae9b067dbea4 X-Archives-Hash: ebccb152c79ced1840d102c3655e879c commit: 306f70a0f64401bdb45188d982d07253df1f01ae Author: Marek Szuba gentoo org> AuthorDate: Fri Nov 13 14:23:01 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Nov 13 14:23:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306f70a0 dev-ruby/duktape-rb: add a version supporting running tests Will still keep the test-restricted one around in case it turns out keywording and stabilising dev-ruby/sdoc and its dependencies on ppc turns out to be too complex, as we need a ppc-stable version of duktape-rb rather soon. Signed-off-by: Marek Szuba gentoo.org> dev-ruby/duktape-rb/duktape-rb-2.3.0.0-r1.ebuild | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-ruby/duktape-rb/duktape-rb-2.3.0.0-r1.ebuild b/dev-ruby/duktape-rb/duktape-rb-2.3.0.0-r1.ebuild new file mode 100644 index 00000000000..24d4c00ed15 --- /dev/null +++ b/dev-ruby/duktape-rb/duktape-rb-2.3.0.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_GEMSPEC="duktape.gemspec" +RUBY_FAKEGEM_NAME="duktape" + +inherit ruby-fakegem + +MY_PN=${PN/-/\.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Ruby bindings to the Duktape JavaScript interpeter" +HOMEPAGE="https://github.com/judofyr/duktape.rb" +SRC_URI="https://github.com/judofyr/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND+="dev-lang/duktape" + +ruby_add_bdepend " + dev-ruby/rake-compiler + test? ( + dev-ruby/sdoc + )" + +RUBY_S=${MY_P} + +each_ruby_compile() { + ${RUBY} -S rake compile +}