diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-15 12:47:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-15 12:47:43 +0000 |
commit | 6e8d3793323b8f24be801a4aaf31cdd31a8483e9 (patch) | |
tree | eba96ef018d8dea02be411ac222fd9eb6dd4edf7 /dev-ruby/dry-struct | |
parent | bc5dfb0671fb08c7da579b38b0e6abdd19da103f (diff) |
gentoo auto-resync : 15:03:2024 - 12:47:43
Diffstat (limited to 'dev-ruby/dry-struct')
-rw-r--r-- | dev-ruby/dry-struct/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/dry-struct/dry-struct-1.6.0.ebuild | 42 | ||||
-rw-r--r-- | dev-ruby/dry-struct/metadata.xml | 11 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/dry-struct/Manifest b/dev-ruby/dry-struct/Manifest new file mode 100644 index 000000000000..9617aca08fe0 --- /dev/null +++ b/dev-ruby/dry-struct/Manifest @@ -0,0 +1,3 @@ +DIST dry-struct-1.6.0.tar.gz 37804 BLAKE2B c41a764cea576126ace4729dcc34ccd88c80f8751d8e9e11c825fc4caccd3a2cf5b7c92b129d2275cc8731f70ae98271462a359e8f6acf3c5ba2242513d20e6b SHA512 78258a74fd4b359142d42133df4f632dca7518959a15e42d544ee3b3e94ff5f2c7d14b2ed38609a125c788d092203d574d46f5a1030f9ec28738f76d24d7cdcc +EBUILD dry-struct-1.6.0.ebuild 923 BLAKE2B 0a4435dd3fd04a719897fddd4ceabf6797d711dace31c9e9561b7ecb62baad1675af66ba470c9a9fe3933a2e1a37103469e8f901b566c6612d1dcf6b7811ffea SHA512 9e9abb4f830b9ab6decf87487c98e3a788ca6b1a261895479192fc3ef7b568b77c1ff625c654093275a36d3599bbe5e7c753e4eed7a215fee8f1f9e142e09943 +MISC metadata.xml 344 BLAKE2B be085f5f715c8e9afd2672e4448898c8b1e239604f60f413c0f95fa2c005db802d65131120bb61678a0debd534fb89351a592236cef2d6cfc66ca5783be9e0f2 SHA512 b37e514d43a1b7d692a6cc36ab8fc5d72388f247562f2b7e57e215084f4f7cff94f38dc1e21380a2063d9ff367d5aebebdb23f8f3f420118173b6fc242471248 diff --git a/dev-ruby/dry-struct/dry-struct-1.6.0.ebuild b/dev-ruby/dry-struct/dry-struct-1.6.0.ebuild new file mode 100644 index 000000000000..8b4fd4535562 --- /dev/null +++ b/dev-ruby/dry-struct/dry-struct-1.6.0.ebuild @@ -0,0 +1,42 @@ +# 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-struct.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Typed structs and value objects" + +HOMEPAGE="https://dry-rb.org/gems/dry-struct/" +SRC_URI="https://github.com/dry-rb/dry-struct/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend " + dev-ruby/dry-core:1 + >=dev-ruby/dry-types-1.7:1 + >=dev-ruby/ice_nine-0.11:0 + >=dev-ruby/zeitwerk-2.6:2 +" + +ruby_add_bdepend "test? ( + dev-ruby/dry-monads + dev-ruby/dry-struct +)" + +all_ruby_prepare() { + # Avoid broken spec, already fixed upstream. + sed -e '/with Test::User/ s/context/xcontext/' \ + -i spec/extensions/pretty_print_spec.rb || die +} diff --git a/dev-ruby/dry-struct/metadata.xml b/dev-ruby/dry-struct/metadata.xml new file mode 100644 index 000000000000..c0346959b54a --- /dev/null +++ b/dev-ruby/dry-struct/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-struct</remote-id> + </upstream> +</pkgmetadata> |