summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-06-02 06:56:32 +0200
committerHans de Graaff <graaff@gentoo.org>2022-06-02 06:56:32 +0200
commita5ea80fe83ae38d949ba16823b6c6289a7cb0a24 (patch)
tree670a7e98d9a9504292476ea7a1fc76a4f9443a9a /dev-ruby
parentnet-misc/rsync: Stabilize 3.2.4-r1 arm64, #849155 (diff)
downloadgentoo-a5ea80fe83ae38d949ba16823b6c6289a7cb0a24.tar.gz
gentoo-a5ea80fe83ae38d949ba16823b6c6289a7cb0a24.tar.bz2
gentoo-a5ea80fe83ae38d949ba16823b6c6289a7cb0a24.zip
dev-ruby/rouge: add 3.29.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rouge/Manifest1
-rw-r--r--dev-ruby/rouge/rouge-3.29.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest
index 9b8f87f34f38..038131763d18 100644
--- a/dev-ruby/rouge/Manifest
+++ b/dev-ruby/rouge/Manifest
@@ -2,3 +2,4 @@ DIST rouge-3.26.0.tar.gz 971871 BLAKE2B 9739c229788d615f4875caf5d38c91ca30b4fe57
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
+DIST rouge-3.29.0.tar.gz 1024187 BLAKE2B ee29f9d22211dec38ec2fdd49da4dbd28957876e2324c72e6d4d58748adc4fac8ad1b0788537e0e49fb80ca41a7e2c788ab91d435d71a85e8b42858c2a19d975 SHA512 632b8c5e1454981842984b42626139b2f0041449301b706d884f347ca247d40dccd9bbab9e30c1af379e1d47b8b5c29a1ba30d28c5ecd6f47d00a3ee5af8ce92
diff --git a/dev-ruby/rouge/rouge-3.29.0.ebuild b/dev-ruby/rouge/rouge-3.29.0.ebuild
new file mode 100644
index 000000000000..f5df182ee440
--- /dev/null
+++ b/dev-ruby/rouge/rouge-3.29.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 ~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
+}