summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-10-17 07:15:40 +0200
committerHans de Graaff <graaff@gentoo.org>2024-10-17 07:18:51 +0200
commitb3689679c103835e59836b0e62e031d2b9f14727 (patch)
tree0130eb70979e8161da1b33a2478e39620dbd022e /dev-ruby/rack
parentdev-ruby/rbnacl: add 7.1.2 (diff)
downloadgentoo-b3689679c103835e59836b0e62e031d2b9f14727.tar.gz
gentoo-b3689679c103835e59836b0e62e031d2b9f14727.tar.bz2
gentoo-b3689679c103835e59836b0e62e031d2b9f14727.zip
dev-ruby/rack: add 3.1.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack')
-rw-r--r--dev-ruby/rack/Manifest1
-rw-r--r--dev-ruby/rack/rack-3.1.8.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest
index 6134a993469c..79cc567ad0a2 100644
--- a/dev-ruby/rack/Manifest
+++ b/dev-ruby/rack/Manifest
@@ -6,3 +6,4 @@ DIST rack-3.0.8.tar.gz 788610 BLAKE2B 9a591242e37f10021a2779bc495ab0ef954eb6474e
DIST rack-3.0.9.1.tar.gz 789318 BLAKE2B 300be59512a1497b832fe553ae9d957e380c5399707c891b67a950db32682ee8e2539dab02e656fdc855a8c821d7a5d8674b9208d4cc701f534eb8f1a8767fcf SHA512 0aacf814463dc03a95aaa7ec979caf3464d9e19d5ab9c3842978c2c94b81e8b2ed040f3f4028fd046c73e0632ee7754755cd35afc81ca47e22d43d4882086dc0
DIST rack-3.0.9.tar.gz 789232 BLAKE2B b71eb67ff796a1389bba79c3132608bec30a65d44fa8dd302a5c4e40a42b30b0284aeea6b0b5a1c73ec823e134c25ce426375bfa8772242a8f6b05a4187ee36b SHA512 0a69f4755119aae5c6e0ab8b1541eade221a701a9cdba3b10afd2bbd2a37e8b0faa80aad92304cf29793b2536b05e8a5ae3c0e0e986b021af1566bda8d387353
DIST rack-3.1.7.tar.gz 791460 BLAKE2B d911d4b8b40d4eb206535fd017697e5a655fbfbc1e78c204739a613740adf1cb6ee6d7a0b5dea5c305f468a2b9344aeca87363f608c3dc5fd299e0dac8792c40 SHA512 3c92880ba92ae748f573562396e90f5fc4b40d2c48a40c45fb1026c4d187f6782f9239da7ab44c1b652a884c575c1da6841728f90e22156eae0531ea006c1460
+DIST rack-3.1.8.tar.gz 791533 BLAKE2B cd7ee6fe4fe9bb6358cd8546d7d1800e0abea0514164408490383a60f18f2450fad59f0bc3f6b9ec5a223c0a946b9cb8a2859001ac3cc65c80db7eca4fa7231d SHA512 b1e006a77f1d9c56e50f1cf3798ca0e13b11360f9736c1c4e08d4b13c7f888f1f01a21bd5f454bb5749cb7f42488c849c7d5118118d43bbecd1c27431af18099
diff --git a/dev-ruby/rack/rack-3.1.8.ebuild b/dev-ruby/rack/rack-3.1.8.ebuild
new file mode 100644
index 000000000000..34788801390b
--- /dev/null
+++ b/dev-ruby/rack/rack-3.1.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md SECURITY.md SPEC.rdoc UPGRADE-GUIDE.md"
+
+RUBY_FAKEGEM_GEMSPEC="rack.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A modular Ruby webserver interface"
+HOMEPAGE="https://github.com/rack/rack"
+SRC_URI="https://github.com/rack/rack/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "virtual/ruby-ssl"
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitest:5
+ dev-ruby/minitest-global_expectations
+ dev-ruby/webrick
+)"
+
+# The gem has automagic dependencies over mongrel, ruby-openid,
+# memcache-client, thin, mongrel and camping; not sure if we should
+# make them dependencies at all.
+
+all_ruby_prepare() {
+ # The build system tries to generate the ChangeLog from git. Create
+ # an empty file to avoid a needless dependency on git.
+ touch ChangeLog || die
+
+ sed -i -e "s:require_relative ':require './:" rack.gemspec || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die
+}