summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-04-22 08:31:44 +0200
committerHans de Graaff <graaff@gentoo.org>2022-04-22 08:55:52 +0200
commit56495dc10d42c5d3aec45a2b98a43216e0e223bf (patch)
treeea1587029cf93402255ac25d63064f01ed8e47e5 /dev-ruby/spring
parentdev-ruby/spreadsheet: enable ruby31 (diff)
downloadgentoo-56495dc10d42c5d3aec45a2b98a43216e0e223bf.tar.gz
gentoo-56495dc10d42c5d3aec45a2b98a43216e0e223bf.tar.bz2
gentoo-56495dc10d42c5d3aec45a2b98a43216e0e223bf.zip
dev-ruby/spring: add 4.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/spring')
-rw-r--r--dev-ruby/spring/Manifest1
-rw-r--r--dev-ruby/spring/spring-4.0.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/spring/Manifest b/dev-ruby/spring/Manifest
index 2af858215e58..9dd870b38763 100644
--- a/dev-ruby/spring/Manifest
+++ b/dev-ruby/spring/Manifest
@@ -1,2 +1,3 @@
DIST spring-2.1.1.tar.gz 44000 BLAKE2B b7a5855b4a53852ccf82c14e82c134e61bc17a26e20bbf3597259763bbe81a545d3299d5490302681ca616ed1b7f4d42d522134b87d8a40588aa4904f8b650b2 SHA512 44c8619253567d2f506c9652ac28da5933517113dc38e8eb5a8b58fcc7d28ff0192cc98a655579767972649f5cead63cff0c7aa909046b41cfc1d37780e0ee77
DIST spring-3.1.1.tar.gz 46013 BLAKE2B 54297c4a24e3e65fbcfce75b5339e140ff79f075741a0ee1f1df6b32a62426e25734e0a0a5b4103700e712a0dad401863630511789696ca5761fe6828942200f SHA512 3fe985894d22f94ecdc46c735dd144c24552ade39b801aa24b829512d7586892d1db1359b2658799b7fa67b887fb63ecf5ef7160a6f3116a697b2a4c7076d602
+DIST spring-4.0.0.tar.gz 46258 BLAKE2B 9e02594dff1882f3f7f47af682afddafc3f4be97f9c3dcc0ee3289be9fb1bc252260e24bec44d024ce808a26a2ac571840357df8fcc719e60ca9ca159460b998 SHA512 c5ed7e389c97dea3b183d6cd373823c3230a84f21427cabacd72ea2bc97f00bcbf9855d36808a1bf3257ccaea21ee35f2070716dc4f0b64205a674202eac6b94
diff --git a/dev-ruby/spring/spring-4.0.0.ebuild b/dev-ruby/spring/spring-4.0.0.ebuild
new file mode 100644
index 000000000000..3abfbcdaa757
--- /dev/null
+++ b/dev-ruby/spring/spring-4.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_TASK_TEST="test:unit"
+
+RUBY_FAKEGEM_GEMSPEC="spring.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rails application preloader"
+HOMEPAGE="https://github.com/rails/spring"
+SRC_URI="https://github.com/rails/spring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1.1"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/activesupport )"
+
+all_ruby_prepare() {
+ sed -i -e '/files/d' \
+ -e '/bump/d' ${PN}.gemspec || die
+ sed -i -e '/bump/d' Rakefile || die
+}