Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/typeprof/
Date: Sun, 27 Feb 2022 09:28:53
Message-Id: 1645954120.1f24bb26d711e241ab3679df348901f7c91dc30e.graaff@gentoo
1 commit: 1f24bb26d711e241ab3679df348901f7c91dc30e
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 27 08:58:52 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 09:28:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f24bb26
7
8 dev-ruby/typeprof: add 0.21.2
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/typeprof/Manifest | 1 +
14 dev-ruby/typeprof/typeprof-0.21.2.ebuild | 32 ++++++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-ruby/typeprof/Manifest b/dev-ruby/typeprof/Manifest
18 index 05b4713afa13..1061cb827a90 100644
19 --- a/dev-ruby/typeprof/Manifest
20 +++ b/dev-ruby/typeprof/Manifest
21 @@ -2,3 +2,4 @@ DIST typeprof-0.13.0.tar.gz 498218 BLAKE2B f6b8566dd25cf08952c136bf59cc7f10f0160
22 DIST typeprof-0.14.1.tar.gz 499209 BLAKE2B 5c6332f6c91ebb0fb451e108d3f4ea2523740c4097f09ccedd76821f79a9f94bf9eaba6dd0ffd6ea8e9985ec56d618c802accf08dd70c92bea860fb3729f219f SHA512 071d379b304a5b37770bc86001c3e2074f11749e439f0debf311c4afdd183814c5e168baefbe3f4866e57c3b82e3d7d006201dc1cf25c6ce924e92e61c945344
23 DIST typeprof-0.15.1.tar.gz 502007 BLAKE2B ffea92db2fd227f0632b07e086d51dc11c2cd21f737296cc3eae9839c52eaa085a383b460a88776387a58281d75b13cc62838e069fa5e8d575f443e799adead4 SHA512 281dd8ee4b5393c6ec177ce50018f95ed8aa8ba393bf1eca1b4f24d5431de38a76c3f87cc55c4546e41364cb921b707b6850c24fb727597a6d24c62785d09f06
24 DIST typeprof-0.15.2.tar.gz 501984 BLAKE2B 4139de379539dce54c350fb1da09d87ca7251274738b81b9c098f27539f8cc20757aaf053efd4c089b88a7c08050a8e612ea6c1b71ad1a007c4c634ecd6e7564 SHA512 c94b74f0a0f8f87477f80615677a5c6479d3e326564f2d67c17e4e7f7e71ef5817fe6163d14fdd45fc9bb3de2420f8b09f68f0d031962fb5bafc478679cee331
25 +DIST typeprof-0.21.2.tar.gz 1073317 BLAKE2B fda97cf6535937deca51f922f39ad580383420e025f8c5a418e483108e82f5d38063064102698f2ef405f7a0bf2f83ebcbb7ac7fabc32ead320e3af9d74b7cfb SHA512 53e9657ee0c98e131e8ec70400cb775cf643910e8985767742b50fda99285f33f787d810bcad08d9d633265577731a95fcf9a4e7568e4d6b0b603f14a6c10828
26
27 diff --git a/dev-ruby/typeprof/typeprof-0.21.2.ebuild b/dev-ruby/typeprof/typeprof-0.21.2.ebuild
28 new file mode 100644
29 index 000000000000..156427374a15
30 --- /dev/null
31 +++ b/dev-ruby/typeprof/typeprof-0.21.2.ebuild
32 @@ -0,0 +1,32 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +USE_RUBY="ruby27 ruby30"
38 +
39 +RUBY_FAKEGEM_RECIPE_DOC="none"
40 +RUBY_FAKEGEM_EXTRADOC="README.md"
41 +
42 +RUBY_FAKEGEM_BINDIR="exe"
43 +
44 +RUBY_FAKEGEM_GEMSPEC="typeprof.gemspec"
45 +
46 +inherit ruby-fakegem
47 +
48 +DESCRIPTION="Performs a type analysis of non-annotated Ruby code"
49 +HOMEPAGE="https://github.com/ruby/typeprof"
50 +SRC_URI="https://github.com/ruby/typeprof/archive/v${PV}.tar.gz -> ${P}.tar.gz"
51 +
52 +LICENSE="MIT"
53 +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"
54 +SLOT="0"
55 +IUSE="test"
56 +
57 +ruby_add_rdepend ">=dev-ruby/rbs-1.8.1"
58 +
59 +all_ruby_prepare() {
60 + # Avoid tests that download live code using git
61 + rm -r test/typeprof/{goodcheck,diff-lcs}_test.rb || die
62 +
63 + sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
64 +}