diff options
Diffstat (limited to 'dev-ruby/rouge')
-rw-r--r-- | dev-ruby/rouge/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rouge/rouge-3.20.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 54feb15187fe..dd30001618a7 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -2,3 +2,4 @@ DIST rouge-3.16.0.tar.gz 815138 BLAKE2B 9106bb9f62b0aa9ad879f6982389e0690eb1ed87 DIST rouge-3.17.0.tar.gz 816264 BLAKE2B d8814594e4d61babfee59cc9a251a6dddf89c66b3664fbcedf2216943ccc887eadcb564e4bb829df2b7adcd898743c48514e2b779f23159a7d77a9f442782373 SHA512 3ed7f314ec27b966115371d4eff6f4e4880417f8de36b3dc80012ba0cdba18aeae7b58057dc1e02956e59bb14db8786a94262def85bbc85a699002aa90859f2f DIST rouge-3.18.0.tar.gz 882486 BLAKE2B aca9f22b84a168423cf66189a29ba51611854e03706619437b654a7e2c1fe99fd18b3f3e02f3a82ad7a9a771d6382204fc4758b8a33818ee485bed8bd60066f4 SHA512 ee37fe498fe5fd23e31fd0a0b2ed25d0742e9b2de36b3a923a39737825346c85f45043d85fe56f12f28db989c67ce9d96a8ac2a273150edb87773b870a80bfc8 DIST rouge-3.19.0.tar.gz 919603 BLAKE2B 53cffee53d8c6bd8e27dc0278f9ef8e9bff2a01d568d2342847ce0afe71ec72a8394f6e9184f575e38abad7893c61a4553ca73c8072bdcdb91f347ffe63a65e5 SHA512 4a59e5bebfb0c58be82bcc23e7a9906d9ff5cba8a636b47b94be00194ab0ab6cfae4d584586ee037e160245630abada889aa85332398289a214b7a493a8e825d +DIST rouge-3.20.0.tar.gz 938340 BLAKE2B dcb61527f023e34be5c2fdc362f74b64be24cc26e32f88ce7122ab7fbbee5c44f5a29c5c1d8fb5e721ede2df0119cbb2c00b5e178d1462967c54a6d062ae2e53 SHA512 3eaee2d98c5cb252d783c5bae365de4c400d980917a59b943d6fe93490c48e9d36e51b7d92acf468c10e702c942074f1525fa7e1c81c7c37d9b0927e9d4f332b diff --git a/dev-ruby/rouge/rouge-3.20.0.ebuild b/dev-ruby/rouge/rouge-3.20.0.ebuild new file mode 100644 index 000000000000..1ce32a97ce3b --- /dev/null +++ b/dev-ruby/rouge/rouge-3.20.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="spec" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" +HOMEPAGE="https://github.com/jneen/rouge" +SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) + test? ( dev-ruby/minitest-power_assert ) + dev-ruby/yard +" + +ruby_add_rdepend "dev-ruby/redcarpet" + +all_ruby_prepare() { + rm -f tasks/{check/style,update/changelog}.rake || die + + sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die + sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die +} |