diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-07-30 08:38:54 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-07-30 08:38:54 +0200 |
commit | 40699bc11cb5cecb8c5f8cd222ec12b0d5602fda (patch) | |
tree | d71f2bedf1e7ca09c8fd14377a5f98b462e8e30a /dev-ruby/rouge | |
parent | dev-ruby/fcgi: update LICENSE (diff) | |
download | gentoo-40699bc11cb5cecb8c5f8cd222ec12b0d5602fda.tar.gz gentoo-40699bc11cb5cecb8c5f8cd222ec12b0d5602fda.tar.bz2 gentoo-40699bc11cb5cecb8c5f8cd222ec12b0d5602fda.zip |
dev-ruby/rouge: add 3.30.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-3.30.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 038131763d18..fb4a3634ce13 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -3,3 +3,4 @@ DIST rouge-3.26.1.tar.gz 972469 BLAKE2B 48f7741d69ce6470235ba4f469b8a37b6bac409a DIST rouge-3.27.0.tar.gz 981023 BLAKE2B f0e22bf37563fc12d5308dc13c8de8230dd366eaafa12a7e3a387d4bea108fb14001b0b570e9cf8e2ffba317c7821c3b5f3f1cc0505e39e8057af5b438207235 SHA512 6f35c7bafa18c77a11131700fb8baac1f646be467224b9b863cafcf2445c54605c031009b14b57d95ad72b9311160e9d02e6b4a2bb2682ac4f5e88772a7cc695 DIST rouge-3.28.0.tar.gz 993680 BLAKE2B 38b360bc282887913e24e8ebd5463d792d03f55e70553f93b12ee94c7e1ed9d6d2ac3d084c21d21a59480a1669b552bc10b42ec2d0e63b167f142b241ce884db SHA512 a6cb87ef7ec1eae94f127ef615b77830581d1e3a2f690e852effafd146e4456e6c931f843e9df068a750b69af8a6d8d958277d94e16550e016a58412caeba7d7 DIST rouge-3.29.0.tar.gz 1024187 BLAKE2B ee29f9d22211dec38ec2fdd49da4dbd28957876e2324c72e6d4d58748adc4fac8ad1b0788537e0e49fb80ca41a7e2c788ab91d435d71a85e8b42858c2a19d975 SHA512 632b8c5e1454981842984b42626139b2f0041449301b706d884f347ca247d40dccd9bbab9e30c1af379e1d47b8b5c29a1ba30d28c5ecd6f47d00a3ee5af8ce92 +DIST rouge-3.30.0.tar.gz 1036048 BLAKE2B 79dde9ed8a282b22aa044bef1a17cdde705e5361aa9298789d1de155260a69a200d8039c400d22db5719039d67f0d9179c31574190684da50ea64fba92c63ec8 SHA512 f21ff96d2d1f248dfffb02ea2312b4c01090b2b5664588e00763d0ede0d8af701efe0cdabb551a2debff26a301dfaffa7a07aa579d73806c6635f03dd15dcfe1 diff --git a/dev-ruby/rouge/rouge-3.30.0.ebuild b/dev-ruby/rouge/rouge-3.30.0.ebuild new file mode 100644 index 000000000000..0485c8d8378d --- /dev/null +++ b/dev-ruby/rouge/rouge-3.30.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 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/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 ~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" + +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 +} |