diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-06-03 11:27:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-06-03 11:41:04 +0200 |
commit | a4b2513807408ad651824ed8e60735df7cfe28b8 (patch) | |
tree | 32b81fa4aaabe48701e39995ea07cf140fee6933 /dev-ruby/rouge | |
parent | dev-ruby/rqrcode_core: enable ruby32 (diff) | |
download | gentoo-a4b2513807408ad651824ed8e60735df7cfe28b8.tar.gz gentoo-a4b2513807408ad651824ed8e60735df7cfe28b8.tar.bz2 gentoo-a4b2513807408ad651824ed8e60735df7cfe28b8.zip |
dev-ruby/rouge: add 4.1.2
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.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 51d1a0f3f827..78616ce9fb9a 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -3,3 +3,4 @@ DIST rouge-3.30.0.tar.gz 1036048 BLAKE2B 79dde9ed8a282b22aa044bef1a17cdde705e536 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 +DIST rouge-4.1.2.tar.gz 1054462 BLAKE2B 8f0aff31c6c184a9f264e27d95804c88f8a1ab43ae25237c8e24c646d46aa5e59ca1c32efb7c6c6e59b0a6edd531ae67edd7fa87906ec2f244e0086590c255a1 SHA512 835ac4b75c4c8be9d11486e2a6f5a9ecff03180bf6657d2486638f562a99420d97dd518a65fd6ffe20e7994386174887575e02f77d9c3af3aa895ff4d3a4b7f3 diff --git a/dev-ruby/rouge/rouge-4.1.2.ebuild b/dev-ruby/rouge/rouge-4.1.2.ebuild new file mode 100644 index 000000000000..3cd8168ca865 --- /dev/null +++ b/dev-ruby/rouge/rouge-4.1.2.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 +} |