commit: 56c83137fa7e68ebd91458c6097ba97cc0097906 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Nov 9 07:58:31 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Nov 9 07:58:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c83137
dev-ruby/uri: new package, add 1.0.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/uri/Manifest | 1 + dev-ruby/uri/metadata.xml | 12 ++++++++++++ dev-ruby/uri/uri-1.0.1.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-ruby/uri/Manifest b/dev-ruby/uri/Manifest new file mode 100644 index 000000000000..dec251ca0007 --- /dev/null +++ b/dev-ruby/uri/Manifest @@ -0,0 +1 @@ +DIST uri-1.0.1.tar.gz 48128 BLAKE2B 469a6905673cb18d5011fcc03d6570f775b5f97ee7a17dae08480cc0d46fe852ae2a5b2fecfdc1a711f97f2321af602377efb712c71a39b7ebf5a570b7867fdb SHA512 4ea0c09a26177cb37852d4f54fb833ff39245581a1a1148ecb0ec9449b17d484ae50ac964b0379a7b668e1dd924dc1c79016f512a86fb6a0731b14d0db287c2c diff --git a/dev-ruby/uri/metadata.xml b/dev-ruby/uri/metadata.xml new file mode 100644 index 000000000000..392733af41ab --- /dev/null +++ b/dev-ruby/uri/metadata.xml @@ -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>[email protected]</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> diff --git a/dev-ruby/uri/uri-1.0.1.ebuild b/dev-ruby/uri/uri-1.0.1.ebuild new file mode 100644 index 000000000000..69b5e09990c3 --- /dev/null +++ b/dev-ruby/uri/uri-1.0.1.ebuild @@ -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 +}
