diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-02-18 08:29:24 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-02-18 08:29:49 +0100 |
commit | 0085954f51dd043fbc7ef16b059d99da548d2971 (patch) | |
tree | f52e20a1f606618b0b011ff8129686efa9fb955b /dev-ruby/rouge | |
parent | dev-ruby/rjb: add 1.6.7 (diff) | |
download | gentoo-0085954f51dd043fbc7ef16b059d99da548d2971.tar.gz gentoo-0085954f51dd043fbc7ef16b059d99da548d2971.tar.bz2 gentoo-0085954f51dd043fbc7ef16b059d99da548d2971.zip |
dev-ruby/rouge: add 4.1.0
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.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 26aa13008b3d..51d1a0f3f827 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -2,3 +2,4 @@ DIST rouge-3.29.0.tar.gz 1024187 BLAKE2B ee29f9d22211dec38ec2fdd49da4dbd28957876 DIST rouge-3.30.0.tar.gz 1036048 BLAKE2B 79dde9ed8a282b22aa044bef1a17cdde705e5361aa9298789d1de155260a69a200d8039c400d22db5719039d67f0d9179c31574190684da50ea64fba92c63ec8 SHA512 f21ff96d2d1f248dfffb02ea2312b4c01090b2b5664588e00763d0ede0d8af701efe0cdabb551a2debff26a301dfaffa7a07aa579d73806c6635f03dd15dcfe1 DIST rouge-4.0.0.tar.gz 1036030 BLAKE2B 7f446bd6a84d8eed28faf5b873ede459aff5c7a73328b71ceb50bd939d76281daca77d60ab6ff47aee5f7e7b120f8c0ee0010364679196d7d41373b860e76920 SHA512 9917a9f913373371ba11abb90389273b5d97e7287fa6c265ce40dbaad040a29a900c6843cfc1688315a489c2e32d188840d23052190783eb353f5ffd098b895b DIST rouge-4.0.1.tar.gz 1041393 BLAKE2B f2c26a918b0365a1b65d938e8835fbe96cdedaeaad5d06e24972f79b0dd8b27bd301ec7ccc7de603f64fbdda5ddd06fdca870a06e0365eeb6adf7f0e7a4cfb2c SHA512 1a7f564d27c2c12c060eeb29f1fdb38e01c1c4c22424b78cfb7b0b19e61e50e9266f21aa6972694a654111cdf6205e2326650ac3e5ef4d0fa182732bd3609494 +DIST rouge-4.1.0.tar.gz 1045005 BLAKE2B 4cbff8d855d36e2d4ab79bc7c125eb2e757f11dabfc5501f59687d7203d3ca1ac503a44caa938de05a99676b4fbe885dd7c012139dbbbfe110d5409e7d3ffc1a SHA512 02bcdcf57d3eb896a006513439930791e4a7486c83e1124fff8d8d2abe211d151b238b52dac1a14019dfed061a44ab249ce7979b94602df730c5684522320252 diff --git a/dev-ruby/rouge/rouge-4.1.0.ebuild b/dev-ruby/rouge/rouge-4.1.0.ebuild new file mode 100644 index 000000000000..0e3272b2a092 --- /dev/null +++ b/dev-ruby/rouge/rouge-4.1.0.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="ruby27 ruby30 ruby31" + +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 +} |