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 62BF61395E2 for ; Sat, 3 Dec 2016 06:37:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EA0121C08B; Sat, 3 Dec 2016 06:37:37 +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 48E3C21C08B for ; Sat, 3 Dec 2016 06:37:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 170FF340F43 for ; Sat, 3 Dec 2016 06:37:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A13124B3 for ; Sat, 3 Dec 2016 06:37:33 +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: <1480747039.9f8ef254dd36c5ee3626dde0c91a10a8b613c29c.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gherkin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/gherkin/gherkin-2.12.0-r2.ebuild X-VCS-Directories: dev-ruby/gherkin/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9f8ef254dd36c5ee3626dde0c91a10a8b613c29c X-VCS-Branch: master Date: Sat, 3 Dec 2016 06:37:33 +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: 3332ffab-742c-4314-a304-1659a1980c28 X-Archives-Hash: 7d4907c8126124e6a5bdfc0503b4eb72 commit: 9f8ef254dd36c5ee3626dde0c91a10a8b613c29c Author: Hans de Graaff gentoo org> AuthorDate: Sat Dec 3 06:36:40 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Dec 3 06:37:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f8ef254 dev-ruby/gherkin: cleanup Package-Manager: portage-2.3.0 dev-ruby/gherkin/gherkin-2.12.0-r2.ebuild | 91 ------------------------------- 1 file changed, 91 deletions(-) diff --git a/dev-ruby/gherkin/gherkin-2.12.0-r2.ebuild b/dev-ruby/gherkin/gherkin-2.12.0-r2.ebuild deleted file mode 100644 index 99bd5b7..00000000 --- a/dev-ruby/gherkin/gherkin-2.12.0-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby20" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_DOCDIR="rdoc" -RUBY_FAKEGEM_EXTRADOC="History.md README.md" - -inherit ruby-fakegem - -DESCRIPTION="Fast Gherkin lexer and parser based on Ragel" -HOMEPAGE="https://github.com/cucumber/gherkin" -LICENSE="MIT" -SRC_URI="https://github.com/cucumber/gherkin/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" -SLOT="0" -IUSE="doc test" - -DEPEND="${DEPEND} dev-util/ragel" -RDEPEND="${RDEPEND}" - -ruby_add_bdepend " - dev-ruby/rake-compiler - test? ( - >=dev-ruby/builder-2.1.2 - >=dev-util/cucumber-1.1.3 - >=dev-ruby/rspec-2.6.0 - >=dev-ruby/term-ansicolor-1.0.5 - ) - doc? ( >=dev-ruby/yard-0.8.3 )" - -ruby_add_rdepend ">=dev-ruby/multi_json-1.3" - -all_ruby_prepare() { - # Remove Bundler-related things. - sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb features/support/env.rb || die - rm Gemfile || die - - # Don't use compile dependencies to avoid building again for specs. - sed -i -e '/:compile/d' Rakefile - - # Keep this hardcoded -O0 optimization level since - # https://github.com/cucumber/gherkin/issues/182#issuecomment-6945009 - # hints at the fact that removing it might cause the mysterious - # Lexer errors that hapen intermittently. - # sed -ie -e 's/-O0//' tasks/compile.rake || die - - # Remove feature that depends on direct access to the cucumber - # source. We could probably set this up by downloading the source - # and unpacking it, but skipping this now in the interest of time. - rm features/pretty_formatter.feature || die - - # We need to remove these tasks during bootstrapping since it tries - # to load cucumber already but we can be sure it isn't installed - # yet. Also remove other rake tasks for which we may not yet have - # dependencies. - if ! use test ; then - rm tasks/cucumber.rake tasks/rspec.rake || die "Unable to remove rake tasks." - fi - - # Avoid dependency on yard if USE=-doc - if ! use doc ; then - rm tasks/apidoc.rake || die - fi - - # Avoid implicit dependency on git - sed -i -e 's/git ls-files/echo/' gherkin.gemspec || die -} - -all_ruby_compile() { - all_fakegem_compile - - if use doc ; then - yard || die - fi -} - -each_ruby_compile() { - ${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die -} - -each_ruby_test() { - ${RUBY} -I lib -S rake spec || die "Specs failed" - CUCUMBER_HOME="${HOME}" RUBYLIB=lib ${RUBY} -S cucumber features || die "Cucumber features failed" -}