summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-17 21:24:58 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-18 06:00:28 +0200
commite1293eb43aab45c44539c94daf2d0e1165bcbcc2 (patch)
treeddcb0faabf998ea7d9a0ea36117da3f010d7b955 /dev-ruby/typeprof
parentnet-print/cups-filters: add 1.28.10 (diff)
downloadgentoo-e1293eb43aab45c44539c94daf2d0e1165bcbcc2.tar.gz
gentoo-e1293eb43aab45c44539c94daf2d0e1165bcbcc2.tar.bz2
gentoo-e1293eb43aab45c44539c94daf2d0e1165bcbcc2.zip
dev-ruby/typeprof: add 0.15.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/typeprof')
-rw-r--r--dev-ruby/typeprof/Manifest1
-rw-r--r--dev-ruby/typeprof/typeprof-0.15.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/typeprof/Manifest b/dev-ruby/typeprof/Manifest
index fe33926c9c73..3e3cb84c7a91 100644
--- a/dev-ruby/typeprof/Manifest
+++ b/dev-ruby/typeprof/Manifest
@@ -3,3 +3,4 @@ DIST typeprof-0.12.0.tar.gz 497398 BLAKE2B 149d382c5598ce3cfa023133095190e00e083
DIST typeprof-0.13.0.tar.gz 498218 BLAKE2B f6b8566dd25cf08952c136bf59cc7f10f01609d8c2e7633054892f296c6c35cc0f0121e086f465d9ee97776d803829f27895e1544772bff33e3fdb562ad0b9df SHA512 dda9b5d84a2fc6473ddf71b897e13aac9675a4e4ef5dfe71fe6929a3025ac2b3ab051a5882d936112de86ecddb96e0b665741ba08748a6d94c6540bc13c171b0
DIST typeprof-0.14.1.tar.gz 499209 BLAKE2B 5c6332f6c91ebb0fb451e108d3f4ea2523740c4097f09ccedd76821f79a9f94bf9eaba6dd0ffd6ea8e9985ec56d618c802accf08dd70c92bea860fb3729f219f SHA512 071d379b304a5b37770bc86001c3e2074f11749e439f0debf311c4afdd183814c5e168baefbe3f4866e57c3b82e3d7d006201dc1cf25c6ce924e92e61c945344
DIST typeprof-0.15.0.tar.gz 500851 BLAKE2B 7865e4f3ccde48c6c7b7d9b0e136cdd301ea018d92627eb92b8a0def5239d52f343d8b071304e09fc458b7c08c00e83a080b69c42e643d96b569e4fc6312db7a SHA512 8b2d5cf59fe4a3d80898e48eca62dab4807fb953260ee686516d7fa5d31141e29d0f01ddfa8192d8d65c6acd152be130c1cca12dd9e8794850f905b550154ac6
+DIST typeprof-0.15.1.tar.gz 502007 BLAKE2B ffea92db2fd227f0632b07e086d51dc11c2cd21f737296cc3eae9839c52eaa085a383b460a88776387a58281d75b13cc62838e069fa5e8d575f443e799adead4 SHA512 281dd8ee4b5393c6ec177ce50018f95ed8aa8ba393bf1eca1b4f24d5431de38a76c3f87cc55c4546e41364cb921b707b6850c24fb727597a6d24c62785d09f06
diff --git a/dev-ruby/typeprof/typeprof-0.15.1.ebuild b/dev-ruby/typeprof/typeprof-0.15.1.ebuild
new file mode 100644
index 000000000000..ac6c1869b325
--- /dev/null
+++ b/dev-ruby/typeprof/typeprof-0.15.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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.3.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
+}