summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-14 15:49:00 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-15 07:07:50 +0100
commit46e903249fee5e300fd33a509167aeff448dca67 (patch)
treea064f1110e39d374493207c1f1d5a94dc7bc216e /dev-ruby/dry-monads
parentdev-ruby/ice_nine: update EAPI 7 -> 8 (diff)
downloadgentoo-46e903249fee5e300fd33a509167aeff448dca67.tar.gz
gentoo-46e903249fee5e300fd33a509167aeff448dca67.tar.bz2
gentoo-46e903249fee5e300fd33a509167aeff448dca67.zip
dev-ruby/dry-monads: new package, add 1.6.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/dry-monads')
-rw-r--r--dev-ruby/dry-monads/Manifest1
-rw-r--r--dev-ruby/dry-monads/dry-monads-1.6.0.ebuild34
-rw-r--r--dev-ruby/dry-monads/metadata.xml11
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/dry-monads/Manifest b/dev-ruby/dry-monads/Manifest
new file mode 100644
index 000000000000..c6d8af4e7536
--- /dev/null
+++ b/dev-ruby/dry-monads/Manifest
@@ -0,0 +1 @@
+DIST dry-monads-1.6.0.tar.gz 77141 BLAKE2B 714b2a35b6136639e4b071f01dcdc01a83b447731906b0b98f9101a4d524f77395d8f2e77b7c09ea8bd039f53de6ba2fbaeaaf805d63d299d10fa5c92b07080a SHA512 080e02299f2a39159bdf571afa4678ccade07e363f60ad7fef397e07dfa156e9a187757cc6de199fbc876c79110e73b9541369d3d04b32fdb6bde13e96bcb300
diff --git a/dev-ruby/dry-monads/dry-monads-1.6.0.ebuild b/dev-ruby/dry-monads/dry-monads-1.6.0.ebuild
new file mode 100644
index 000000000000..0ed9ef832c27
--- /dev/null
+++ b/dev-ruby/dry-monads/dry-monads-1.6.0.ebuild
@@ -0,0 +1,34 @@
+# 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-monads.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Common monads for Ruby"
+
+HOMEPAGE="https://dry-rb.org/gems/dry-monads/"
+SRC_URI="https://github.com/dry-rb/dry-monads/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+IUSE="test"
+
+ruby_add_rdepend "
+ dev-ruby/concurrent-ruby:1
+ dev-ruby/dry-core:1
+ >=dev-ruby/zeitwerk-2.6:2
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/dry-types
+)"
diff --git a/dev-ruby/dry-monads/metadata.xml b/dev-ruby/dry-monads/metadata.xml
new file mode 100644
index 000000000000..01236a96b46e
--- /dev/null
+++ b/dev-ruby/dry-monads/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-monads</remote-id>
+ </upstream>
+</pkgmetadata>