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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 39E391580FD for ; Wed, 25 Dec 2024 15:08:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7754AE0784; Wed, 25 Dec 2024 15:08:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BB4BE0784 for ; Wed, 25 Dec 2024 15:08:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D993E33BE00 for ; Wed, 25 Dec 2024 15:08:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38BE317C2 for ; Wed, 25 Dec 2024 15:08:30 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1735139301.6e09cd758c3f2ff671b7fd695fab3b225f0c7db6.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/prism/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/prism/Manifest dev-ruby/prism/metadata.xml dev-ruby/prism/prism-1.3.0.ebuild X-VCS-Directories: dev-ruby/prism/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6e09cd758c3f2ff671b7fd695fab3b225f0c7db6 X-VCS-Branch: master Date: Wed, 25 Dec 2024 15:08:30 +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: 9f1c7ee9-5178-4d44-b8c7-a0ca1c1e2caa X-Archives-Hash: dcb238a85ef2e9f02413435ef2defa23 commit: 6e09cd758c3f2ff671b7fd695fab3b225f0c7db6 Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 25 14:15:12 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 25 15:08:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e09cd75 dev-ruby/prism: new package, add 1.3.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/prism/Manifest | 1 + dev-ruby/prism/metadata.xml | 12 ++++++++++++ dev-ruby/prism/prism-1.3.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/dev-ruby/prism/Manifest b/dev-ruby/prism/Manifest new file mode 100644 index 000000000000..71f0e7f89e07 --- /dev/null +++ b/dev-ruby/prism/Manifest @@ -0,0 +1 @@ +DIST prism-1.3.0.tar.gz 1503686 BLAKE2B 6fa7e474509debc4f7f1f5f6c96fbbfe8c57cb7e8f946e23ab64dabfbecb825164704862dc2b56e61927d5330882f735cf1e10c77287b115686f213164f6019a SHA512 b1aefaa84f03ac74edf9edb09d72a3ea680a6772cd4490692742d6679e690ad47382784e1523febc2f74d360c44cf5e9d387cf4872613503b656154645e880b5 diff --git a/dev-ruby/prism/metadata.xml b/dev-ruby/prism/metadata.xml new file mode 100644 index 000000000000..eae624ca9612 --- /dev/null +++ b/dev-ruby/prism/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby/prism + prism + + diff --git a/dev-ruby/prism/prism-1.3.0.ebuild b/dev-ruby/prism/prism-1.3.0.ebuild new file mode 100644 index 000000000000..cadb8ee377ec --- /dev/null +++ b/dev-ruby/prism/prism-1.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=( ext/prism/extconf.rb ) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/prism" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/*" +RUBY_FAKEGEM_GEMSPEC="prism.gemspec" +RUBY_FAKEGEM_RECIPE_DOC="none" + +inherit ruby-fakegem + +DESCRIPTION="Prism Ruby parser" +HOMEPAGE="https://github.com/ruby/prism" +SRC_URI="https://github.com/ruby/prism/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# all_ruby_prepare() { +# sed -e "s:_relative ':'./:" \ +# -i ${RUBY_FAKEGEM_GEMSPEC} || die +# } + +each_ruby_prepare() { + ${RUBY} -S rake templates || die +} + +# each_ruby_test() { +# ${RUBY} -Ilib:.:test/reline -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +# }