diff options
author | 2024-07-08 08:18:16 +0200 | |
---|---|---|
committer | 2024-07-08 08:18:22 +0200 | |
commit | 22c80925a9be7e8a0b895ad17bab8db77e1582bd (patch) | |
tree | 6426c38553fc376628f4c582211e3231706f4024 | |
parent | dev-ruby/flay: fix erubi slot (diff) | |
download | graaff-22c80925a9be7e8a0b895ad17bab8db77e1582bd.tar.gz graaff-22c80925a9be7e8a0b895ad17bab8db77e1582bd.tar.bz2 graaff-22c80925a9be7e8a0b895ad17bab8db77e1582bd.zip |
dev-ruby/dry-configurable: new package, add 1.2.0
Dependency for forthcoming dev-ruby/dry-schema.
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | dev-ruby/dry-configurable/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/dry-configurable/dry-configurable-1.2.0.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/dry-configurable/metadata.xml | 8 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/dry-configurable/Manifest b/dev-ruby/dry-configurable/Manifest new file mode 100644 index 00000000..e24951c7 --- /dev/null +++ b/dev-ruby/dry-configurable/Manifest @@ -0,0 +1 @@ +DIST dry-configurable-1.2.0.tar.gz 31695 BLAKE2B 8c62090345be0cce235c5b29b447d7fcadaf1dc9382b5cb6772b337bf3c3d1e25a7e53e64f2bebdd02a42341fa390bb596011972fac2d247bc3438bfd975c6cf SHA512 ecb041453609247bfc2367313d0d577c43b97a6806da0bffc07e837ff7ed1f642d474db615579612d700ab01d71c3c823fd0ad4daf8c8cef54a54ce0744f44a4 diff --git a/dev-ruby/dry-configurable/dry-configurable-1.2.0.ebuild b/dev-ruby/dry-configurable/dry-configurable-1.2.0.ebuild new file mode 100644 index 00000000..b91724a1 --- /dev/null +++ b/dev-ruby/dry-configurable/dry-configurable-1.2.0.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-configurable.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A mixin to add configuration functionality to your classes" + +HOMEPAGE="https://dry-rb.org/gems/dry-configurable/" +SRC_URI="https://github.com/dry-rb/dry-configurable/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +ruby_add_rdepend " + dev-ruby/dry-core:1 + >=dev-ruby/zeitwerk-2.6:2 +" + +all_ruby_prepare() { + # Avoid unpackaged rspec-benchmark package for now + sed -e '/benchmark/I s:^:#:' -i spec/spec_helper.rb || die + sed -e '/is memoized when the config is finalized/ s/it/xit/' \ + -i spec/integration/dry/configurable/config_spec.rb || die +} diff --git a/dev-ruby/dry-configurable/metadata.xml b/dev-ruby/dry-configurable/metadata.xml new file mode 100644 index 00000000..6331dc45 --- /dev/null +++ b/dev-ruby/dry-configurable/metadata.xml @@ -0,0 +1,8 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"><email>graaff@gentoo.org</email></maintainer> + <upstream> + <remote-id type="github">dry-rb/dry-configurable</remote-id> + </upstream> +</pkgmetadata> |