1 |
commit: cb81ed453a3f10aebe6118ecec9181036d83df08 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 04:49:34 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 04:49:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb81ed45 |
7 |
|
8 |
dev-ruby/coderay: add 1.1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/coderay/Manifest | 1 + |
14 |
dev-ruby/coderay/coderay-1.1.3.ebuild | 41 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/coderay/Manifest b/dev-ruby/coderay/Manifest |
18 |
index 0efe78a971d..96ebaa024b4 100644 |
19 |
--- a/dev-ruby/coderay/Manifest |
20 |
+++ b/dev-ruby/coderay/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST coderay-1.1.2.tar.gz 220645 BLAKE2B 85405da2b148ae23573abf2c3fcf94a643024756308e83c4cecf0a5edae2fedc4ca7c7bdf8fb5936310f6699ca8f06f91cceb475e00511a54af0a96dd517c234 SHA512 cfce5e9f0a0d988e7920912e064ecbef3b54200a08ca2e07453452edd7f382a1eb9292bc566e069f5d1b784033e816f13d9ddfb39520e8e44a8d1e898aa33591 |
23 |
+DIST coderay-1.1.3.tar.gz 229139 BLAKE2B a900cc5fbac950f66814d9300876d6a273b296d07139297d5344d26c5710d23c37761e5743ef972f523afa20fa663f239c03d9d2ad47232b77e53fe5053736f0 SHA512 a5208965e8dbad53d179fdc1c57df59ba4e13522a1a57c371ccd3f9369408a1c7d878867df48b201a1d590b46ef0f9bada3f3e7810866f17d244b5b370aba3fb |
24 |
|
25 |
diff --git a/dev-ruby/coderay/coderay-1.1.3.ebuild b/dev-ruby/coderay/coderay-1.1.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..8f6f8414aeb |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/coderay/coderay-1.1.3.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
37 |
+ |
38 |
+# The test target also contains test:exe but that requires |
39 |
+# shoulda-context which we do not have packaged yet. |
40 |
+RUBY_FAKEGEM_TASK_TEST="test:functional test:units" |
41 |
+ |
42 |
+RUBY_FAKEGEM_TASK_DOC="doc" |
43 |
+RUBY_FAKEGEM_DOCDIR="doc" |
44 |
+ |
45 |
+RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown" |
46 |
+ |
47 |
+RUBY_FAKEGEM_GEMSPEC="coderay.gemspec" |
48 |
+ |
49 |
+inherit ruby-fakegem |
50 |
+ |
51 |
+DESCRIPTION="A Ruby library for syntax highlighting" |
52 |
+HOMEPAGE="http://coderay.rubychan.de/" |
53 |
+SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
58 |
+IUSE="" |
59 |
+ |
60 |
+# Redcloth is an optional but automagically tested dependency. This |
61 |
+# requires redcloth-4.2.2. We don't depend on this version to make |
62 |
+# bootstrapping rspec with new versions easier, since redcloth depends |
63 |
+# on rake-compiler. |
64 |
+ |
65 |
+all_ruby_prepare() { |
66 |
+ sed -i -e "/[Bb]undler/d" Rakefile || die |
67 |
+ sed -i -e '/git ls-files/ s:^:#:' coderay.gemspec || die |
68 |
+ |
69 |
+ # Fix failing tests for lazy evaluation in ruby26 |
70 |
+ sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die |
71 |
+} |