diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-07-01 14:52:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-07-01 14:57:44 +0200 |
commit | b20efd879540acde9bc3f6b89d28463b12b9d9c1 (patch) | |
tree | fa2cb4cd07b99cbb9fed9f4954df75c5033369b4 /dev-ruby/virtus | |
parent | dev-ruby/axiom-types: enable ruby31 (diff) | |
download | gentoo-b20efd879540acde9bc3f6b89d28463b12b9d9c1.tar.gz gentoo-b20efd879540acde9bc3f6b89d28463b12b9d9c1.tar.bz2 gentoo-b20efd879540acde9bc3f6b89d28463b12b9d9c1.zip |
dev-ruby/virtus: add 2.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/virtus')
-rw-r--r-- | dev-ruby/virtus/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/virtus/virtus-2.0.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/virtus/Manifest b/dev-ruby/virtus/Manifest index 3735a9360e63..da5dc26aa9e5 100644 --- a/dev-ruby/virtus/Manifest +++ b/dev-ruby/virtus/Manifest @@ -1 +1,2 @@ DIST virtus-1.0.5.gem 49152 BLAKE2B 24f422d96b10c38f9599c48a2018dac5b5bb8979acce1ee206b11d64d74a852ffbd276b78bd55b3b184cc109eb00d27ff1347d143695a4e06edfb94a3e87fd5b SHA512 468b74d6a49410bb4e59c535b9f7736cd5e4743817f19f97483247b0d259e17b069044bd5ccc787d72df972d37903eb7c9a9d6ca0c6642c550f1c84a3bc71825 +DIST virtus-2.0.0.gem 50176 BLAKE2B 16a8977b782691faa48e239354c8d25d63e350bcc0e8499691586021817d462e7575eb9d6c6911c371e00a711bc404f2be6dae2168d167fc683049fb14c798f6 SHA512 17f1a0b13ca0912d0a245886b7d8c1b0bcb9f08c1ac3c89d8e5de234e6afa3989c4f15b555342827ab3f8a5570e888bfee893aff851189b1769fb34fb3f1a64a diff --git a/dev-ruby/virtus/virtus-2.0.0.ebuild b/dev-ruby/virtus/virtus-2.0.0.ebuild new file mode 100644 index 000000000000..55dec266853b --- /dev/null +++ b/dev-ruby/virtus/virtus-2.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md CONTRIBUTING.md README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Attributes on Steroids for Plain Old Ruby Objects" +HOMEPAGE="https://github.com/solnic/virtus https://rubygems.org/gems/virtus" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/axiom-types-0.1 + <dev-ruby/axiom-types-1 + >=dev-ruby/coercible-1.0 + <dev-ruby/coercible-2 + >=dev-ruby/descendants_tracker-0.0.3 + <dev-ruby/descendants_tracker-1 +" + +ruby_add_bdepend "test? ( + dev-ruby/bogus +)" + +all_ruby_prepare() { + # Avoid specs that require unpackaged dry-inflector for now. + rm -f spec/unit/virtus/class_methods/finalize_spec.rb || die + + # Avoid developer dependencies + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} |