diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-07-20 07:47:52 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-07-20 08:00:08 +0200 |
commit | 33932e33286553f61bfc0b9094e15019ac10fb94 (patch) | |
tree | 7d7a8fb5885b9d9c14f27278c748274d2fa8b097 /dev-ruby/rack | |
parent | dev-ruby/sus: update upstream metadata (diff) | |
download | gentoo-33932e33286553f61bfc0b9094e15019ac10fb94.tar.gz gentoo-33932e33286553f61bfc0b9094e15019ac10fb94.tar.bz2 gentoo-33932e33286553f61bfc0b9094e15019ac10fb94.zip |
dev-ruby/rack: add 3.1.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack')
-rw-r--r-- | dev-ruby/rack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rack/rack-3.1.7.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest index cfbd893f1d2c..6134a993469c 100644 --- a/dev-ruby/rack/Manifest +++ b/dev-ruby/rack/Manifest @@ -5,3 +5,4 @@ DIST rack-3.0.10.tar.gz 789469 BLAKE2B 2c9781301034f30524243727ada5450f613d47421 DIST rack-3.0.8.tar.gz 788610 BLAKE2B 9a591242e37f10021a2779bc495ab0ef954eb6474efe279f2bc6417e4255d83a92f156a9bc52fe90c098dc23c26eddf802119fdcd739a05332bc398db1c12456 SHA512 045a1de846e984d2067ce647d0b3652c810a264fa4f84e9791a623ac5c5cfa5ab4b961c4cb0328b51a71f66082190741dbaac3f4dbafad7c5a8e97a71b169448 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 diff --git a/dev-ruby/rack/rack-3.1.7.ebuild b/dev-ruby/rack/rack-3.1.7.ebuild new file mode 100644 index 000000000000..34788801390b --- /dev/null +++ b/dev-ruby/rack/rack-3.1.7.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 +} |