summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-14 15:49:50 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-15 07:07:50 +0100
commitaf5fa73fce1a4680f715a4cdae4436a36cceb8a7 (patch)
treec1258a68c5f93e1f25d2706e8e4607c37906b4c0 /dev-ruby/dry-types
parentdev-ruby/dry-struct: new package, add 1.6.0 (diff)
downloadgentoo-af5fa73fce1a4680f715a4cdae4436a36cceb8a7.tar.gz
gentoo-af5fa73fce1a4680f715a4cdae4436a36cceb8a7.tar.bz2
gentoo-af5fa73fce1a4680f715a4cdae4436a36cceb8a7.zip
dev-ruby/dry-types: new package, add 1.7.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/dry-types')
-rw-r--r--dev-ruby/dry-types/Manifest1
-rw-r--r--dev-ruby/dry-types/dry-types-1.7.2.ebuild38
-rw-r--r--dev-ruby/dry-types/metadata.xml11
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/dry-types/Manifest b/dev-ruby/dry-types/Manifest
new file mode 100644
index 000000000000..5fe862332caf
--- /dev/null
+++ b/dev-ruby/dry-types/Manifest
@@ -0,0 +1 @@
+DIST dry-types-1.7.2.tar.gz 101450 BLAKE2B e0ebd390bea2178a9a348b65bc7cb5af8657d61f66a77ba52ba26e64aab44c2bd6d142c164c023002244aded5da7175199108c069635b1031d469d7e678f0ed1 SHA512 401372b73b55947d1ba6619903cacd422be1a04ffdd3746d3323a68afa98fcea3d87a4bf1d81a9e9a389b2dcd8dd3a9d096f6982d168528d9fadf60e0fc33076
diff --git a/dev-ruby/dry-types/dry-types-1.7.2.ebuild b/dev-ruby/dry-types/dry-types-1.7.2.ebuild
new file mode 100644
index 000000000000..f04a3008de96
--- /dev/null
+++ b/dev-ruby/dry-types/dry-types-1.7.2.ebuild
@@ -0,0 +1,38 @@
+# 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-types.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Type system for Ruby supporting coercions, constraints and complex types."
+
+HOMEPAGE="https://dry-rb.org/gems/dry-types/"
+SRC_URI="https://github.com/dry-rb/dry-types/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+IUSE="test"
+
+ruby_add_rdepend "
+ dev-ruby/bigdecimal:0
+ dev-ruby/concurrent-ruby:1
+ dev-ruby/dry-core:1
+ dev-ruby/dry-inflector:1
+ >=dev-ruby/dry-logic-1.4:1
+ >=dev-ruby/zeitwerk-2.6:2
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/dry-monads
+ dev-ruby/dry-struct
+)"
diff --git a/dev-ruby/dry-types/metadata.xml b/dev-ruby/dry-types/metadata.xml
new file mode 100644
index 000000000000..8cb474b108c3
--- /dev/null
+++ b/dev-ruby/dry-types/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-types</remote-id>
+ </upstream>
+</pkgmetadata>