From aae8b42e79916dadef2448862e4cb13ddde713c5 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 4 Jul 2011 05:52:13 +0000 Subject: Initial import. Dependency of forthcoming new package. (Portage version: 2.1.10.3/cvs/Linux x86_64) --- dev-ruby/redcarpet/ChangeLog | 10 ++++++++ dev-ruby/redcarpet/metadata.xml | 5 ++++ dev-ruby/redcarpet/redcarpet-1.17.2.ebuild | 37 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-ruby/redcarpet/ChangeLog create mode 100644 dev-ruby/redcarpet/metadata.xml create mode 100644 dev-ruby/redcarpet/redcarpet-1.17.2.ebuild (limited to 'dev-ruby/redcarpet') diff --git a/dev-ruby/redcarpet/ChangeLog b/dev-ruby/redcarpet/ChangeLog new file mode 100644 index 000000000000..d34c3a5e3393 --- /dev/null +++ b/dev-ruby/redcarpet/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/redcarpet +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcarpet/ChangeLog,v 1.1 2011/07/04 05:52:13 graaff Exp $ + +*redcarpet-1.17.2 (04 Jul 2011) + + 04 Jul 2011; Hans de Graaff +redcarpet-1.17.2.ebuild, + +metadata.xml: + Initial import. Dependency of forthcoming new package. + diff --git a/dev-ruby/redcarpet/metadata.xml b/dev-ruby/redcarpet/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/redcarpet/metadata.xml @@ -0,0 +1,5 @@ + + + +ruby + diff --git a/dev-ruby/redcarpet/redcarpet-1.17.2.ebuild b/dev-ruby/redcarpet/redcarpet-1.17.2.ebuild new file mode 100644 index 000000000000..ee1e4f85aaa3 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-1.17.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcarpet/redcarpet-1.17.2.ebuild,v 1.1 2011/07/04 05:52:13 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="" + +# There are also conformance tests but these files are not shipped in +# the gem. +RUBY_FAKEGEM_TASK_TEST="test:unit" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby wrapper for Upskirt." +HOMEPAGE="https://github.com/tanoku/redcarpet" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + # Remove test depending on compile, since we handle compilation + # directly. + sed -i -e 's/:compile//' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/redcarpet extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/redcarpet + cp ext/redcarpet/*$(get_modname) lib/ || die +} -- cgit v1.2.3-65-gdbad