From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-868295-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 6D15E59CA3
	for <garchives@archives.gentoo.org>; Mon,  7 Mar 2016 20:22:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CC8BD21C002;
	Mon,  7 Mar 2016 20:21:58 +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 074A5E07D6
	for <gentoo-commits@lists.gentoo.org>; Mon,  7 Mar 2016 20:21:57 +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 7917A340B3D
	for <gentoo-commits@lists.gentoo.org>; Mon,  7 Mar 2016 20:21:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 081492091
	for <gentoo-commits@lists.gentoo.org>; Mon,  7 Mar 2016 20:21:54 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
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" <graaff@gentoo.org>
Message-ID: <1457382004.0fcf41e2f1afcc57c110401ae58aa690ab7d1f76.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/bluecloth/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild
X-VCS-Directories: dev-ruby/bluecloth/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 0fcf41e2f1afcc57c110401ae58aa690ab7d1f76
X-VCS-Branch: master
Date: Mon,  7 Mar 2016 20:21:54 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d4c279d4-9130-4af9-9989-1a11e5daffc7
X-Archives-Hash: 2e1248ba1bd376b64793ab61c8171e44

commit:     0fcf41e2f1afcc57c110401ae58aa690ab7d1f76
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 20:15:21 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 20:20:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fcf41e2

dev-ruby/bluecloth: rewrite build system

In particular, avoid rake-compiler dependency since this
leads to difficult-to-resolve circular build issues between
rspec 2 and rspec 3, and there is no real need for rake-compiler
in the first place.

Package-Manager: portage-2.2.26

 dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild | 58 ++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild b/dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild
new file mode 100644
index 0000000..2093761
--- /dev/null
+++ b/dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit multilib ruby-fakegem eutils
+
+DESCRIPTION="A Ruby implementation of Markdown"
+HOMEPAGE="http://www.deveiate.org/projects/BlueCloth"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="test"
+
+DEPEND+=" doc? ( dev-lang/perl )"
+
+ruby_add_bdepend "
+	dev-ruby/hoe
+	test? (
+		dev-ruby/diff-lcs
+		dev-ruby/tidy-ext
+	)"
+
+all_ruby_prepare() {
+	# for Ruby 1.9.2 and 2.2.x compatibility
+	sed -i -e '1i $: << "."' \
+		-e 's/Config/RbConfig/' Rakefile || die
+}
+
+each_ruby_configure() {
+	${RUBY} -Cext extconf.rb || die
+}
+
+all_ruby_compile() {
+	pod2man --center --release --name bluecloth --utf8 bluecloth.1.pod bluecloth.1 || die
+
+	all_fakegem_compile
+}
+
+each_ruby_compile() {
+	emake -Cext
+	cp ext/bluecloth_ext$(get_modname) lib/ || die
+}
+
+all_ruby_install() {
+	doman man/man1/bluecloth.1
+
+	all_fakegem_install
+}