summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-05-05 07:46:01 +0200
committerHans de Graaff <graaff@gentoo.org>2018-05-05 09:29:20 +0200
commitb18ee59e62bdafa5abacdb2e9c74b3838e09bcb8 (patch)
tree72ac62a02ff40cfe5ddec4eca2107de39dc8b70b /dev-ruby/rouge
parentdev-ruby/rouge: add 2.2.1 (diff)
downloadgentoo-b18ee59e62bdafa5abacdb2e9c74b3838e09bcb8.tar.gz
gentoo-b18ee59e62bdafa5abacdb2e9c74b3838e09bcb8.tar.bz2
gentoo-b18ee59e62bdafa5abacdb2e9c74b3838e09bcb8.zip
dev-ruby/rouge: add 3.1.1 and allow install of both slots
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/rouge')
-rw-r--r--dev-ruby/rouge/Manifest1
-rw-r--r--dev-ruby/rouge/rouge-1.11.1-r2.ebuild29
-rw-r--r--dev-ruby/rouge/rouge-3.1.1.ebuild27
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest
index 0fcfb47311d1..7024d599478d 100644
--- a/dev-ruby/rouge/Manifest
+++ b/dev-ruby/rouge/Manifest
@@ -1,3 +1,4 @@
DIST rouge-1.11.1.tar.gz 491281 BLAKE2B dbdc4c874f1f8fb03fc8f5c368539ea218fb4f7de36e73718bef5f657509990a634a3520d0c689db85de5f7bda6f7ae79103b2e8a1e44f6314c2253491fbd8cc SHA512 0419c4c1ca4fa4acc250349d9fd72164c7f293facc31588e5cffb533f3d321787cd3cc50acd7bfd13037d1ba77ee2f91ec37ddaeeb80180f6958f05d52181f56
DIST rouge-2.2.0.gem 271872 BLAKE2B 19908066b3e83b27af595e49d23eff381b2a551105dcab0576be9d1327b2a182da12c327b64a27207d9c458eca69ae451bd92f4b6ea5bf98dfcf1d2052314811 SHA512 5e2eedd1a35fff7dfb241d8d47d767ceb8f58c024c852830a97313dbec099ecc21e22ef20a167f48eadae351c113a69276cf6a02b9572225a06884dac438ce86
DIST rouge-2.2.1.gem 281088 BLAKE2B 03b9ee015e3e9aa6af1572a2dd85d999e89913c0406c8d81a09df87bb24b535abdc10d7d96d6ef135fee54b592f6fefed5b32f4e7fb08fefc7c56a0833fc94a8 SHA512 98cfa6dd85fad2272374798d49922f2e4759a416f4d0aa9ac26593160a3eb6754f689fd03930b7e1276b239b839ddaf660b064c942102af323ede32862e23b73
+DIST rouge-3.1.1.gem 282624 BLAKE2B 07074cda2634330fe26bedc370c85967f892fa239160f594ef57cb2d577812b025eda066e703b165ff72b491f718b0046afeeae7a9377ccef0315939193d1485 SHA512 3132dd891e66bbf557953bb7d0ab95be6d6978b75b37ba1ba50f2471aee1666d4228c253dbedd4a12fab6b584bba85d2327d6437788f0a9001248d9a4be1bf7c
diff --git a/dev-ruby/rouge/rouge-1.11.1-r2.ebuild b/dev-ruby/rouge/rouge-1.11.1-r2.ebuild
new file mode 100644
index 000000000000..cd22a64c59ad
--- /dev/null
+++ b/dev-ruby/rouge/rouge-1.11.1-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+RUBY_FAKEGEM_TASK_TEST="spec"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+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="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/redcarpet )"
+ruby_add_rdepend "dev-ruby/redcarpet"
+
+RESTRICT="test"
+# Depends on dev-ruby/wrong, which is not packaged yet.
diff --git a/dev-ruby/rouge/rouge-3.1.1.ebuild b/dev-ruby/rouge/rouge-3.1.1.ebuild
new file mode 100644
index 000000000000..9acd15d5cec8
--- /dev/null
+++ b/dev-ruby/rouge/rouge-3.1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+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 ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/redcarpet )"
+ruby_add_rdepend "dev-ruby/redcarpet
+ !!<dev-ruby/rouge-1.11.1-r2:0"
+
+RESTRICT="test"
+# Depends on dev-ruby/minitest-power_assert, which is not packaged yet.