summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-14 07:28:34 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-14 15:14:12 +0100
commitb8af762b4e38e1560381033189414ee8482bbd05 (patch)
tree13c4cab80305ff9237186ca76dc198cdd64f4cb3
parentdev-ruby/dry-logic: new package, add 1.5.0 (diff)
downloadgentoo-b8af762b4e38e1560381033189414ee8482bbd05.tar.gz
gentoo-b8af762b4e38e1560381033189414ee8482bbd05.tar.bz2
gentoo-b8af762b4e38e1560381033189414ee8482bbd05.zip
dev-ruby/dry-inflector: new package, add 1.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/dry-inflector/Manifest1
-rw-r--r--dev-ruby/dry-inflector/dry-inflector-1.0.0.ebuild27
-rw-r--r--dev-ruby/dry-inflector/metadata.xml11
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/dry-inflector/Manifest b/dev-ruby/dry-inflector/Manifest
new file mode 100644
index 000000000000..3e5e59e74b71
--- /dev/null
+++ b/dev-ruby/dry-inflector/Manifest
@@ -0,0 +1 @@
+DIST dry-inflector-1.0.0.tar.gz 25030 BLAKE2B 628f5af9ac1517e6711242b6678808c0b64f1f1bb3391e0792fe85ccebfe4c334e2ee62370bd3a13f842a435028b684c09b8215c78ab7fbe2742679863f8e27d SHA512 34b5e723982621e3e090fe9273310d6dfd6e8145c274d7eefe2e7c3bdcc2c6222c2a6bc6e0bbd70d79226b81f1cd89d8364692421ef3dd361432a03b1a8d1c06
diff --git a/dev-ruby/dry-inflector/dry-inflector-1.0.0.ebuild b/dev-ruby/dry-inflector/dry-inflector-1.0.0.ebuild
new file mode 100644
index 000000000000..490b27fb08db
--- /dev/null
+++ b/dev-ruby/dry-inflector/dry-inflector-1.0.0.ebuild
@@ -0,0 +1,27 @@
+# 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_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="dry-inflector.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="String inflections for dry-rb"
+
+HOMEPAGE="https://dry-rb.org/gems/dry-inflector/"
+SRC_URI="https://github.com/dry-rb/dry-inflector/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+
+all_ruby_prepare() {
+ sed -i -e '/\(bundler\|coverage\)/ s/^/#/' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/dry-inflector/metadata.xml b/dev-ruby/dry-inflector/metadata.xml
new file mode 100644
index 000000000000..80fa77f4fe4c
--- /dev/null
+++ b/dev-ruby/dry-inflector/metadata.xml
@@ -0,0 +1,11 @@
+<?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">dry-rb/dry-inflector</remote-id>
+ </upstream>
+</pkgmetadata>