diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-02-06 07:34:36 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-02-06 07:34:36 +0100 |
commit | 8981ae0f94b8f09cc30ee25d76d41cbcf7d74ef2 (patch) | |
tree | 4b8ea11509775e4c31b35e3c7ee3c2173e83a8b7 /dev-ruby | |
parent | sys-kernel/rt-sources: bump 5.4.170-rt68 (diff) | |
download | gentoo-8981ae0f94b8f09cc30ee25d76d41cbcf7d74ef2.tar.gz gentoo-8981ae0f94b8f09cc30ee25d76d41cbcf7d74ef2.tar.bz2 gentoo-8981ae0f94b8f09cc30ee25d76d41cbcf7d74ef2.zip |
dev-ruby/rouge: add 3.28.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rouge/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rouge/rouge-3.28.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index 59c9037f9904..9b8f87f34f38 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -1,3 +1,4 @@ DIST rouge-3.26.0.tar.gz 971871 BLAKE2B 9739c229788d615f4875caf5d38c91ca30b4fe5703c577b2e7aa5d54bd625f33e998ee887d375d357e72c9f05ac9a284b88ce7902c6fae422e8196098a993259 SHA512 bd6006b11924b3705dc142922878dc87af25ceed8a153ad9691ad2595144ae1f3f909574799002601928e985a6650fe4c8d93e05a1e8e26bdb10e9b2f9a28765 DIST rouge-3.26.1.tar.gz 972469 BLAKE2B 48f7741d69ce6470235ba4f469b8a37b6bac409a68ba44bce3d60f3ffc4d3cd7a1e3fc4358e4f7a4f27b27653e4525767749da5d7949a1208810f2634be2f331 SHA512 4b5d5a840dab75579e2fb10b4d86fde647ccf183b2fe496463a6ab14dfc9022fa44be9ac75e5f792bf3f2102477a40aafb5fe4694e59bfe9786d3a2d70ddb9f6 DIST rouge-3.27.0.tar.gz 981023 BLAKE2B f0e22bf37563fc12d5308dc13c8de8230dd366eaafa12a7e3a387d4bea108fb14001b0b570e9cf8e2ffba317c7821c3b5f3f1cc0505e39e8057af5b438207235 SHA512 6f35c7bafa18c77a11131700fb8baac1f646be467224b9b863cafcf2445c54605c031009b14b57d95ad72b9311160e9d02e6b4a2bb2682ac4f5e88772a7cc695 +DIST rouge-3.28.0.tar.gz 993680 BLAKE2B 38b360bc282887913e24e8ebd5463d792d03f55e70553f93b12ee94c7e1ed9d6d2ac3d084c21d21a59480a1669b552bc10b42ec2d0e63b167f142b241ce884db SHA512 a6cb87ef7ec1eae94f127ef615b77830581d1e3a2f690e852effafd146e4456e6c931f843e9df068a750b69af8a6d8d958277d94e16550e016a58412caeba7d7 diff --git a/dev-ruby/rouge/rouge-3.28.0.ebuild b/dev-ruby/rouge/rouge-3.28.0.ebuild new file mode 100644 index 000000000000..41af5364c7ff --- /dev/null +++ b/dev-ruby/rouge/rouge-3.28.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" + +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 ~ppc ~ppc64 ~riscv ~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 +} |