summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-20 07:41:29 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-20 07:41:29 +0200
commitabf916acbf5463ca51f853946761fc37b5432ac6 (patch)
tree97c64a409cbc93c2b90b7cbd83cb697a9c972e1a
parentdev-ruby/rouge: move ~arm and ~x86 keywords forward (diff)
downloadgentoo-abf916acbf5463ca51f853946761fc37b5432ac6.tar.gz
gentoo-abf916acbf5463ca51f853946761fc37b5432ac6.tar.bz2
gentoo-abf916acbf5463ca51f853946761fc37b5432ac6.zip
dev-ruby/rouge: add 3.11.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rouge/Manifest1
-rw-r--r--dev-ruby/rouge/rouge-3.11.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest
index bb5c22b197c..08ed2e89e44 100644
--- a/dev-ruby/rouge/Manifest
+++ b/dev-ruby/rouge/Manifest
@@ -1,3 +1,4 @@
DIST rouge-3.10.0.tar.gz 780864 BLAKE2B c5761806fa27e8bc83d51a3d85a62a63b33212bb2958bfd161c344285712692d8b1dfc6a3aa3328738b5f9de9a02508050e3fa5b9324220d9b54e3bbc17a22bf SHA512 4ec1ea86db8a3df98a2cc2152ec55f301799fdb40c9a4b8d178b9fedadee576ec7c15ebb21b397cae5c95ad4e126cd21a457f3cc8d14408bac860e3997cf34c1
+DIST rouge-3.11.0.tar.gz 788545 BLAKE2B f6f5782f620b76236f66b3b59248eda345d41383dfd8d4ed782e3c61c24226135abe70f906a337497242ade14b6cfb33f904de7c12ca2ff538daf37189568ff0 SHA512 4cdc85c543bc9303778940300c76e7863c67534cca91bd35135ef3abfc107c4ff0d7289aad2980f685b6bc716b74907fe029bf65f6cc2362a4ae048a0d8b6191
DIST rouge-3.8.0.tar.gz 755720 BLAKE2B aca1ccbd601ee080958ccf09ab8932dc556065945f4cc2ee9b9bf5531ff41cec676005b0c7540aa058b3346c5eabac4351dd6a291ff148c9b5dfc682f7579336 SHA512 16a1cf9e9eae466c55f236f10d10bf0f5f4d523f6a680c1130b02115384691c1e2fbb14b59a6be1b9df77cc67fdb0ffe026cff6d0150230afe53f26b4c254dde
DIST rouge-3.9.0.tar.gz 771945 BLAKE2B 855a9a7b7bc5af5c19265570d7cfbb699ac3c9e355ef1a0ccba2a8a5e93ccf3dac5bc1c6e8ab1e251c29eb4eada403862c31f905d6de86bd3b6ae1d1868231c0 SHA512 da132ed07889f6dfda9199cfd6eb8f1af8e0c68b666452f0bafc86417bc153d11967138de49f299f4ae9d2f868dd7349a4089b235fceea80e32b1af3e3200172
diff --git a/dev-ruby/rouge/rouge-3.11.0.ebuild b/dev-ruby/rouge/rouge-3.11.0.ebuild
new file mode 100644
index 00000000000..5ede80c934a
--- /dev/null
+++ b/dev-ruby/rouge/rouge-3.11.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 ~x86"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/redcarpet )
+ test? ( dev-ruby/minitest-power_assert )
+"
+
+ruby_add_rdepend "dev-ruby/redcarpet"
+
+all_ruby_prepare() {
+ rm -f tasks/update/changelog.rake || die
+
+ sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die
+ sed -i -e '/\(changelog\|bundler\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die
+}