diff options
Diffstat (limited to 'dev-ruby/rackup')
-rw-r--r-- | dev-ruby/rackup/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rackup/rackup-2.2.0.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/rackup/Manifest b/dev-ruby/rackup/Manifest index 62f30c85d85b..143defd346b2 100644 --- a/dev-ruby/rackup/Manifest +++ b/dev-ruby/rackup/Manifest @@ -1,3 +1,5 @@ DIST rackup-2.1.0.tar.gz 25009 BLAKE2B 56de2ad40a1e4dbd0d7efb6583ceea6836eea4fa37b81c0f670dfe91b1c18e9cc4eed21c9057e027d8eb5b04a0cb148b6f5bd540ec3491e2381976902178aa24 SHA512 c470af246388243d2c48f244ccdc72aa8888539f5561fb1352c68ae3946713f14853820348b9a96f9507c316e0f619f111cd3cde077f6ee7f9dadc4bb2f2396d +DIST rackup-2.2.0.tar.gz 26306 BLAKE2B efdb5b10cc14214a4cf23d1326f0afb669f8e817e87ed98e5ec76f409ac1cd3718e4339b3fd49529ff802e7a7b32b70102e25418f89bbfc6bc6198d4652fbece SHA512 fc8c8fdaa3733ac168d3f395507ce0b952462329737c52c3f986b3a5c49420e7ec1688aabfee1325ff2398848cdc64922863a57e63af0a5d6fc4bc2f0ac590bd EBUILD rackup-2.1.0-r1.ebuild 967 BLAKE2B cbe7c024c8ab406aaf44052a3ed4cc28d013c83b5761de13bcd567deaae21d95bc02c6beb94d7fa3186dd7bfddaaad61c5a386c621b72ac246eb4fefcd9c6086 SHA512 3f2b4ca3e41e6c2e73a368c4a847a97abf7989a07cd4eaf0686b9261a5ed60fab3855449816138f494155b396e63a165168f0eea434925071ed764ccc1863b07 +EBUILD rackup-2.2.0.ebuild 973 BLAKE2B 6c357b45121af9faf2b1396dd0951e47f808cc211d795de189a8f16755721c7f5780e259e8291d613bb7e294d16ddfa7f923ec508c46bcb2a296503760916b3d SHA512 457ba8ac7e62fb101a11cf40955ae876b50c36f798faecdcb73310f46dd39e7497e33173f057ab2d2e62610b000cce34c82d753799a3b13dd8755a7850caf46f MISC metadata.xml 388 BLAKE2B 91b54e0bb54c0eb80648ac887eedd5276a4dbbedf550c5707d5dd55847b63ebee20baa6019bf8aeae03de6cf8c7d314d0a8bfecaafb33fe78f95b02b41e7a13b SHA512 80ff7e014e68ae2599919b0bd00fcf5b5c9258c76519bda5e461afc959bc8082c2a5321071b649d72db9f7421980ac537b71c1cc58b6d6244ecd1b03500e402b diff --git a/dev-ruby/rackup/rackup-2.2.0.ebuild b/dev-ruby/rackup/rackup-2.2.0.ebuild new file mode 100644 index 000000000000..88c7ac6de7d8 --- /dev/null +++ b/dev-ruby/rackup/rackup-2.2.0.ebuild @@ -0,0 +1,40 @@ +# 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_EXTRADOC="readme.md security.md" + +RUBY_FAKEGEM_GEMSPEC="rackup.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A general server command for Rack applications" +HOMEPAGE="https://github.com/rack/rackup" +SRC_URI="https://github.com/rack/rackup/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/rack:3.0 + >=dev-ruby/webrick-1.8:0 + virtual/ruby-ssl + !<dev-ruby/rack-2.2.7-r1 +" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/minitest-global_expectations +)" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e "Dir['test/spec_*.rb'].each{ require _1 }" || die +} |