1 |
commit: aa0533c64e0c12176c83fd9813283d207322cc7a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 15 10:13:01 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 15 10:13:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa0533c6 |
7 |
|
8 |
www-apps/jekyll: add 4.1.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
www-apps/jekyll/Manifest | 1 + |
14 |
www-apps/jekyll/jekyll-4.1.1.ebuild | 89 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 90 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest |
18 |
index ccf5fb94f9c..5f7915f13ed 100644 |
19 |
--- a/www-apps/jekyll/Manifest |
20 |
+++ b/www-apps/jekyll/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST jekyll-3.8.5.tar.gz 852490 BLAKE2B 3831c68c8c17b5ca14521988572849b89c8cd37f3fa4d7048adb7e25319f59a31e6174a6d25fb5ba4d33c919389f3a30cb28274cddd29ea644ec5d5aa11875e7 SHA512 2cd6bb8786fa2efc249457f72e9e1a3dc76c61a23d2ed8388fef56f1bd576897260b199edb393eb358cfe3a0b26487e40cc2fd3502c52cc9c828839b9eef624d |
23 |
DIST jekyll-4.1.0.tar.gz 1397143 BLAKE2B f7021fdc418acefa1b7e92318225ff8afff8dd84a0134906bb48ae461a94e4a71a8d0de0800ea489a3bd3eb7bfa36be4b8781e4c89729d5adc9e8ddc3b711dc3 SHA512 fdd9b28ff065a1dbe78f197c618bdd00bfeb37f66983c55ce971edcc96c3af39d926ec64b3866084dc8c21a56764ecdfb61d954123b15fe41a9de68fc951dc48 |
24 |
+DIST jekyll-4.1.1.tar.gz 1398438 BLAKE2B ac207d58b155e069fda40b4598d441d8fb88f22e85740082829d018dc9cefe51ca636b23a6207c37711c4d26e078f6e4913946599f0200b8e8cb065a9ceff952 SHA512 98c635b54219c9666de6496e76f3a131fc715d650d868049c0fe10d76851a027e0808609c2dce1a138c95eb2fb7e58ef978237a305484071339b4a15d5acc4d5 |
25 |
|
26 |
diff --git a/www-apps/jekyll/jekyll-4.1.1.ebuild b/www-apps/jekyll/jekyll-4.1.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f6aebf2bdaf |
29 |
--- /dev/null |
30 |
+++ b/www-apps/jekyll/jekyll-4.1.1.ebuild |
31 |
@@ -0,0 +1,89 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby25 ruby26" |
37 |
+ |
38 |
+inherit ruby-fakegem |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="README.markdown History.markdown" |
41 |
+RUBY_FAKEGEM_EXTRAINSTALL="features" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
44 |
+ |
45 |
+RUBY_FAKEGEM_BINDIR="exe" |
46 |
+ |
47 |
+DESCRIPTION="A simple, blog aware, static site generator" |
48 |
+HOMEPAGE="https://jekyllrb.com https://github.com/jekyll/jekyll" |
49 |
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm64" |
54 |
+IUSE="test" |
55 |
+ |
56 |
+ruby_add_rdepend " |
57 |
+ >=dev-ruby/addressable-2.4 |
58 |
+ >=dev-ruby/colorator-1.0 |
59 |
+ >=dev-ruby/em-websocket-0.5 |
60 |
+ dev-ruby/i18n:1 |
61 |
+ >=dev-ruby/kramdown-2.1:2 |
62 |
+ dev-ruby/kramdown-parser-gfm:1 |
63 |
+ dev-ruby/liquid:4 |
64 |
+ >=dev-ruby/mercenary-0.4.0 |
65 |
+ >=dev-ruby/pathutil-0.9 |
66 |
+ =dev-ruby/rouge-3* |
67 |
+ >=dev-ruby/safe_yaml-1.0 |
68 |
+ >=dev-ruby/terminal-table-1.8:0 |
69 |
+ >=www-apps/jekyll-sass-converter-2.0 |
70 |
+ >=www-apps/jekyll-watch-2.0 |
71 |
+" |
72 |
+ |
73 |
+ruby_add_bdepend " |
74 |
+ test? ( |
75 |
+ >=dev-ruby/classifier-reborn-2.1.0 |
76 |
+ dev-ruby/launchy |
77 |
+ >=dev-ruby/rdiscount-2.0 |
78 |
+ >=dev-ruby/redcarpet-3.2.3 |
79 |
+ dev-ruby/rspec-mocks |
80 |
+ >=dev-ruby/shoulda-3 |
81 |
+ dev-ruby/test-unit:2 |
82 |
+ www-apps/jekyll-coffeescript |
83 |
+ ) |
84 |
+" |
85 |
+ |
86 |
+all_ruby_prepare() { |
87 |
+ eapply "${FILESDIR}"/jekyll-3.6.0-test-helper.patch |
88 |
+ |
89 |
+ # Drop tests requiring bundler |
90 |
+ sed -i -e '/bundle_message/d' test/test_new_command.rb || die |
91 |
+ rm test/test_plugin_manager.rb || die |
92 |
+ |
93 |
+ # Replace git command in gemspec |
94 |
+ sed -e 's/git ls-files/find -not -type d -print/' \ |
95 |
+ -e 's:_relative ": "./:' \ |
96 |
+ -i $RUBY_FAKEGEM_GEMSPEC || die |
97 |
+ |
98 |
+ # FIXMEs: |
99 |
+ # fails to find fixtures because this requires bundler |
100 |
+ rm test/test_theme.rb || die |
101 |
+ rm test/test_theme_assets_reader.rb || die |
102 |
+ sed -i -e '/^ should.*theme/,/^ end$/d' \ |
103 |
+ -e '/^ should.*theme/,/^ end$/d' test/test_site.rb || die |
104 |
+ sed -i -e '/context "with a theme"/,/^ end/ s:^:#:' test/test_layout_reader.rb || die |
105 |
+ sed -i -e '/normalize paths of rendered items/askip "test-theme"' test/test_liquid_renderer.rb || die |
106 |
+ # partially requires 'toml' |
107 |
+ rm test/test_configuration.rb || die |
108 |
+ # pygments tests fail because of line numbering |
109 |
+ sed -i -e '/^ context.*pygments/,/^ end$/d' test/test_tags.rb || die |
110 |
+ #sed -i -e '/^ context.*pygments/,/^ end$/d' test/test_redcarpet.rb || die |
111 |
+ |
112 |
+ # Tries to use bundler and install packages. |
113 |
+ rm -f test/test_new_command.rb || die |
114 |
+} |
115 |
+ |
116 |
+src_test() { |
117 |
+ local -x JEKYLL_NO_BUNDLER_REQUIRE=true |
118 |
+ |
119 |
+ ruby-ng_src_test |
120 |
+} |