diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-03 18:50:59 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-03 19:00:13 +0200 |
commit | 75bc6b296f9cce0f634f8a64b25cdee624bdbe7d (patch) | |
tree | 1fd343a65ea7db61557805c71e1741a0eeb99573 /dev-ruby/rouge | |
parent | dev-ruby/selenium-webdriver: add 4.11.0 (diff) | |
download | gentoo-75bc6b296f9cce0f634f8a64b25cdee624bdbe7d.tar.gz gentoo-75bc6b296f9cce0f634f8a64b25cdee624bdbe7d.tar.bz2 gentoo-75bc6b296f9cce0f634f8a64b25cdee624bdbe7d.zip |
dev-ruby/rouge: add 4.1.3
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-4.1.3.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index bdbfd4d2bed8..5425f10554d7 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -1,3 +1,4 @@ DIST rouge-3.30.0.tar.gz 1036048 BLAKE2B 79dde9ed8a282b22aa044bef1a17cdde705e5361aa9298789d1de155260a69a200d8039c400d22db5719039d67f0d9179c31574190684da50ea64fba92c63ec8 SHA512 f21ff96d2d1f248dfffb02ea2312b4c01090b2b5664588e00763d0ede0d8af701efe0cdabb551a2debff26a301dfaffa7a07aa579d73806c6635f03dd15dcfe1 DIST rouge-4.1.0.tar.gz 1045005 BLAKE2B 4cbff8d855d36e2d4ab79bc7c125eb2e757f11dabfc5501f59687d7203d3ca1ac503a44caa938de05a99676b4fbe885dd7c012139dbbbfe110d5409e7d3ffc1a SHA512 02bcdcf57d3eb896a006513439930791e4a7486c83e1124fff8d8d2abe211d151b238b52dac1a14019dfed061a44ab249ce7979b94602df730c5684522320252 DIST rouge-4.1.2.tar.gz 1054462 BLAKE2B 8f0aff31c6c184a9f264e27d95804c88f8a1ab43ae25237c8e24c646d46aa5e59ca1c32efb7c6c6e59b0a6edd531ae67edd7fa87906ec2f244e0086590c255a1 SHA512 835ac4b75c4c8be9d11486e2a6f5a9ecff03180bf6657d2486638f562a99420d97dd518a65fd6ffe20e7994386174887575e02f77d9c3af3aa895ff4d3a4b7f3 +DIST rouge-4.1.3.tar.gz 1056133 BLAKE2B 4c5134caf28c5bc5f8edc5aef903139f86bc6dedd268970a8a368afa6be6df2b176ab4ddd5c287482333a4863e16ccdc50de7f3830ebb57c6db3285f544f9b6c SHA512 4fa62b46477055e19070c86a5ca0164f84ec8d2d4a3a5bc5b3c84fd514353153d4caf3b3968da6dc357475f3048c684059b9ce419aa3f9986e1c9838a00d8564 diff --git a/dev-ruby/rouge/rouge-4.1.3.ebuild b/dev-ruby/rouge/rouge-4.1.3.ebuild new file mode 100644 index 000000000000..3cd8168ca865 --- /dev/null +++ b/dev-ruby/rouge/rouge-4.1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +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/rouge-ruby/rouge" +SRC_URI="https://github.com/rouge-ruby/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) + test? ( dev-ruby/minitest-power_assert ) + dev-ruby/yard +" + +ruby_add_rdepend "dev-ruby/redcarpet !<dev-ruby/rouge-3.30.0-r1" + +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 +} |