commit: 824aef09a11420d096e75119f67bf16eb2df95de Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Feb 16 07:47:49 2020 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Feb 17 06:04:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824aef09
dev-ruby/rouge: add 3.16.0 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/rouge/Manifest | 1 + dev-ruby/rouge/rouge-3.16.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest index a4eca14f020..61268e2cd72 100644 --- a/dev-ruby/rouge/Manifest +++ b/dev-ruby/rouge/Manifest @@ -4,4 +4,5 @@ DIST rouge-3.12.0.tar.gz 790763 BLAKE2B 8572c8d89f7f16bb6a5d5b3119abac7c13779fce DIST rouge-3.13.0.tar.gz 793330 BLAKE2B 5046eaf2a6bbb61f1d19c74d98027fdd32747f84dcdac40f1d6ee34fdc46194b885ab2d1e9ed1c3bbd42b6ba6102632ea457181c844781f31f5f92ca6c0cb09e SHA512 01a8244a9a1aa4a28b97037edbcd7a43f8a812dabfcaeb08dedd0ca1a05dd96fc622aad0dedac991bc54c18a62466548403bba9c740f5f1c4b67d49b5dbe2d8e DIST rouge-3.14.0.tar.gz 796072 BLAKE2B d861e0b4e5bbbba5e259c44cf47d8c358eb6e9a07bd228e1170f9e430661b5c758139aaaa183400b4bcde8b857cadafce5d2e89b889d63ab28202bf14967d51f SHA512 11d5e9dda54442905be1a1aceab67f81d0a8f2c4a0950b61b28bce4004ae206e1f8da5503ef33cb2a2684bc1579ef4f2df3db6945ba2d1ca995040574b897762 DIST rouge-3.15.0.tar.gz 808783 BLAKE2B eaf5a151e90430b344e75e7576af5e77258d0e9c5bec04e92ef64d36ee0d6b5276a51b7b60cf046bbf7870b0627d20bf0bde9715ae7225013b24d5803319225c SHA512 1897a066ca1cce4fda4ef5d74dfa4931acd14156d6bf84d4aecb7e785bef812ef579fce7c16ee9fd6999272020b32bf0f9992ca3af423c3c1432a65f9b010811 +DIST rouge-3.16.0.tar.gz 815138 BLAKE2B 9106bb9f62b0aa9ad879f6982389e0690eb1ed87e59a71ace601d38c680bac836001f632004ded9a718724f5efc96009b8f41d82a788570df7e04ec0098546c7 SHA512 f229feb414d3aac6db62d208f601828ff64a7d303b11df55c33e7fb0371cdbda5ce7312958ba8b1f886e3521c8beb465d62a042ef418f0e2f87808685321a58c DIST rouge-3.8.0.tar.gz 755720 BLAKE2B aca1ccbd601ee080958ccf09ab8932dc556065945f4cc2ee9b9bf5531ff41cec676005b0c7540aa058b3346c5eabac4351dd6a291ff148c9b5dfc682f7579336 SHA512 16a1cf9e9eae466c55f236f10d10bf0f5f4d523f6a680c1130b02115384691c1e2fbb14b59a6be1b9df77cc67fdb0ffe026cff6d0150230afe53f26b4c254dde diff --git a/dev-ruby/rouge/rouge-3.16.0.ebuild b/dev-ruby/rouge/rouge-3.16.0.ebuild new file mode 100644 index 00000000000..1ce32a97ce3 --- /dev/null +++ b/dev-ruby/rouge/rouge-3.16.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +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 ~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 +}