From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC32E139085 for ; Fri, 20 Jan 2017 06:40:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDDC6E0D58; Fri, 20 Jan 2017 06:40:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B36F6E0D66 for ; Fri, 20 Jan 2017 06:40:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E7AB341117 for ; Fri, 20 Jan 2017 06:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3604529EB for ; Fri, 20 Jan 2017 06:40:05 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1484894389.190ebde5f3d8e7fb3d69d5da8246e10b97ac6fac.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/haml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/haml/haml-4.0.7-r1.ebuild X-VCS-Directories: dev-ruby/haml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 190ebde5f3d8e7fb3d69d5da8246e10b97ac6fac X-VCS-Branch: master Date: Fri, 20 Jan 2017 06:40:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1543e73a-e642-43a0-876e-bb625f6d1d19 X-Archives-Hash: 11d5642025ec12768d50a3948a93be1f commit: 190ebde5f3d8e7fb3d69d5da8246e10b97ac6fac Author: Hans de Graaff gentoo org> AuthorDate: Fri Jan 20 06:29:48 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jan 20 06:39:49 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=190ebde5 dev-ruby/haml: add ruby23 Package-Manager: portage-2.3.0 dev-ruby/haml/haml-4.0.7-r1.ebuild | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/dev-ruby/haml/haml-4.0.7-r1.ebuild b/dev-ruby/haml/haml-4.0.7-r1.ebuild new file mode 100644 index 00000000..7a7808d --- /dev/null +++ b/dev-ruby/haml/haml-4.0.7-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_TASK_DOC="-Ilib doc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="A ruby web page templating engine" +HOMEPAGE="http://haml-lang.com/" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="doc test" + +RDEPEND="${RDEPEND} !!=dev-ruby/maruku-0.7.2-r1 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + -e 's/gem "minitest"/gem "minitest", "~>5.0"/'\ + -e '1igem "actionpack", "~>4.2"'\ + -e '1igem "activesupport", "~>4.2"'\ + -e '1igem "railties", "~>4.2"'\ + test/test_helper.rb || die + # Remove test that fails when RedCloth is available + sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,+9 s/^/#/"\ + test/filters_test.rb || die +}