summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-09-24 07:08:16 +0200
committerHans de Graaff <graaff@gentoo.org>2024-09-24 07:09:03 +0200
commit04b4a1fc41cfbaec00cc20d32ad1003c96ac6df8 (patch)
treec2d290796ee8b362f1da900820cae7354c0dbb06 /dev-ruby
parentdev-ruby/faraday: add 2.12.0 (diff)
downloadgentoo-04b4a1fc41cfbaec00cc20d32ad1003c96ac6df8.tar.gz
gentoo-04b4a1fc41cfbaec00cc20d32ad1003c96ac6df8.tar.bz2
gentoo-04b4a1fc41cfbaec00cc20d32ad1003c96ac6df8.zip
dev-ruby/rouge: add 4.4.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-4.4.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest
index 405e35feab1c..8e2a0cefd3bd 100644
--- a/dev-ruby/rouge/Manifest
+++ b/dev-ruby/rouge/Manifest
@@ -4,3 +4,4 @@ DIST rouge-4.1.3.tar.gz 1056133 BLAKE2B 4c5134caf28c5bc5f8edc5aef903139f86bc6ded
DIST rouge-4.2.0.tar.gz 1059813 BLAKE2B b6add86c73729ed3df8f24ff2b454c520416f0640e090ca04372f8f00184bbf432119993ea6b809e1aec50899bd05bccebde0ca6d35f420c8d2a1e57c61a84d2 SHA512 b0dd5fb3ec2ebb1e7cd50460ea589026e70e5ee8b7b55a9a9c48990f22d3845a5a1bb7ce83001f5316852568c8bc7bca3ee2db9deacd60cde2b42ea9ba391d18
DIST rouge-4.2.1.tar.gz 1061430 BLAKE2B 8dcaf5f4ef17e5e44eaa3251877ddd44d8a99a36e2b7e0624910de2c21e0272b7f1f022257136be5090eebe3cab826eed7a740e5cbe50bbdd72dcd0aad9eb955 SHA512 3545e41e5815acf96fc2e48531bebf50424425bbc13816daf03376882f41319905db6fee609b2bea5c629c6056cb50ae40dd7e3dcd088cc7403506cbde5351f7
DIST rouge-4.3.0.tar.gz 1064294 BLAKE2B 8ec161f4b94d4a37bf29fc995d80c44ee39fe179a6ea3efb1ff3853b7aeac413efeb2b5ad596314c06e90dc0b42887967a0c350f37812e5c976734ac3d33cdb7 SHA512 6546c3062e38b059936c6af8aa8b872049a416b9c1a28fb4dba144427b567102f0bc6f71275f5b995378e51abad9c5b30186b6722e17a4eed4928c16bebf8e18
+DIST rouge-4.4.0.tar.gz 1071280 BLAKE2B 41bc0ed85589870e0389809c5c0d39de5498c1847c6fd79713873fd690da114e6ba7c2058f7ac37872e6090996d6ce3ffcb268751d462df1fa2dc94443939c17 SHA512 c1b7d10a719c58b889a9b5104ca8cbf02ad3ba8bfa8c73ef2cf2e654467e00c93d23d8344e098073ecfbf7c197b02a70be0984d3b0b2000d253a4d308302d882
diff --git a/dev-ruby/rouge/rouge-4.4.0.ebuild b/dev-ruby/rouge/rouge-4.4.0.ebuild
new file mode 100644
index 000000000000..dd5ef6a25191
--- /dev/null
+++ b/dev-ruby/rouge/rouge-4.4.0.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
+}