summaryrefslogtreecommitdiff
path: root/dev-ruby/uri
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-10 03:03:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-10 03:03:09 +0000
commitbe94ae04eee564451203d45977c2ef7c7ace1580 (patch)
tree616ffc0ad9aee18dc7d5e9e62bf62394e8e520ba /dev-ruby/uri
parent2be329ae14bbf99f0fc4de7567e2386bbb529fdc (diff)
gentoo auto-resync : 10:11:2024 - 03:03:09
Diffstat (limited to 'dev-ruby/uri')
-rw-r--r--dev-ruby/uri/Manifest3
-rw-r--r--dev-ruby/uri/metadata.xml12
-rw-r--r--dev-ruby/uri/uri-1.0.1.ebuild26
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/uri/Manifest b/dev-ruby/uri/Manifest
new file mode 100644
index 000000000000..80ea339f164e
--- /dev/null
+++ b/dev-ruby/uri/Manifest
@@ -0,0 +1,3 @@
+DIST uri-1.0.1.tar.gz 48128 BLAKE2B 469a6905673cb18d5011fcc03d6570f775b5f97ee7a17dae08480cc0d46fe852ae2a5b2fecfdc1a711f97f2321af602377efb712c71a39b7ebf5a570b7867fdb SHA512 4ea0c09a26177cb37852d4f54fb833ff39245581a1a1148ecb0ec9449b17d484ae50ac964b0379a7b668e1dd924dc1c79016f512a86fb6a0731b14d0db287c2c
+EBUILD uri-1.0.1.ebuild 834 BLAKE2B 3b3f5847f8292363cf7d2a15fe92307e62717abce9a00571038c3ada89b5272d1036d974b07936e5cc595bb8bea597189b42aff4a289a800f4217f192378de75 SHA512 6d7e21e56a38fa6638e54bdb7af0a69cca6206f34f8a93ea3c1e953918a2f5789d1eb1bfc4d7a1b75e4363e9a45a1e1cf8968f22de5c38f84e3f086d26638619
+MISC metadata.xml 382 BLAKE2B e8a9bfe3a7f4c938eb51b6289567e1ddf47219796b67b66672d31620cd549c539582565c2f33605666d7c4528ee58dd7cbc0f7afde34bc7b21aceede0599d0c5 SHA512 d11128cf5381f0638dd894150b433db3eb9c32ec4dea93780cd9e22b4f9425e6b05ee656d8a916ddf4b2b3d34a298836cf58e13b505f984657bdbda2f09784e7
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>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>
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
+}