From 5fb2227e9f06a569841b1cc1af39c1d016d62df0 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 17 May 2020 07:03:00 +0200 Subject: [PATCH] dev-ruby/rouge: add 3.19.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- dev-ruby/rouge/Manifest | 1 + dev-ruby/rouge/rouge-3.19.0.ebuild | 36 ++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-ruby/rouge/rouge-3.19.0.ebuild diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 16a518973e2c..54feb15187fe 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -1,3 +1,4 @@ DIST rouge-3.16.0.tar.gz 815138 BLAKE2B 9106bb9f62b0aa9ad879f6982389e0690eb1ed87e59a71ace601d38c680bac836001f632004ded9a718724f5efc96009b8f41d82a788570df7e04ec0098546c7 SHA512 f229feb414d3aac6db62d208f601828ff64a7d303b11df55c33e7fb0371cdbda5ce7312958ba8b1f886e3521c8beb465d62a042ef418f0e2f87808685321a58c 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 diff --git a/dev-ruby/rouge/rouge-3.19.0.ebuild b/dev-ruby/rouge/rouge-3.19.0.ebuild new file mode 100644 index 000000000000..1ce32a97ce3b --- /dev/null +++ b/dev-ruby/rouge/rouge-3.19.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 +} -- 2.26.2