[DRE-commits] [jekyll] 08/17: add 0010-require-openssl.patch 0011-fix-test-pygments.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Sun Jun 5 20:33:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository jekyll.
commit de360a157b1ecc77b9846b10e7a64e81f674c893
Author: Cédric Boutillier <boutil at debian.org>
Date: Sun Jun 5 11:29:59 2016 +0200
add 0010-require-openssl.patch 0011-fix-test-pygments.patch
---
debian/patches/0010-require-openssl.patch | 15 +++++++++++++++
debian/patches/0011-fix-test-pygments.patch | 18 ++++++++++++++++++
debian/patches/series | 2 ++
3 files changed, 35 insertions(+)
diff --git a/debian/patches/0010-require-openssl.patch b/debian/patches/0010-require-openssl.patch
new file mode 100644
index 0000000..3fd41d5
--- /dev/null
+++ b/debian/patches/0010-require-openssl.patch
@@ -0,0 +1,15 @@
+Description: require openssl in tests using OpenSSL class
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2016-06-05
+
+--- a/test/test_commands_serve.rb
++++ b/test/test_commands_serve.rb
+@@ -1,6 +1,7 @@
+ require "webrick"
+ require "mercenary"
+ require "helper"
++require "openssl"
+
+ class TestCommandsServe < JekyllUnitTest
+ def custom_opts(what)
diff --git a/debian/patches/0011-fix-test-pygments.patch b/debian/patches/0011-fix-test-pygments.patch
new file mode 100644
index 0000000..8a4e2f7
--- /dev/null
+++ b/debian/patches/0011-fix-test-pygments.patch
@@ -0,0 +1,18 @@
+Description: fix test using pygments
+ new pygments adds some empty span blocks
+ to be maintained until a new version of ruby-pygments.rb
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2016-06-05
+
+--- a/test/test_redcarpet.rb
++++ b/test/test_redcarpet.rb
+@@ -49,7 +49,7 @@
+ puts "Hello world"
+ ```
+ EOS
+- ).strip
++ ).strip.gsub(/<span><\/span>/,"")
+ end
+ end
+
diff --git a/debian/patches/series b/debian/patches/series
index 5045667..0e208a6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,5 @@
0007-Fix-Gemfile-drop-liquid-c.patch
0008-Add-patch-Replace-git-execution-from-gemspec.patch
0009-Remove-relative-LOAD_PATH-from-bin-jekyll.patch
+0010-require-openssl.patch
+0011-fix-test-pygments.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/jekyll.git
More information about the Pkg-ruby-extras-commits
mailing list