summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-09-04 07:16:20 +0200
committerHans de Graaff <graaff@gentoo.org>2017-09-04 07:16:20 +0200
commit0bf01bd8db624126ee022c18199ad945c61d730b (patch)
tree693c48fef90cd4584ee7d43198f30d8a019ef701 /dev-ruby/coderay
parentapp-emulation/xen: security bump (diff)
downloadgentoo-0bf01bd8db624126ee022c18199ad945c61d730b.tar.gz
gentoo-0bf01bd8db624126ee022c18199ad945c61d730b.tar.bz2
gentoo-0bf01bd8db624126ee022c18199ad945c61d730b.zip
dev-ruby/coderay: add 1.1.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/coderay')
-rw-r--r--dev-ruby/coderay/Manifest1
-rw-r--r--dev-ruby/coderay/coderay-1.1.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/coderay/Manifest b/dev-ruby/coderay/Manifest
index e2d7ed149e27..e204719ce375 100644
--- a/dev-ruby/coderay/Manifest
+++ b/dev-ruby/coderay/Manifest
@@ -1,2 +1,3 @@
DIST coderay-1.1.0.tar.gz 242639 SHA256 a33f6490aacd1d035fa82e2c1fe88b0e2c9553c1f7d24b813ca2b4d73804342f SHA512 9443a629bf60b7f888198ebfc72f012cceda5c9cb3e14204b3d025807dc4cb0ca0896869ae1cc89f1aa87a7c0e84830cb03aee2c4da4fd80326606a0e22b2031 WHIRLPOOL 50c5b6d07e803bfd7e14c10b0f583657f2b95dc548a748a8d677b80c49480110e9e763bdd6fe376bf58b1992a61a93e88ba2b5476ce9437e41a8d1fc5addc745
DIST coderay-1.1.1.tar.gz 220111 SHA256 75736cb542a8fb355943f8f256c690b5b79171c2a5569d9abca305c6ac803e60 SHA512 850cd1db29b90455f329fd2eec7ddf8f0556469162d9abb8579c8e3a7d19f4aee15185d4846b0d5f74016e1dd66eef78d06155684c64040706e4cf121d05c5c9 WHIRLPOOL 15a517cfa52fa3b9cb7a9f2491de4635517f2c96d9903ce0265d54d5214f7c70e429b4a583bea27c58a1193594ff645c71242f0841bd7551c8cfe373753804d3
+DIST coderay-1.1.2.tar.gz 220645 SHA256 20b83bbe9009fe47aa7a90d514ba2670d161d7ae57265b5e5e2ab98eaa377a3b SHA512 cfce5e9f0a0d988e7920912e064ecbef3b54200a08ca2e07453452edd7f382a1eb9292bc566e069f5d1b784033e816f13d9ddfb39520e8e44a8d1e898aa33591 WHIRLPOOL e0823e864be015805b8961acafe869195b46fd527dfaa782d53bbb8051dfcefbb30a97c4d4f68669b5582b0c837bdec27b1a9572ef7976907ba8227d9a389b7f
diff --git a/dev-ruby/coderay/coderay-1.1.2.ebuild b/dev-ruby/coderay/coderay-1.1.2.ebuild
new file mode 100644
index 000000000000..1dafd40ca042
--- /dev/null
+++ b/dev-ruby/coderay/coderay-1.1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+# The test target also contains test:exe but that requires
+# shoulda-context which we do not have packaged yet.
+RUBY_FAKEGEM_TASK_TEST="test:functional test:units"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library for syntax highlighting"
+HOMEPAGE="http://coderay.rubychan.de/"
+SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+# Redcloth is an optional but automagically tested dependency. This
+# requires redcloth-4.2.2. We don't depend on this version to make
+# bootstrapping rspec with new versions easier, since redcloth depends
+# on rake-compiler.
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" Rakefile || die
+ sed -i -e '/git ls-files/ s:^:#:' coderay.gemspec || die
+}