dev-ruby/uri: add 1.0.4

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-10-07 09:40:47 +02:00
parent ea6797451c
commit a42e4b024d
2 changed files with 30 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST uri-1.0.3.tar.gz 48627 BLAKE2B 1f3b7fe41a4540f3715a597c399206245145de1701a4e1efecd76491bc9545b8284d6637ad1bf40968ad283193e6ca1bf17b152b4535aeebaac7add9fd0bbcae SHA512 b163e7cd235a6dba1ed10fcc4d198735b03e426312f821e361a68e8b0d148d6c06a07b3ae4cf4a5940613973dd98ddaa543733df95d81ebbd46f3f7d47056303
DIST uri-1.0.4.tar.gz 48748 BLAKE2B 89c19d2523dd82760c27e8f13cf073e719b63ee3d644c6729ff96da1db04a81ea2004f2dedafab9f1f6eb260c9c87d9ae8f7eab44e6746d10ec40fab5a0a662e SHA512 5d472bc5c36b6bd57bcb31621904468c42f0fa68acfeb98370d17c178f649ae1618828070cff95b8b02ecfd6b73bf8d3106009689e121ee688d8cf9832c583f1

View File

@@ -0,0 +1,29 @@
# 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_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="uri.gemspec"
inherit ruby-fakegem
DESCRIPTION="URI is a module providing classes to handle Uniform Resource Identifiers"
HOMEPAGE="https://github.com/ruby/uri"
SRC_URI="https://github.com/ruby/uri/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="$(ver_cut 1)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
all_ruby_prepare() {
sed -e 's:_relative ": "./:' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
}