aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-29 00:42:51 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-03-29 00:42:51 +0200
commitfdcff37daafb24149348e4b531117d15c48ca3ec (patch)
tree79711e0e3a3163d4373a9292a2604a04e24fac20 /community/ruby-mathematical/use-system-mtex2mml-fixtures.patch
parent0d42953156ad36105b7f484bd96b25fe2be8dd0e (diff)
downloadaports-fdcff37daafb24149348e4b531117d15c48ca3ec.tar.bz2
aports-fdcff37daafb24149348e4b531117d15c48ca3ec.tar.xz
community/ruby-mathematical: move from testing
Diffstat (limited to 'community/ruby-mathematical/use-system-mtex2mml-fixtures.patch')
-rw-r--r--community/ruby-mathematical/use-system-mtex2mml-fixtures.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch b/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch
new file mode 100644
index 0000000000..76621f1f8e
--- /dev/null
+++ b/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch
@@ -0,0 +1,11 @@
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -6,7 +6,7 @@
+ require 'pp'
+ require 'pry-byebug'
+
+-MTEX2MML_FIXTURES_DIR = File.join('ext', 'mathematical', 'mtex2MML', 'tests', 'fixtures')
++MTEX2MML_FIXTURES_DIR = '/usr/share/mtex2MML/fixtures'
+ MATHJAX_TEST_DIR = File.join(MTEX2MML_FIXTURES_DIR, 'MathJax')
+ MATHJAX_TEX_DIR = File.join(MATHJAX_TEST_DIR, 'LaTeXToMathML-tex')
+ TRAVIS_OSX = ENV['TRAVIS'] && ENV['TRAVIS_OS_NAME'] == 'osx'