mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-ruby/localhost: add 1.6.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
dc0da5699d
commit
f07e2f45c8
@ -1,3 +1,4 @@
|
||||
DIST localhost-1.3.0.tar.gz 2128850 BLAKE2B fe7db9958759be39107116b45ee1f8d3678a2407f25956ee551a41a18da2bb12b46add992ca2b9615b68f69156afc384c453318af5b77751095b643fb27b7344 SHA512 6196cf4ff79cd53c222e19158a7233b8ba384225f24fd791d92952c80b11c469e99d619c3825e0f831e99e2a822aaf69e3b3a9ed0dc2e1ad0316c8b6717165c5
|
||||
DIST localhost-1.3.1.tar.gz 2127046 BLAKE2B 16ae987c53dba2a70ec324c7f79403d40e2b4345f92906c37b7f87814bdf8635f746823924b6c62cbeadee0565b1accd8fc340816ea5743c5e89cad4b952a755 SHA512 0120d58b80b0dd88f10ffcefaf67424950e77782ffc67f58144a18cb1d4fff29c4bd128fbff33e420b850a5a97c8670c945039950c59b1f448cb47bb588f5d3e
|
||||
DIST localhost-1.5.0.tar.gz 13437 BLAKE2B 9c6c8cb668af49f1b8250b4f1d977854ecc8bf7fa931b5d41db0712d2811900d7e7380d2c1235eb6800d2ae57a4eeadf56b76a5805cdb2c9bdd5ecf2e53076e4 SHA512 f95a0f53d8c88d61ff28591aae53faac631989b422102dd02f25707532fa38c297700bce020897442a12352af4da1e84bae0be9f1fedbab7c409188fc0b31377
|
||||
DIST localhost-1.6.0.tar.gz 14009 BLAKE2B 1736b74f4af04e8102c1aa990a6ece8ed8d6f8656126b134dfba6039a25df11941004703578adc22145d77dafaba57caedb104b4d2de13ed6072edb6a4721ab2 SHA512 96b1006b636c7a2da02d815e42efe23dd6790ae9b8f552b50a7710047b4f1a05c2aae4533a089163a27374902ecfdb3a76eee062e047054a8d733688a779ecce
|
||||
|
||||
44
dev-ruby/localhost/localhost-1.6.0.ebuild
Normal file
44
dev-ruby/localhost/localhost-1.6.0.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.md releases.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/io-endpoint
|
||||
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
|
||||
|
||||
sed -e "s:/tmp/state:${TMP}/state:" \
|
||||
-i test/localhost/state.rb || die
|
||||
|
||||
# Avoid unpackaged sus-fixtures-async-http which has a huge dependency tree.
|
||||
rm -f test/localhost/protocol.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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user