public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/asciimath/, dev-ruby/asciimath/files/
@ 2017-01-20  6:40 Hans de Graaff
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2017-01-20  6:40 UTC (permalink / raw
  To: gentoo-commits

commit:     19c7cf709b34e5de586524a00b38e45e39c0340c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 06:39:23 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 06:39:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c7cf70

dev-ruby/asciimath: add 1.0.4

Package-Manager: portage-2.3.0

 dev-ruby/asciimath/Manifest                        |  1 +
 dev-ruby/asciimath/asciimath-1.0.4.ebuild          | 23 ++++++++++++++++++++++
 .../files/asciimath-1.0.4-backslashes.patch        | 22 +++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-ruby/asciimath/Manifest b/dev-ruby/asciimath/Manifest
index 1621793..85d7937 100644
--- a/dev-ruby/asciimath/Manifest
+++ b/dev-ruby/asciimath/Manifest
@@ -1 +1,2 @@
 DIST asciimath-1.0.2.gem 13824 SHA256 d3c4485b6f32a61732d007337f74f6242d02ff572873b44bdbc1110cac9cfc37 SHA512 109995b8c67dc159671a1498f4507d926bdb10bb6c3a84552137fc84aa3477a237aa6c739de3011981f6815cd70fd9a0dc4ce47e172ab24d02a55f80ada0af46 WHIRLPOOL b83b33b31d059e0615f7eb84cc27540f1daa342b53f21e0ba57b7743a8914a73acf1a4f01225c3f5670776a4bc558deb11a24d19659fe603a8a4873d4bd86bf2
+DIST asciimath-1.0.4.gem 14336 SHA256 ac6271729317dfb166991261f5ab0893ec89c88621eaa3ef4787d5026f9c00b5 SHA512 e99e6f869dda3e0236392039e6dccf5912b095e32ee7acbfb4684a5d723d05f4d3c9961554d5beab2a3d703b1ef50c45ed15c0dbda2179ab35d3b1b6b8759b49 WHIRLPOOL 58f495835d5176a6573063ad8c81452381a87116ae70dace72d29f25661c8ce9f595a7e79da5603f5928291a24090927ec7a12234f36e3c987ffb9a1d23397d9

diff --git a/dev-ruby/asciimath/asciimath-1.0.4.ebuild b/dev-ruby/asciimath/asciimath-1.0.4.ebuild
new file mode 100644
index 00000000..e1b86d5
--- /dev/null
+++ b/dev-ruby/asciimath/asciimath-1.0.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A pure Ruby AsciiMath parsing and conversion library"
+HOMEPAGE="https://github.com/pepijnve/asciimath"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+RUBY_PATCHES=( ${P}-backslashes.patch )

diff --git a/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch b/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch
new file mode 100644
index 00000000..9bf08ce
--- /dev/null
+++ b/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch
@@ -0,0 +1,22 @@
+From 1c06fdc8086077f4785479f78b0823a4a72d7948 Mon Sep 17 00:00:00 2001
+From: Pepijn Van Eeckhoudt <pepijn@vaneeckhoudt.net>
+Date: Thu, 12 May 2016 18:02:45 +0200
+Subject: [PATCH] Remove spurious backslashes
+
+---
+ spec/parser_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/parser_spec.rb b/spec/parser_spec.rb
+index def78e0..3fa5a75 100644
+--- a/spec/parser_spec.rb
++++ b/spec/parser_spec.rb
+@@ -45,7 +45,7 @@
+     '"Скорость"=("Расстояние")/("Время")' =>
+         '<math><mtext>Скорость</mtext><mo>=</mo><mfrac><mtext>Расстояние</mtext><mtext>Время</mtext></mfrac></math>',
+     'bb (a + b) + cc c = fr (d^n)' =>
+-        '<math><mstyle mathvariant=\"bold\"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mstyle><mo>+</mo><mstyle mathvariant=\"script\"><mi>c</mi></mstyle><mo>=</mo><mstyle mathvariant=\"fraktur\"><msup><mi>d</mi><mi>n</mi></msup></mstyle></math>'
++        '<math><mstyle mathvariant="bold"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mstyle><mo>+</mo><mstyle mathvariant="script"><mi>c</mi></mstyle><mo>=</mo><mstyle mathvariant="fraktur"><msup><mi>d</mi><mi>n</mi></msup></mstyle></math>'
+ }
+ 
+ version = RUBY_VERSION.split('.').map { |s| s.to_i }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-20  6:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-20  6:40 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/asciimath/, dev-ruby/asciimath/files/ Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox