commit:     9d18da4670d07b381bd8b2fb60e5da1e8964941d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  2 05:31:43 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 05:41:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d18da46

dev-ruby/http-cookie: add 1.0.6

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/http-cookie/Manifest                 |  1 +
 dev-ruby/http-cookie/http-cookie-1.0.6.ebuild | 30 +++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-ruby/http-cookie/Manifest b/dev-ruby/http-cookie/Manifest
index 7c105791efcc..fb426d0e7aa9 100644
--- a/dev-ruby/http-cookie/Manifest
+++ b/dev-ruby/http-cookie/Manifest
@@ -1 +1,2 @@
 DIST http-cookie-1.0.5.gem 39424 BLAKE2B 
569a0d18c962be378f3974b400ddf2289c72490b2b93619fcd83ed6c00bbf5def76239c52163dc6231060792abf3a19988285a6cd28f158ff7339252da912e61
 SHA512 
d530d64b5c2fc3757a6de03384fe768317e24a523d4a4215f5bcc6b5bca9e7b94eeaad1e52fbb67548396b7b2ca7c9d8b68ea7b99109e24770fcf34c950469ef
+DIST http-cookie-1.0.6.gem 40448 BLAKE2B 
428cd8aef9d08ff86486c1dab10f75e2cf0aa614eda598a95e35598f945a41cc35cf7a871b4b6b56f01435790c7995d1cb83c2fff46463282d66f0e1cd8a0883
 SHA512 
088949816b70c3eea5464b492cb067d1d1cea8608ba8ad791876b5a33cc57c95b036420e3e9872a40e35c84168a37ab6b4615a049ea98b04588000cdf594bc5f

diff --git a/dev-ruby/http-cookie/http-cookie-1.0.6.ebuild 
b/dev-ruby/http-cookie/http-cookie-1.0.6.ebuild
new file mode 100644
index 000000000000..80e69e9381ec
--- /dev/null
+++ b/dev-ruby/http-cookie/http-cookie-1.0.6.ebuild
@@ -0,0 +1,30 @@
+# 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="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby library to handle HTTP cookies"
+HOMEPAGE="https://github.com/sparklemotion/http-cookie";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# See https://github.com/sparklemotion/http-cookie/issues/16 for dropping 
domain_name
+ruby_add_rdepend ">=dev-ruby/domain_name-0.5:0"
+
+all_ruby_prepare() {
+       sed -i -e "/simplecov/d" -e "/bundler/d" Rakefile || die
+       sed -i -e '5irequire "cgi"' test/helper.rb || die
+}
+
+each_ruby_test() {
+       ${RUBY} -Ilib test/test_http_cookie.rb || die
+       ${RUBY} -Ilib test/test_http_cookie_jar.rb || die
+}

Reply via email to