1 |
commit: 00dcb842ef47a840b396bd8053fe86f535fb983f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 14 18:17:23 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 14 18:18:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00dcb842 |
7 |
|
8 |
www-apps/nanoc: add 4.11.2 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
www-apps/nanoc/Manifest | 1 + |
14 |
www-apps/nanoc/nanoc-4.11.2.ebuild | 90 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 91 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest |
18 |
index 11bfa7b27fa..090997c2268 100644 |
19 |
--- a/www-apps/nanoc/Manifest |
20 |
+++ b/www-apps/nanoc/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST nanoc-4.10.4.tar.gz 290367 BLAKE2B 0b5cf03938af1f971fccddb6bed4fa6b67da3aaf93cb7666c52e3ff8fc524f17ff10bf1a60ccf7f7b59f840d4c445ef57677349f5b83bc55e754e7078ac4b8d9 SHA512 5446e351906b5b6bbe5c9059dab86490d5deef5e1197adf5827fe201f2932d5cf79c65bfd9d9370ce57c35d965e013098d39d53fa96db8b4d1c6017977683ea2 |
23 |
DIST nanoc-4.11.0.tar.gz 291654 BLAKE2B ab88bf36b472106f356ae67782dac61f691e0d64646f410ae0cceca7a9df11689dd7a011bf58a773d6b35956f0092deac4db43bb8663d66463b72e10da27c658 SHA512 357345c9247465bd470bf6c71ea2b16e3415680fad6a4d4ee755eeb3a1443664590753003a5de0a740ffcfbaf93049c2c12c1f22de052f4d6efc2382430a4e08 |
24 |
+DIST nanoc-4.11.2.tar.gz 302927 BLAKE2B 206142cc13468c3456dfd141bb031791c3d6aa31b81cca04493519e8b44d7bc82d6837d266a0edecc58c0e635cee7428bfdf0d5428de7d5e6fb6eacebb09d45e SHA512 842703e5218c06e817ce188458ee0e9267467b92219dd566fda9d58cd21ec9842bbc011b8f2faa7854caf39af1379c2eae16a3e3b73c53f2c8af6b8851c7c8b9 |
25 |
|
26 |
diff --git a/www-apps/nanoc/nanoc-4.11.2.ebuild b/www-apps/nanoc/nanoc-4.11.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..02aaf44b073 |
29 |
--- /dev/null |
30 |
+++ b/www-apps/nanoc/nanoc-4.11.2.ebuild |
31 |
@@ -0,0 +1,90 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+USE_RUBY="ruby24 ruby25" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" |
45 |
+HOMEPAGE="https://nanoc.ws/" |
46 |
+SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+LICENSE="MIT" |
48 |
+ |
49 |
+KEYWORDS="~amd64" |
50 |
+SLOT="0" |
51 |
+IUSE="${IUSE} minimal" |
52 |
+ |
53 |
+DEPEND+="test? ( app-text/asciidoc app-text/highlight )" |
54 |
+ |
55 |
+RUBY_S="${P}/nanoc" |
56 |
+ |
57 |
+ruby_add_rdepend "!minimal? ( |
58 |
+ dev-ruby/mime-types:* |
59 |
+ dev-ruby/rack:* |
60 |
+ www-servers/adsf |
61 |
+) |
62 |
+ >=dev-ruby/addressable-2.5 |
63 |
+ >=dev-ruby/cri-2.15:0 |
64 |
+ ~www-apps/nanoc-core-${PV} |
65 |
+ >=dev-ruby/parallel-1.12:1 |
66 |
+ >=dev-ruby/slow_enumerator_tools-1.1.0:1 |
67 |
+ >=dev-ruby/tomlrb-1.2:1" |
68 |
+ |
69 |
+ruby_add_bdepend "test? ( |
70 |
+ dev-ruby/rspec:3 |
71 |
+ dev-ruby/asciidoctor |
72 |
+ dev-ruby/fuubar |
73 |
+ dev-ruby/haml |
74 |
+ dev-ruby/maruku |
75 |
+ >=dev-ruby/mocha-0.13 |
76 |
+ dev-ruby/minitest |
77 |
+ dev-ruby/mustache |
78 |
+ dev-ruby/pry |
79 |
+ dev-ruby/rdoc |
80 |
+ dev-ruby/rouge:2 |
81 |
+ dev-ruby/rubypants |
82 |
+ dev-ruby/systemu |
83 |
+ dev-ruby/timecop |
84 |
+ dev-ruby/vcr |
85 |
+ dev-ruby/webmock |
86 |
+ dev-ruby/yard |
87 |
+) |
88 |
+doc? ( |
89 |
+ dev-ruby/kramdown |
90 |
+ dev-ruby/rdiscount |
91 |
+ dev-ruby/yard |
92 |
+)" |
93 |
+ |
94 |
+all_ruby_prepare() { |
95 |
+ # Avoid unneeded development dependencies |
96 |
+ sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' test/helper.rb || die |
97 |
+ sed -i -e '/simplecov/I s:^:#:' \ |
98 |
+ -e '/codecov/I s:^:#:' ../common/spec/spec_helper_head_core.rb || die |
99 |
+ sed -i -e '/coverall/I s:^:#:' \ |
100 |
+ -e '/rubocop/ s:^:#:' Rakefile || die |
101 |
+ |
102 |
+ echo "-r ./spec/spec_helper.rb" > .rspec || die |
103 |
+ |
104 |
+ # Avoid tests requiring a network connection |
105 |
+ rm -f test/checking/checks/test_{css,html}.rb || die |
106 |
+ |
107 |
+ # Avoid tests for unpackaged dependencies |
108 |
+ rm spec/nanoc/deploying/fog_spec.rb \ |
109 |
+ spec/nanoc/filters/less_spec.rb \ |
110 |
+ test/filters/test_{markaby,rainpress}.rb || die |
111 |
+ |
112 |
+ # Avoid non-fatal failing tests due to specifics in the environment |
113 |
+ sed -i -e '145askip "gentoo"' spec/nanoc/cli/error_handler_spec.rb || die |
114 |
+ sed -i -e '/does not crash when output dir does not exist and/askip "gentoo"' spec/nanoc/cli/commands/view_spec.rb || die |
115 |
+ sed -i -e '/watches with --watch/askip "gentoo"' spec/nanoc/cli/commands/compile_spec.rb || die |
116 |
+ sed -i -e '124askip "ordering issues"' -e '168askip "ordering issues"' spec/nanoc/data_sources/filesystem_spec.rb || die |
117 |
+} |
118 |
+ |
119 |
+each_ruby_test() { |
120 |
+ RUBYLIB="${S}/lib" ${RUBY} -S rake spec test_all || die |
121 |
+} |