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, 04 Feb 2021 05:56:59
Message-Id: 1612418052.4ba0cb7c86fed538c24d7bc8bf4ce9786facb7d9.graaff@gentoo
1 commit: 4ba0cb7c86fed538c24d7bc8bf4ce9786facb7d9
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 4 05:54:12 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 4 05:54:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba0cb7c
7
8 dev-ruby/typeprof: add 0.12.0
9
10 Package-Manager: Portage-3.0.13, 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.12.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 ddf52bd76c0..42d12290409 100644
19 --- a/dev-ruby/typeprof/Manifest
20 +++ b/dev-ruby/typeprof/Manifest
21 @@ -1 +1,2 @@
22 DIST typeprof-0.11.0.tar.gz 496673 BLAKE2B 215bd738a4a4b9e7de78943a944fd63dd4f166f215a493cdc89270e0452453683d3fdd1f71ccc05f4399f61e120248a73ed9b77b5b24ed4aa8b54e97d9e0073d SHA512 cc64bd805c57a16c275ba5622df08ff30fd64ae82b18e29fb30e03d17a6ca0e889c03696c745597bfec6444290f1f33020c4bd9c49a02fc3053add33e3e60084
23 +DIST typeprof-0.12.0.tar.gz 497398 BLAKE2B 149d382c5598ce3cfa023133095190e00e083ac445019c4aedf59d66005db93241dacd9c724f2b62e64d02aa3d7f4a58a3fa4546256c872030687574112c7333 SHA512 a28bc10ce19f7a3afe940cb01fd443c89a87497be2be0b03d92684581c4ffdc061e8e5119652116884e4cf0e5c0ea7d9a73c0f8be2a666d6bbe71e81bada323b
24
25 diff --git a/dev-ruby/typeprof/typeprof-0.12.0.ebuild b/dev-ruby/typeprof/typeprof-0.12.0.ebuild
26 new file mode 100644
27 index 00000000000..620e94ea93e
28 --- /dev/null
29 +++ b/dev-ruby/typeprof/typeprof-0.12.0.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +USE_RUBY="ruby27 ruby30"
36 +
37 +RUBY_FAKEGEM_RECIPE_DOC="none"
38 +RUBY_FAKEGEM_EXTRADOC="README.md"
39 +
40 +RUBY_FAKEGEM_BINDIR="exe"
41 +
42 +RUBY_FAKEGEM_GEMSPEC="typeprof.gemspec"
43 +
44 +inherit ruby-fakegem
45 +
46 +DESCRIPTION="Performs a type analysis of non-annotated Ruby code"
47 +HOMEPAGE="https://github.com/ruby/typeprof"
48 +SRC_URI="https://github.com/ruby/typeprof/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="MIT"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 +SLOT="0"
53 +IUSE="test"
54 +
55 +ruby_add_rdepend ">=dev-ruby/rbs-1.0.0"
56 +
57 +all_ruby_prepare() {
58 + # Avoid tests that download live code using git
59 + rm -r test/typeprof/{goodcheck,diff-lcs}_test.rb || die
60 +
61 + sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
62 +}