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: Thu, 22 Jul 2021 04:45:10
Message-Id: 1626928149.1f8c09e24f0002a0675e37cf6a7945d67f1bda64.graaff@gentoo
1 commit: 1f8c09e24f0002a0675e37cf6a7945d67f1bda64
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 22 04:29:09 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 04:29:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f8c09e2
7
8 dev-ruby/typeprof: add 0.15.0
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/typeprof/Manifest | 1 +
14 dev-ruby/typeprof/typeprof-0.15.0.ebuild | 32 ++++++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-ruby/typeprof/Manifest b/dev-ruby/typeprof/Manifest
18 index 5eb1f0a93c3..fe33926c9c7 100644
19 --- a/dev-ruby/typeprof/Manifest
20 +++ b/dev-ruby/typeprof/Manifest
21 @@ -2,3 +2,4 @@ DIST typeprof-0.11.0.tar.gz 496673 BLAKE2B 215bd738a4a4b9e7de78943a944fd63dd4f16
22 DIST typeprof-0.12.0.tar.gz 497398 BLAKE2B 149d382c5598ce3cfa023133095190e00e083ac445019c4aedf59d66005db93241dacd9c724f2b62e64d02aa3d7f4a58a3fa4546256c872030687574112c7333 SHA512 a28bc10ce19f7a3afe940cb01fd443c89a87497be2be0b03d92684581c4ffdc061e8e5119652116884e4cf0e5c0ea7d9a73c0f8be2a666d6bbe71e81bada323b
23 DIST typeprof-0.13.0.tar.gz 498218 BLAKE2B f6b8566dd25cf08952c136bf59cc7f10f01609d8c2e7633054892f296c6c35cc0f0121e086f465d9ee97776d803829f27895e1544772bff33e3fdb562ad0b9df SHA512 dda9b5d84a2fc6473ddf71b897e13aac9675a4e4ef5dfe71fe6929a3025ac2b3ab051a5882d936112de86ecddb96e0b665741ba08748a6d94c6540bc13c171b0
24 DIST typeprof-0.14.1.tar.gz 499209 BLAKE2B 5c6332f6c91ebb0fb451e108d3f4ea2523740c4097f09ccedd76821f79a9f94bf9eaba6dd0ffd6ea8e9985ec56d618c802accf08dd70c92bea860fb3729f219f SHA512 071d379b304a5b37770bc86001c3e2074f11749e439f0debf311c4afdd183814c5e168baefbe3f4866e57c3b82e3d7d006201dc1cf25c6ce924e92e61c945344
25 +DIST typeprof-0.15.0.tar.gz 500851 BLAKE2B 7865e4f3ccde48c6c7b7d9b0e136cdd301ea018d92627eb92b8a0def5239d52f343d8b071304e09fc458b7c08c00e83a080b69c42e643d96b569e4fc6312db7a SHA512 8b2d5cf59fe4a3d80898e48eca62dab4807fb953260ee686516d7fa5d31141e29d0f01ddfa8192d8d65c6acd152be130c1cca12dd9e8794850f905b550154ac6
26
27 diff --git a/dev-ruby/typeprof/typeprof-0.15.0.ebuild b/dev-ruby/typeprof/typeprof-0.15.0.ebuild
28 new file mode 100644
29 index 00000000000..ac6c1869b32
30 --- /dev/null
31 +++ b/dev-ruby/typeprof/typeprof-0.15.0.ebuild
32 @@ -0,0 +1,32 @@
33 +# Copyright 1999-2021 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.3.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 +}