summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-05-28 07:26:08 +0200
committerHans de Graaff <graaff@gentoo.org>2021-05-28 07:26:08 +0200
commitd171a94871fa97f89ffc9e8c44fa8078c0da820b (patch)
treeab00974bdb34b69742df684ed49bd56d6ad28f7a /dev-ruby
parentdev-ruby/nokogiri: cleanup (diff)
downloadgentoo-d171a94871fa97f89ffc9e8c44fa8078c0da820b.tar.gz
gentoo-d171a94871fa97f89ffc9e8c44fa8078c0da820b.tar.bz2
gentoo-d171a94871fa97f89ffc9e8c44fa8078c0da820b.zip
dev-ruby/rbs: add 1.2.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rbs/Manifest1
-rw-r--r--dev-ruby/rbs/rbs-1.2.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest
index 1126d9cc7a9c..aa69315a197c 100644
--- a/dev-ruby/rbs/Manifest
+++ b/dev-ruby/rbs/Manifest
@@ -1,3 +1,4 @@
DIST rbs-1.0.6.tar.gz 519090 BLAKE2B 1614320b8f77fcf4880cec6b7e4dc5fcb6b73f59410aa4dc51fb61b2868313acb242dc5a572c6cb96d9a819bade4b1d3aee2196189ea3fcc84d718ebbe9ff1d7 SHA512 a63c5781e6f73e998ea10c1a821d4f33388387caf6cd8e1ea607a9cd009d3f793e59c93b140e2539291a6b1d50b6ac40be7b484a8de0594f0ccff8a2db1e8425
DIST rbs-1.1.1.tar.gz 547506 BLAKE2B 5bfb64214d4fe0d19ec1c633b3f42567d2615fb0ed34ec78dd3defa3d185adbeab71ad523285d2877babcac4bb61ed2ec60eba80871cd4c631a2017f49768488 SHA512 f31894c1a52679241ef04f03d1aff545f9cc53a460d8933b7064b8403bbd6ef46fbfcdbda00189b158770389bba38b3978ad7d5dd0e7e0594540841e237adfc2
DIST rbs-1.2.0.tar.gz 560408 BLAKE2B f1f1491018897ca445bb1e49d6d8965af7bc8f19657130fd1f6233bb2d63cac9ecdffba8e41232d2152a6db3007f597a62b7a1cce6c1cf9b2b794b8550b45de9 SHA512 877341ecbe9764431de95c431aa757533c21ba3b51b625a5b1d74d9b76be4c32829f64859befe252162e5dc40ddb1d30ea569e0d7a1e739777f7c8143389dfe9
+DIST rbs-1.2.1.tar.gz 560668 BLAKE2B 25cd2c232a26527e7693d8fe80f0aea08c1d261bbff0d1cd9d20d5d6e06423d3b06e86bdd0ebfdfaf3224307dab683588959f23306fc48953ea2a96fd93b0176 SHA512 8c2e791cf751581720238a6fce347dd03378c42e5d7eb1495c191677bd443ec6294d082e22f589d28ad63ab2f4c98575f1619bad7e31e72af98914695eab2d86
diff --git a/dev-ruby/rbs/rbs-1.2.1.ebuild b/dev-ruby/rbs/rbs-1.2.1.ebuild
new file mode 100644
index 000000000000..900ed36a1e92
--- /dev/null
+++ b/dev-ruby/rbs/rbs-1.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_BINDIR="exe"
+
+RUBY_FAKEGEM_EXTRAINSTALL="core schema sig stdlib"
+
+RUBY_FAKEGEM_GEMSPEC="rbs.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The language for type signatures for Ruby and standard library definitions"
+HOMEPAGE="https://github.com/ruby/rbs"
+SRC_URI="https://github.com/ruby/rbs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Ruby-BSD BSD-2 )"
+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"
+SLOT="0"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/test-unit )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid JSON schema validation tests due to a large dependency stack
+ # that would be needed.
+ rm -f test/rbs/schema_test.rb || die
+
+ sed -i -e '/def test_paths/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die
+}