diff options
Diffstat (limited to 'dev-ruby/slim')
-rw-r--r-- | dev-ruby/slim/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/slim/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/slim/slim-3.0.7-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/slim/slim-3.0.8.ebuild | 50 |
4 files changed, 118 insertions, 0 deletions
diff --git a/dev-ruby/slim/Manifest b/dev-ruby/slim/Manifest new file mode 100644 index 000000000000..1b0c679d537a --- /dev/null +++ b/dev-ruby/slim/Manifest @@ -0,0 +1,7 @@ +DIST slim-3.0.7.gem 97280 SHA256 1747e293c161fdb21547f27b2eb585af26c19baa3110866a28e10d3b05ab5088 SHA512 b410ed35941a3cfc68f8ab5649450381f830f94c8503e062afcd097f5a669df4cf8035d0baefd42bffaad5d12766baf70bad3eed82149fd861f615649ee469c0 WHIRLPOOL 941e29de5ef4d9a8e720e98ed65b6992089b954f9991b4f9481b977d0f9eac295d9f07374403c5875a9a22ebc2687fe13e66e6808f17e0ad69f5686f029d9300 +DIST slim-3.0.8.gem 99328 SHA256 5f6e5cffd9ef1404544d756bb224c5b1395a71043306d427b23497c67be297eb SHA512 c9ed748c221f1bc25f3442900e93db6674520388c8d958bb40516172b97da042cd2e20fd924f9c85382b08eb39e399ae675c4d4e0b1d884ceef7339697345dd4 WHIRLPOOL 05c55e8f34d0100c7fdc80ce3a155eefe980a4e42ef43c6f2283b6bb64084dc53015388cffb67eb36b8404a19568417f46788d3a7a9cec479764b7ad6a6f3d65 +EBUILD slim-3.0.7-r1.ebuild 1683 SHA256 eebd377c86ee577dd13902b96cd5dba96042c6077432c0e3bc223613a8c44aa6 SHA512 e09662ee69c1ce793f0e13f764754a1158dd2ea1c5ec68a72df77d01bbdb145afbd969f79c38124c272e8ad183b80bb8c7bb048b9b936f5806bd0adc2ddb38fd WHIRLPOOL 671559680c1f5c80cadb5c8e825051d2e113bc939ebeb5f947b78cace312b882a4cb561433df85a8cf914fc2e6ac14ef7191481898bc97f47a232fc1c3a1ac72 +EBUILD slim-3.0.8.ebuild 1588 SHA256 e71a2fc78c463c6a319a7682857a0a8a6bc6b79b7cc7448147bce8cff433129f SHA512 d784f569a9b17d934d7f1bc11ddf31af127c759812069acc4cd4186678ebcf27b90437f216b02487a91ad9be3301c1de94dd9c66d3f37f7f5d34af7a12158f43 WHIRLPOOL 74579e264b220fb1215fb6c6be35db48111f401d3fa3c30887709105808f567d0fa31bc9ad8838487ef6dfe39d830a0195b20057a323e9f1d220df1e92c29d58 +MISC ChangeLog 3754 SHA256 3c3a5f3dabb3151a62a7f4f89c196ec60ca26cace5cc2981109c6deea35e71ce SHA512 e3e15362372dc26fada98d0f7900cd91d0ace1149b6167801e3d0fd17fbc5f658775d17b5a08b2cc3394a75b988b0d9d9bf90cc991012088d1538e2bf001750c WHIRLPOOL 05a7178923a43d8c12f5d090b43a4ccebba2b3caba749b693c387314931ed8a786ee979992afbcd8172e33cce38e282c104e2d17a0b69f6100e12f7e0b44ac60 +MISC ChangeLog-2015 1019 SHA256 fbd279163b77c1d5c6ef40283349f5441a1fac5629a35864f93d16569a99a4cc SHA512 697dc00a0bed8361e65f697e0372fdbf59d503b25798426ab36a742948dd52c406b9249b9ea0e96bfa176fd86390a5aec7cc93bde8db03341d111815d2a35edb WHIRLPOOL 3920ca852637b69654b1181423d84eaf9e3e050fd723e0b22ae64b0938a70379bbf653a44276dc7c9f0f04d4a3af7e8f0b513c9011a6a1ef61081796dc28751e +MISC metadata.xml 247 SHA256 1236c1552dc683658bd5bc3c5f880b71d9dfa13025edab4a0f8973f9eaa6bcf5 SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 WHIRLPOOL c1aa829db3553d79fe71a8bf79fd6ea24e9fff4e591a4ade3c05e2a97b0df352170fbce76450c0402ec6d8998951c2f3eb3e198ac4638c0e0882208b9f4d8fc8 diff --git a/dev-ruby/slim/metadata.xml b/dev-ruby/slim/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/dev-ruby/slim/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> diff --git a/dev-ruby/slim/slim-3.0.7-r1.ebuild b/dev-ruby/slim/slim-3.0.7-r1.ebuild new file mode 100644 index 000000000000..7b9a00738407 --- /dev/null +++ b/dev-ruby/slim/slim-3.0.7-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 arm ppc ppc64 x86" +SLOT="0" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-1.3.3:* <dev-ruby/tilt-2.1:* + >=dev-ruby/temple-0.7.6:0.7" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + # Relax temple version check (already fixed upstream) + sed -i -e 's/0.7.6/0.7/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slim/slim-3.0.8.ebuild b/dev-ruby/slim/slim-3.0.8.ebuild new file mode 100644 index 000000000000..d572b5c131fa --- /dev/null +++ b/dev-ruby/slim/slim-3.0.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-1.3.3:* <dev-ruby/tilt-2.1:* + >=dev-ruby/temple-0.7.6:0.7" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} |