diff options
Diffstat (limited to 'dev-ruby/localhost')
-rw-r--r-- | dev-ruby/localhost/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/localhost/localhost-1.2.0.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/localhost/Manifest b/dev-ruby/localhost/Manifest index 0708bfc22705..92c5461b3e0e 100644 --- a/dev-ruby/localhost/Manifest +++ b/dev-ruby/localhost/Manifest @@ -1,3 +1,5 @@ DIST localhost-1.1.10.tar.gz 2128142 BLAKE2B 06e4ab07bc273b8beba5fb3ee3f64e171a6c4a2e944c6d5e432417560283230277213732bf23ddd12e9737b2803582a11fdaa76356d14d2bdbd4e90d402c6204 SHA512 946ef247b256165cf5c849a32c0ba8dd2007164bd1549a20aca595328174709e9213ba8a98448dc41a57558b00147c3b7428b7bc625059ab24f89c94ff8850e9 +DIST localhost-1.2.0.tar.gz 2128359 BLAKE2B 793e43779ec0b1392104914d9adc1d468820f54b920a8ec4e4f538b313e607a6016a0d2d7b8db242571bdd561161bd71ef781eae310d1f57005c2b0a0fa5c5b4 SHA512 f60cf31a31ac43962e98e933955973ce4bdf76252e43ee3ef969fe104fb71bc5d2faa3213c93532acba28650cd453663785c15b33eed65309f8c235ce116b70d EBUILD localhost-1.1.10.ebuild 1021 BLAKE2B 5c5c55becbeb18825f4223f9931fa88f5280f39ace70d7c9bc769e5c0e7976cff214d2ad55bd32d6ceae87267c9064e3a018b2e4c90a1ebf855e58f9f063df18 SHA512 0f7244840cae1f89fdb2a59a0bf0d4b77e6c3f1c206ab73a6a7135342aa17eb1b2b8237569903a6f3c8af7f445fd7fef3d44b6a9e63f4f2c4dbcce986f743fec +EBUILD localhost-1.2.0.ebuild 1009 BLAKE2B ac4e052c0c775f4e8abb3a304e028af07905ededcbd6e19f72c38a19d877028b2211292383ebc5c3c092744e2268277396a3f24f1df7d6b6f3cbe5926280af3a SHA512 f39781c81ac366d29744752b4dd3c555e24a804e813c5b95f0e85a4749c9a6f51d69005a1f0baa487fda7babb1d730316ab70113cababe1ff514c1a467d1685b MISC metadata.xml 329 BLAKE2B 7254a554334f253b54f3d5673d55f247298a55fbc677b916de26a3a93bc2866836d1e0bc5a5e3692605c364852fe007a285b6b02d1953b0b0cac2ff86b83a5d0 SHA512 32a7e4b5cd3fe72608fe629be5fd057a1e184bfe584f3bddb9be087566141b550d1a407ba20f9afb50d06af694945d6687115f785585c2b88a546dd31ada8297 diff --git a/dev-ruby/localhost/localhost-1.2.0.ebuild b/dev-ruby/localhost/localhost-1.2.0.ebuild new file mode 100644 index 000000000000..3d7b9f9412c2 --- /dev/null +++ b/dev-ruby/localhost/localhost-1.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="localhost.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Manage a local CA for self-signed localhost development servers" +HOMEPAGE="https://github.com/socketry/localhost" +SRC_URI="https://github.com/socketry/localhost/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +ruby_add_bdepend " + test? ( + dev-ruby/async-io + dev-ruby/async-process + dev-ruby/sus-fixtures-async + ) +" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/covered/Id' config/sus.rb || die +} + +each_ruby_test() { + # Tests fail in parallel as it tries to use the same port so + # manually replicate ruby-ng_sus for now, as ruby-ng_sus runs sus-parallel. + ${RUBY} -S sus || die +} |