summaryrefslogtreecommitdiff
path: root/dev-ruby/asciimath
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/asciimath
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/asciimath')
-rw-r--r--dev-ruby/asciimath/Manifest5
-rw-r--r--dev-ruby/asciimath/asciimath-1.0.4.ebuild22
-rw-r--r--dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch22
-rw-r--r--dev-ruby/asciimath/metadata.xml11
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/asciimath/Manifest b/dev-ruby/asciimath/Manifest
new file mode 100644
index 000000000000..64ecf346a5be
--- /dev/null
+++ b/dev-ruby/asciimath/Manifest
@@ -0,0 +1,5 @@
+AUX asciimath-1.0.4-backslashes.patch 1246 SHA256 89ba2a3987f3a5ac02556ec6d716ebbce008999070be0bef500867e072cad18b SHA512 3c5ea019fc0d1c71b156dc9a6263211cb1bd3c69c4b9c390f1c3d10a4504e281e7cacaca68efa7daeae6af1327931ff99124c8c498eab9a8a04d6313ea1260d7 WHIRLPOOL fd470c3ba5b5b7aa14eaded40d95fe94d396176e2b14fc8a08330353d5a97984ed7f41ee92e54e5f9b436248048a495694e9772572917ab07c79c8928be05e0e
+DIST asciimath-1.0.4.gem 14336 SHA256 ac6271729317dfb166991261f5ab0893ec89c88621eaa3ef4787d5026f9c00b5 SHA512 e99e6f869dda3e0236392039e6dccf5912b095e32ee7acbfb4684a5d723d05f4d3c9961554d5beab2a3d703b1ef50c45ed15c0dbda2179ab35d3b1b6b8759b49 WHIRLPOOL 58f495835d5176a6573063ad8c81452381a87116ae70dace72d29f25661c8ce9f595a7e79da5603f5928291a24090927ec7a12234f36e3c987ffb9a1d23397d9
+EBUILD asciimath-1.0.4.ebuild 527 SHA256 db483d51932eb03bc2420401ac8daa0e18f99f89123ddd41b6157385a628186d SHA512 155e2032b66cbd928cab4e1ca4962c9fc8e359ca02329f33e31b4c10e2812dfbcbe5a8ff8827a060410b98a69f9f33f23a38f195d75f3fb594ebfbb14a00c0a6 WHIRLPOOL 60f2c970850b1015ce5c596823635942febf9c0691c80f5ac3e9f42f3acf453f56e17d313d560fb589766dffa0fc547862164545fb00d1ad687eb0fb4f69ae79
+MISC ChangeLog 870 SHA256 bb3041c696326040ac950dd50365797a56725d271fffc0b1be264ce8760aca54 SHA512 8bd8ba3bf4a087fa7f7a2c689630dcf80ed0e34826c1f7e050fd0deb766429266667e2545444f64765c92047f17460cbccfa17e21857e107315f3435130dd881 WHIRLPOOL 0bc23967bbc91fb0d8b56da92feac0b70582119b7b251997a60a740793b5fb0d672568ddcaef5e45f9c3cd467863f4f65566a148dbc05931390cdbb3e98ef7f5
+MISC metadata.xml 344 SHA256 ad7b52fdc1abf2b1a6df1a9af898b4eff19c11bb57f1625f77efdff7c8634e86 SHA512 606dd415c7a141188cc94a7d56c67d42be1c2420f8ba9ee7a44707b99a6035df1cd8d358de575e12008f0560aa2b87b57b5892c67f3d931aa28c5938373a8075 WHIRLPOOL 5ef838d8bc77f460ad8f80fd6a7f03bbc0e13cb3c9eaa6f7e8dc046b495b4c09d9bbd6ccdd7d420199115ea7d38419a378b942ef5af7f98a15793c3d3412c08e
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 000000000000..abba2d6ee050
--- /dev/null
+++ b/dev-ruby/asciimath/asciimath-1.0.4.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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 ~arm64 ppc ppc64 x86"
+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 000000000000..9bf08ce34046
--- /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 }
diff --git a/dev-ruby/asciimath/metadata.xml b/dev-ruby/asciimath/metadata.xml
new file mode 100644
index 000000000000..87c3111c694b
--- /dev/null
+++ b/dev-ruby/asciimath/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pepijnve/asciimath</remote-id>
+ </upstream>
+</pkgmetadata>