diff options
Diffstat (limited to 'dev-ruby/erubis')
-rw-r--r-- | dev-ruby/erubis/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/erubis/erubis-2.7.0-r2.ebuild | 39 | ||||
-rw-r--r-- | dev-ruby/erubis/metadata.xml | 8 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/erubis/Manifest b/dev-ruby/erubis/Manifest new file mode 100644 index 000000000000..4218265ba23d --- /dev/null +++ b/dev-ruby/erubis/Manifest @@ -0,0 +1,3 @@ +DIST erubis-2.7.0.gem 173056 BLAKE2B b1059469b5d75dd71be32eabfae0f1715dca11b9c5eb79499a5a8835a4db44e8c2163386af1e4ef9cab8cecf4ae6f2eb57b5105d53d56e5784b06d65398b22fb SHA512 49b08b28656acaf3b0c88fe064bb0d5f79fd08b834d7eba9294217b0893c5a0244ac5dd54de0e52dd17e828a0110e54b29e8c2d75171d527da957917344a0f27 +EBUILD erubis-2.7.0-r2.ebuild 1101 BLAKE2B 491231e1e2649124355061a44a8dc22aea4007cf795d6571e7269c72f49ab71af272cf17c080a4e28de6c675aef689f02c8d9d0a5361cb2f6803ec1818dd1d12 SHA512 b72d11a705861e7983003ede1e7ef5752cf01e8d7fe5977274997f0578254af6caeeaf8e216d057a78693a4d46a15d54d92cd10b5a2ff5dd87c15325369f0143 +MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/erubis/erubis-2.7.0-r2.ebuild b/dev-ruby/erubis/erubis-2.7.0-r2.ebuild new file mode 100644 index 000000000000..5e31d51fbaaa --- /dev/null +++ b/dev-ruby/erubis/erubis-2.7.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Erubis is an implementation of eRuby" +HOMEPAGE="http://www.kuwata-lab.com/erubis/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201 +# Tests are not compatible with Psych as YAML module. +RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/abstract-1.0.0" + +all_ruby_prepare() { + # These tests now fail due to other ordering and fact that sym + # are now returned. + rm test/test-users-guide.rb || die + sed -i -e '/test-users-guide/ s:^:#:' test/test.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. test/test.rb || die +} diff --git a/dev-ruby/erubis/metadata.xml b/dev-ruby/erubis/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/dev-ruby/erubis/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |