summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-04 05:52:13 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-04 05:52:13 +0000
commitaae8b42e79916dadef2448862e4cb13ddde713c5 (patch)
treee0c0111c8cbbaa8e2ad8db9f97aad08dfefa9b16 /dev-ruby/redcarpet
parentVersion bump to 2.4.0 (diff)
downloadgentoo-2-aae8b42e79916dadef2448862e4cb13ddde713c5.tar.gz
gentoo-2-aae8b42e79916dadef2448862e4cb13ddde713c5.tar.bz2
gentoo-2-aae8b42e79916dadef2448862e4cb13ddde713c5.zip
Initial import. Dependency of forthcoming new package.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/redcarpet')
-rw-r--r--dev-ruby/redcarpet/ChangeLog10
-rw-r--r--dev-ruby/redcarpet/metadata.xml5
-rw-r--r--dev-ruby/redcarpet/redcarpet-1.17.2.ebuild37
3 files changed, 52 insertions, 0 deletions
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 <graaff@gentoo.org> +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
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
+}