diff options
-rw-r--r-- | dev-ruby/docile/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/docile/docile-1.4.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/docile/Manifest b/dev-ruby/docile/Manifest index 29daa2965284..7eb216a1f8db 100644 --- a/dev-ruby/docile/Manifest +++ b/dev-ruby/docile/Manifest @@ -1 +1,2 @@ DIST docile-1.3.5.tar.gz 16345 BLAKE2B c06fe60bc6e0fc0dec699271fcdc0b23febeba939aab513a23d5065d33bc7ce5d1cd6391d7b05a5f163c4420c199e12c97a79855d03fb252b61661c2532ac879 SHA512 be193eff58b73e0367a109d459e28097d04e0486b152b084f2fd6bcc795aedbaa12c13dae6d845ec4ef3d52335563ce2b22d5424d689e8b93ff9adf7dbe7b0e9 +DIST docile-1.4.0.tar.gz 16932 BLAKE2B 7e2472a64bcf27899d537444f77cb1fce587400d04c64abe17e2c39b1a50af027941f6ae72d6423817dc7ddfed8e15aa113cc4d32c30b97f166ff37fb7663000 SHA512 78350144a9b0d84d6025770d05b1e9999f34ce431691c08e73232f8b10537bc265f9f06409ff6feabf2e6f20d018dbb83aaf8c0f66e7dcec3e195475820481cd diff --git a/dev-ruby/docile/docile-1.4.0.ebuild b/dev-ruby/docile/docile-1.4.0.ebuild new file mode 100644 index 000000000000..4cf790013b83 --- /dev/null +++ b/dev-ruby/docile/docile-1.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +RUBY_FAKEGEM_GEMSPEC="docile.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Turns any Ruby object into a DSL" +HOMEPAGE="https://ms-ati.github.io/docile/" +SRC_URI="https://github.com/ms-ati/docile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/require \"github\/markup\"/d' Rakefile || die + sed -i -e '/simplecov/,/unshift/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's:_relative ": "./:' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |