diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-20 07:29:25 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-20 13:04:47 +0100 |
commit | 04aeaffcd5d8675d021cf12da81bf63fbd227bb5 (patch) | |
tree | 5dca9d6b42864e874aa6f7df4911891b2d8a9d2c /dev-ruby/rouge | |
parent | dev-ruby/locale: add 2.1.4 (diff) | |
download | gentoo-04aeaffcd5d8675d021cf12da81bf63fbd227bb5.tar.gz gentoo-04aeaffcd5d8675d021cf12da81bf63fbd227bb5.tar.bz2 gentoo-04aeaffcd5d8675d021cf12da81bf63fbd227bb5.zip |
dev-ruby/rouge: add 4.2.1
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.2.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index ffc5a47745be..87ed71c0d291 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -2,3 +2,4 @@ DIST rouge-3.30.0.tar.gz 1036048 BLAKE2B 79dde9ed8a282b22aa044bef1a17cdde705e536 DIST rouge-4.1.2.tar.gz 1054462 BLAKE2B 8f0aff31c6c184a9f264e27d95804c88f8a1ab43ae25237c8e24c646d46aa5e59ca1c32efb7c6c6e59b0a6edd531ae67edd7fa87906ec2f244e0086590c255a1 SHA512 835ac4b75c4c8be9d11486e2a6f5a9ecff03180bf6657d2486638f562a99420d97dd518a65fd6ffe20e7994386174887575e02f77d9c3af3aa895ff4d3a4b7f3 DIST rouge-4.1.3.tar.gz 1056133 BLAKE2B 4c5134caf28c5bc5f8edc5aef903139f86bc6dedd268970a8a368afa6be6df2b176ab4ddd5c287482333a4863e16ccdc50de7f3830ebb57c6db3285f544f9b6c SHA512 4fa62b46477055e19070c86a5ca0164f84ec8d2d4a3a5bc5b3c84fd514353153d4caf3b3968da6dc357475f3048c684059b9ce419aa3f9986e1c9838a00d8564 DIST rouge-4.2.0.tar.gz 1059813 BLAKE2B b6add86c73729ed3df8f24ff2b454c520416f0640e090ca04372f8f00184bbf432119993ea6b809e1aec50899bd05bccebde0ca6d35f420c8d2a1e57c61a84d2 SHA512 b0dd5fb3ec2ebb1e7cd50460ea589026e70e5ee8b7b55a9a9c48990f22d3845a5a1bb7ce83001f5316852568c8bc7bca3ee2db9deacd60cde2b42ea9ba391d18 +DIST rouge-4.2.1.tar.gz 1061430 BLAKE2B 8dcaf5f4ef17e5e44eaa3251877ddd44d8a99a36e2b7e0624910de2c21e0272b7f1f022257136be5090eebe3cab826eed7a740e5cbe50bbdd72dcd0aad9eb955 SHA512 3545e41e5815acf96fc2e48531bebf50424425bbc13816daf03376882f41319905db6fee609b2bea5c629c6056cb50ae40dd7e3dcd088cc7403506cbde5351f7 diff --git a/dev-ruby/rouge/rouge-4.2.1.ebuild b/dev-ruby/rouge/rouge-4.2.1.ebuild new file mode 100644 index 000000000000..dd5ef6a25191 --- /dev/null +++ b/dev-ruby/rouge/rouge-4.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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="BSD-2 MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc test" + +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 +} |