summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-02-02 08:04:09 +0100
committerHans de Graaff <graaff@gentoo.org>2024-02-02 08:04:17 +0100
commit6b152fb9f02999e5d80c5d1eb2bd9ea60feb1fcb (patch)
tree61f0c4f2ca2484803acd8a462918df1faa706f71 /dev-ruby/dry-core
parentdev-ruby/rack: add 3.0.9 (diff)
downloadgentoo-6b152fb9f02999e5d80c5d1eb2bd9ea60feb1fcb.tar.gz
gentoo-6b152fb9f02999e5d80c5d1eb2bd9ea60feb1fcb.tar.bz2
gentoo-6b152fb9f02999e5d80c5d1eb2bd9ea60feb1fcb.zip
dev-ruby/dry-core: new package, add 1.0.1
Dependency for dry-types, which is a new dependency for dev-ruby/highline. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/dry-core')
-rw-r--r--dev-ruby/dry-core/Manifest1
-rw-r--r--dev-ruby/dry-core/dry-core-1.0.1.ebuild35
-rw-r--r--dev-ruby/dry-core/metadata.xml12
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/dry-core/Manifest b/dev-ruby/dry-core/Manifest
new file mode 100644
index 000000000000..150f22cc25c2
--- /dev/null
+++ b/dev-ruby/dry-core/Manifest
@@ -0,0 +1 @@
+DIST dry-core-1.0.1.tar.gz 44746 BLAKE2B fb85107dd68dfb2a8d3ee2e66b4bb8b416ac325be4d28bcbbf5605e0a90992eb8aa85a8fad3cba8f228a5a7e50109cd2c1dbf920eebc3423d282055204c6b0a5 SHA512 d769795459a0ffc007eb66e2b9af9be4e635c620a5ca54a76113057b495e1126600a572761d8ff33a3ee6a4fca948f6fc29d3200e7ba0b56c1bb600a4749bbd4
diff --git a/dev-ruby/dry-core/dry-core-1.0.1.ebuild b/dev-ruby/dry-core/dry-core-1.0.1.ebuild
new file mode 100644
index 000000000000..001c2b5367f1
--- /dev/null
+++ b/dev-ruby/dry-core/dry-core-1.0.1.ebuild
@@ -0,0 +1,35 @@
+# 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-core.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A toolset of small support modules used throughout the dry-rb ecosystem"
+
+HOMEPAGE="https://dry-rb.org/gems/dry-core/"
+SRC_URI="https://github.com/dry-rb/dry-core/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+
+# Skip tests for now to avoid circular dependencies.
+RESTRICT=test
+
+ruby_add_rdepend "
+ dev-ruby/concurrent-ruby:1
+ >=dev-ruby/zeitwerk-2.6:2
+"
+
+#ruby_add_bdepend "test? (
+# dev-ruby/dry-types
+#)"
diff --git a/dev-ruby/dry-core/metadata.xml b/dev-ruby/dry-core/metadata.xml
new file mode 100644
index 000000000000..20009da5e66c
--- /dev/null
+++ b/dev-ruby/dry-core/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">dry-rb/dry-core</remote-id>
+ <remote-id type="rubygems">dry-core</remote-id>
+ </upstream>
+</pkgmetadata>