diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-08-19 05:54:02 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-08-19 05:54:02 +0200 |
commit | a00960687b37b8a08a470280fda6a0b251def910 (patch) | |
tree | 31aea2c478c46977cdfae96b536a2e043161f6b2 /dev-ruby/rouge | |
parent | dev-ruby/ruby-net-ldap: add 0.16.3 (diff) | |
download | gentoo-a00960687b37b8a08a470280fda6a0b251def910.tar.gz gentoo-a00960687b37b8a08a470280fda6a0b251def910.tar.bz2 gentoo-a00960687b37b8a08a470280fda6a0b251def910.zip |
dev-ruby/rouge: add 3.22.0
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rouge')
-rw-r--r-- | dev-ruby/rouge/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rouge/rouge-3.22.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 39f3fc7b60e2..b34bafcc2e15 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -1,3 +1,4 @@ DIST rouge-3.19.0.tar.gz 919603 BLAKE2B 53cffee53d8c6bd8e27dc0278f9ef8e9bff2a01d568d2342847ce0afe71ec72a8394f6e9184f575e38abad7893c61a4553ca73c8072bdcdb91f347ffe63a65e5 SHA512 4a59e5bebfb0c58be82bcc23e7a9906d9ff5cba8a636b47b94be00194ab0ab6cfae4d584586ee037e160245630abada889aa85332398289a214b7a493a8e825d DIST rouge-3.20.0.tar.gz 938340 BLAKE2B dcb61527f023e34be5c2fdc362f74b64be24cc26e32f88ce7122ab7fbbee5c44f5a29c5c1d8fb5e721ede2df0119cbb2c00b5e178d1462967c54a6d062ae2e53 SHA512 3eaee2d98c5cb252d783c5bae365de4c400d980917a59b943d6fe93490c48e9d36e51b7d92acf468c10e702c942074f1525fa7e1c81c7c37d9b0927e9d4f332b DIST rouge-3.21.0.tar.gz 945455 BLAKE2B f783bc6750bfc3b463bf63374127be28676428a13335c24b331f8ae327afc85d961c7f06319cfd6f80f31accd3ef874a780e7dd77816d9ff863ae491506f5fb2 SHA512 c71dfceae7902f8c4a02288053baa8d1285ac0570bcf754743bfae045a1d5fca177a13843aa223ded822bc95007d049187b363f4dd8f022336e6325919d2787c +DIST rouge-3.22.0.tar.gz 943288 BLAKE2B 9daa8166e05002a633ce6a99a794173148336f3f755f2c672879cffe177d1fda1b37723ed540d3bf8613725bab965213257043a4b7dfaa619650568c946378ba SHA512 83032099a0d540e77a25bd79c94481cb7f39c4a33e9b30f9f74d738ee0781ffc0c9bfbf9b90400d4833975df8a857231bed0739678153d08c716fe7e2cd3f8a8 diff --git a/dev-ruby/rouge/rouge-3.22.0.ebuild b/dev-ruby/rouge/rouge-3.22.0.ebuild new file mode 100644 index 000000000000..7e43cc39b023 --- /dev/null +++ b/dev-ruby/rouge/rouge-3.22.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="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 +} |