commit:     26d76e2bf9d61282b615b2a1a24d809b3f94c575
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 04:50:45 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 04:50:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d76e2b

dev-ruby/typeprof: add 0.21.3

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/typeprof/Manifest               |  1 +
 dev-ruby/typeprof/typeprof-0.21.3.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/typeprof/Manifest b/dev-ruby/typeprof/Manifest
index eb6133c7c116..c0f0a4988742 100644
--- a/dev-ruby/typeprof/Manifest
+++ b/dev-ruby/typeprof/Manifest
@@ -1,2 +1,3 @@
 DIST typeprof-0.15.2.tar.gz 501984 BLAKE2B 
4139de379539dce54c350fb1da09d87ca7251274738b81b9c098f27539f8cc20757aaf053efd4c089b88a7c08050a8e612ea6c1b71ad1a007c4c634ecd6e7564
 SHA512 
c94b74f0a0f8f87477f80615677a5c6479d3e326564f2d67c17e4e7f7e71ef5817fe6163d14fdd45fc9bb3de2420f8b09f68f0d031962fb5bafc478679cee331
 DIST typeprof-0.21.2.tar.gz 1073317 BLAKE2B 
fda97cf6535937deca51f922f39ad580383420e025f8c5a418e483108e82f5d38063064102698f2ef405f7a0bf2f83ebcbb7ac7fabc32ead320e3af9d74b7cfb
 SHA512 
53e9657ee0c98e131e8ec70400cb775cf643910e8985767742b50fda99285f33f787d810bcad08d9d633265577731a95fcf9a4e7568e4d6b0b603f14a6c10828
+DIST typeprof-0.21.3.tar.gz 1073355 BLAKE2B 
e8fa905b69f30b8f9884bae6b9600f802d0f0055f61f4a619768bf37547049fba97b8670cad9cdaeec9aa44519ae28bb13b8b0f533ff4d89e892e1726b56f7ff
 SHA512 
ac9f0be4025181b994568e946591ddca4d0e4bb1949ba84d1920d765ba4549212e3fc4c10904ed691ecdbb153cd1b494f51065fcfddc4cb3c72ff5b393aa7c62

diff --git a/dev-ruby/typeprof/typeprof-0.21.3.ebuild 
b/dev-ruby/typeprof/typeprof-0.21.3.ebuild
new file mode 100644
index 000000000000..e32717b894fb
--- /dev/null
+++ b/dev-ruby/typeprof/typeprof-0.21.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINDIR="exe"
+
+RUBY_FAKEGEM_GEMSPEC="typeprof.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Performs a type analysis of non-annotated Ruby code"
+HOMEPAGE="https://github.com/ruby/typeprof";
+SRC_URI="https://github.com/ruby/typeprof/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/rbs-1.8.1"
+
+all_ruby_prepare() {
+       # Avoid tests that download live code using git
+       rm -r test/typeprof/{goodcheck,diff-lcs}_test.rb || die
+
+       sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' 
${RUBY_FAKEGEM_GEMSPEC} || die
+}

Reply via email to