summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-26 06:35:35 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-26 06:35:35 +0200
commitbf7d55e381529a5ce1c2ff759080f7a24bc379c9 (patch)
tree3a8392fb66d848f6190853ed4a4abf26a3aa7dc8 /dev-ruby/itextomml
parentdev-ruby/capybara: cleanup (diff)
downloadgentoo-bf7d55e381529a5ce1c2ff759080f7a24bc379c9.tar.gz
gentoo-bf7d55e381529a5ce1c2ff759080f7a24bc379c9.tar.bz2
gentoo-bf7d55e381529a5ce1c2ff759080f7a24bc379c9.zip
dev-ruby/itextomml: add 1.5.7
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/itextomml')
-rw-r--r--dev-ruby/itextomml/Manifest1
-rw-r--r--dev-ruby/itextomml/itextomml-1.5.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/itextomml/Manifest b/dev-ruby/itextomml/Manifest
index 51c0125787fe..f2f9957fafb1 100644
--- a/dev-ruby/itextomml/Manifest
+++ b/dev-ruby/itextomml/Manifest
@@ -1 +1,2 @@
DIST itextomml-1.5.6.gem 125440 BLAKE2B b0894d26d20e85454c310589509cb0eef371f3c9139450ce8dcd25fac6b83e831557e05ba54b449557422b23d59868ee75f022fe4ba1c205d32926f923986864 SHA512 b74f5a9ca4eb669fee547bdf729e456dfe07b8be4e9ac0d1b7c3ad5d4e99371ae7b5bde565e6472ab07bbcec2754d4ee628ba07a6a7e938ea8a55a6023c2f1fd
+DIST itextomml-1.5.7.gem 125440 BLAKE2B babdfdb7e81415a06875ba72a84da31f910bb0f634e2fd2ea724785b56d84b6d6ca7e544ddfe617a53c91a89314f0e0e8c2ac0f20f0cf8e26c11327f865e423b SHA512 65fbf03096695330e32ac9093e923ca50bb92a3b32a7657bea65e6abf51c7824fc8b650f564352c41d28e846cba62a60ffbd57ca14ad2587e3164e48d7d1043f
diff --git a/dev-ruby/itextomml/itextomml-1.5.7.ebuild b/dev-ruby/itextomml/itextomml-1.5.7.ebuild
new file mode 100644
index 000000000000..8f5692eb0c80
--- /dev/null
+++ b/dev-ruby/itextomml/itextomml-1.5.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Native Ruby bindings to itex2MML, which converts itex equations to MathML"
+HOMEPAGE="https://golem.ph.utexas.edu/~distler/blog/itex2MML.html"
+
+LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+#Tests don't fail here
+RESTRICT="test"
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext
+ cp ext/itex2MML$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/test_itextomml.rb || die
+}