mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/localhost: add 1.1.10
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST localhost-1.1.10.tar.gz 2128142 BLAKE2B 06e4ab07bc273b8beba5fb3ee3f64e171a6c4a2e944c6d5e432417560283230277213732bf23ddd12e9737b2803582a11fdaa76356d14d2bdbd4e90d402c6204 SHA512 946ef247b256165cf5c849a32c0ba8dd2007164bd1549a20aca595328174709e9213ba8a98448dc41a57558b00147c3b7428b7bc625059ab24f89c94ff8850e9
|
||||
DIST localhost-1.1.9.tar.gz 2125545 BLAKE2B 5843b3857a11d9f56412f67cb15e424332b07cf81a29ae0a05a3ff20c6f06af56f6a02d8315f97c2d57fe76f7359c737cf19f116868ff532ac083070430fa22e SHA512 d46fd016957fd34309d50488dc61f23e9d47a5a6bfdeda5c049f6ffc112c13cd21394ada3e15c56f14913cba6ab503f60e32237431f7ff824fbbab8cd8a2d746
|
||||
|
||||
33
dev-ruby/localhost/localhost-1.1.10.ebuild
Normal file
33
dev-ruby/localhost/localhost-1.1.10.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby27 ruby30 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"
|
||||
|
||||
ruby_add_bdepend "test? ( 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
|
||||
}
|
||||
Reference in New Issue
Block a user