dev-ruby/uri: new package, add 1.0.1

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-11-09 08:58:31 +01:00
parent 253724e382
commit 56c83137fa
3 changed files with 39 additions and 0 deletions

1
dev-ruby/uri/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST uri-1.0.1.tar.gz 48128 BLAKE2B 469a6905673cb18d5011fcc03d6570f775b5f97ee7a17dae08480cc0d46fe852ae2a5b2fecfdc1a711f97f2321af602377efb712c71a39b7ebf5a570b7867fdb SHA512 4ea0c09a26177cb37852d4f54fb833ff39245581a1a1148ecb0ec9449b17d484ae50ac964b0379a7b668e1dd924dc1c79016f512a86fb6a0731b14d0db287c2c

12
dev-ruby/uri/metadata.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ruby@gentoo.org</email>
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
<remote-id type="github">ruby/uri</remote-id>
<remote-id type="rubygems">uri</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# 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_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"
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
}