[DRE-commits] [asciidoctor] 04/05: Refresh asciimath patch
Guillaume Grossetie
ggrossetie-guest at moszumanska.debian.org
Mon Feb 29 18:21:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
ggrossetie-guest pushed a commit to branch master
in repository asciidoctor.
commit 1f9ef6fda077f9579a11ee4c660b5119b6438e48
Author: Guillaume Grossetie <ggrossetie at gmail.com>
Date: Mon Feb 29 18:14:21 2016 +0100
Refresh asciimath patch
---
debian/changelog | 1 +
debian/patches/skip-asciimath-test.patch | 20 +++++++++++++++++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a83553c..66e802e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ asciidoctor (1.5.4-1) unstable; urgency=medium
* New upstream release
* Patches refreshed:
- lib_directory_in_tests.patch
+ - skip-asciimath-test.patch
* Patches removed (already applied upstream):
- slim-test.patch
diff --git a/debian/patches/skip-asciimath-test.patch b/debian/patches/skip-asciimath-test.patch
index 7a8b5ac..433df77 100644
--- a/debian/patches/skip-asciimath-test.patch
+++ b/debian/patches/skip-asciimath-test.patch
@@ -5,9 +5,11 @@ Forwarded: not-needed
Last-Update: 2015-11-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/test/blocks_test.rb
-+++ b/test/blocks_test.rb
-@@ -1278,6 +1278,7 @@ sqrt(3x-1)+(1+x)^2 < y
+Index: asciidoctor/test/blocks_test.rb
+===================================================================
+--- asciidoctor.orig/test/blocks_test.rb 2016-02-29 18:11:34.879628814 +0100
++++ asciidoctor/test/blocks_test.rb 2016-02-29 18:11:34.879628814 +0100
+@@ -1278,6 +1278,7 @@
end
test 'should render asciimath block in textobject of equation in DocBook backend' do
@@ -15,3 +17,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
input = <<-'EOS'
[asciimath]
++++
+Index: asciidoctor/test/substitutions_test.rb
+===================================================================
+--- asciidoctor.orig/test/substitutions_test.rb 2016-02-29 18:11:59.355508631 +0100
++++ asciidoctor/test/substitutions_test.rb 2016-02-29 18:12:41.651300909 +0100
+@@ -1374,6 +1374,7 @@
+ #end
+
+ test 'should convert asciimath macro content to MathML when asciimath gem is available' do
++ skip 'depends on unpackaged dependency'
+ input = 'asciimath:[a < b]'
+ para = block_from_string input, :backend => :docbook
+ assert_equal '<inlineequation><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>a</mml:mi><mml:mo><</mml:mo><mml:mi>b</mml:mi></mml:math></inlineequation>', para.content
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/asciidoctor.git
More information about the Pkg-ruby-extras-commits
mailing list