1 |
commit: 84b1571bf7ca22e07a5825f97ff46058285eb87e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 29 06:27:56 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 09:06:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b1571b |
7 |
|
8 |
www-apps/nanoc-core: add 4.11.12 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
www-apps/nanoc-core/Manifest | 1 + |
14 |
www-apps/nanoc-core/nanoc-core-4.11.12.ebuild | 65 +++++++++++++++++++++++++++ |
15 |
2 files changed, 66 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest |
18 |
index 0fabc9b029b..2f4a2c6a08e 100644 |
19 |
--- a/www-apps/nanoc-core/Manifest |
20 |
+++ b/www-apps/nanoc-core/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST nanoc-core-4.11.10.tar.gz 308049 BLAKE2B 8b587245d9935dad34bc0912ba65200cc6f3e8ebda00e21fc3c30e367264076d17d64fe9cc762c5ec11ab9624695f66132d5a69b29dcbf9f85fc7b0d57828592 SHA512 f4997b03834966fbda5aa28c392712ed53dda4f3d3b70b52d73e96c39612158c88f24543e0bcf74cea8ba24d108e2d64026ce3d4364f6eabbc9034ca5adf4814 |
23 |
DIST nanoc-core-4.11.11.tar.gz 308375 BLAKE2B aed881153fb57561b62e5c5efb771777e3944232f5963dcf8bf5461802c7767b14776c161aa19bd0905b6ff5f91932d6b2ef2f0a90594e530beeac201e413568 SHA512 6db50ffb5b91e74e3d830fc8c154dcadec35376c18d8c8b909799b1d51031d307f70113f2319b1a5163ba746a2304a1aa3949e414a50e02e7396d5fd26e15a3f |
24 |
+DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340 SHA512 0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863 |
25 |
|
26 |
diff --git a/www-apps/nanoc-core/nanoc-core-4.11.12.ebuild b/www-apps/nanoc-core/nanoc-core-4.11.12.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ccc331cdd62 |
29 |
--- /dev/null |
30 |
+++ b/www-apps/nanoc-core/nanoc-core-4.11.12.ebuild |
31 |
@@ -0,0 +1,65 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby24 ruby25 ruby26" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" |
39 |
+ |
40 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
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="nanoc-${PV}/nanoc-core" |
56 |
+ |
57 |
+ruby_add_rdepend " |
58 |
+ dev-ruby/ddmemoize:1 |
59 |
+ dev-ruby/ddmetrics:1 |
60 |
+ dev-ruby/ddplugin:1 |
61 |
+ =dev-ruby/hamster-3* |
62 |
+ >=dev-ruby/json_schema-0.19:0 |
63 |
+ dev-ruby/slow_enumerator_tools:1 |
64 |
+ >=dev-ruby/zeitwerk-2.1:2 |
65 |
+" |
66 |
+ |
67 |
+ruby_add_bdepend "test? ( |
68 |
+ dev-ruby/bundler |
69 |
+ dev-ruby/rspec:3 |
70 |
+ dev-ruby/rspec-its |
71 |
+ dev-ruby/fuubar |
72 |
+ dev-ruby/minitest |
73 |
+ dev-ruby/timecop |
74 |
+ dev-ruby/yard |
75 |
+) |
76 |
+" |
77 |
+ |
78 |
+all_ruby_prepare() { |
79 |
+ # Avoid unneeded development dependencies |
80 |
+ sed -i -e '/simplecov/I s:^:#:' \ |
81 |
+ -e '/codecov/I s:^:#:' ../common/spec/spec_helper_head_core.rb || die |
82 |
+ sed -i -e '/coverall/I s:^:#:' \ |
83 |
+ -e '/rubocop/ s:^:#:' Rakefile || die |
84 |
+ sed -i -e '1i require "tmpdir"; require "pathname"' spec/spec_helper.rb || die |
85 |
+ |
86 |
+ echo "-r ./spec/spec_helper.rb" > .rspec || die |
87 |
+ |
88 |
+ sed -i -e "s:require_relative 'lib:require './lib:" ${RUBY_FAKEGEM_GEMSPEC} || die |
89 |
+ |
90 |
+ # Use useable tmp dir |
91 |
+ sed -i -e 's:/tmp/whatever:'${T}'/whatever:' spec/nanoc/core/checksummer_spec.rb || die |
92 |
+} |
93 |
+ |
94 |
+each_ruby_test() { |
95 |
+ RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die |
96 |
+} |