diff options
Diffstat (limited to 'dev-ruby/ritex')
-rw-r--r-- | dev-ruby/ritex/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ritex/ritex-1.0.1-r1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/ritex/Manifest b/dev-ruby/ritex/Manifest index 6d10058ccb4d..40dda32aeb9d 100644 --- a/dev-ruby/ritex/Manifest +++ b/dev-ruby/ritex/Manifest @@ -1,3 +1,4 @@ DIST ritex-1.0.1.gem 27136 BLAKE2B a336f795f449b9f16d2e10fe1d866d11aa7b96d1800e157e410bd5a94ae018a4706506e4b27ff642281049ec36c4fb70ac45d5a20f59f50fdefcdb3398e1336e SHA512 dd3d13f1fabd6b7c218642b703e2426385ae14a5a5dabfa1d78ff163df0bdfeb38e9a68dd7ba2b1bdb68b122f7b5631c399f23a13fde5aac56159349c2f1de4e +EBUILD ritex-1.0.1-r1.ebuild 701 BLAKE2B ce368a392894fe2f71cb95c9d9d645b38f0d2f9e6ba68a1dbb912fe9b260170ff06fb421f8d51cd4c828f9a25105fb7100c3bc336044b5958a66fd18057c6a65 SHA512 c8f1c22fba139a8641cb3a14dc66d523b9298ab201b1295a38415d5dfe3fcb3596cb87263a930d383ba9d1c6a7f5bdf03cf3a3d1add849729ee9062cbb82a279 EBUILD ritex-1.0.1.ebuild 708 BLAKE2B 70ae9024c08071e701a59d4d61dc8866e529d7d6b47688c05f79115d044044cd90b76c2d1c2b167c5b7b231e345bb470f540af1693afac3e83285f265c2aecc5 SHA512 bfb87d84612f551674294d36d11b647d2b34262c33b907332f373b9535e501c36f94a89cf6091225ab72b612bbe0b8d91594b456f3d3ebdb09b4bc8513370812 MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/ritex/ritex-1.0.1-r1.ebuild b/dev-ruby/ritex/ritex-1.0.1-r1.ebuild new file mode 100644 index 000000000000..953a40394717 --- /dev/null +++ b/dev-ruby/ritex/ritex-1.0.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README ReleaseNotes" + +inherit ruby-fakegem + +DESCRIPTION="Converts expressions from WebTeX into MathML" +HOMEPAGE="http://masanjin.net/ritex/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/racc" +DEPEND+=" test? ( app-text/itex2mml )" + +all_ruby_prepare() { + # Fix tests + sed -i -e "s#\./itex2MML#/usr/bin/itex2MML#;142d" test/mathml.rb || die + sed -i -e "12d" test/answer-key.yaml || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. test/all.rb || die +} |