summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-15 08:40:06 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-15 08:40:06 +0000
commitddb7c20fa26c55c5223a5545251c46e9c3548176 (patch)
tree005537b4ff05d9d835eaf72527cd5d0a370034f8
parentVersion bump. (diff)
downloadgentoo-2-ddb7c20fa26c55c5223a5545251c46e9c3548176.tar.gz
gentoo-2-ddb7c20fa26c55c5223a5545251c46e9c3548176.tar.bz2
gentoo-2-ddb7c20fa26c55c5223a5545251c46e9c3548176.zip
Version bump.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
-rw-r--r--dev-ruby/redcarpet/ChangeLog7
-rw-r--r--dev-ruby/redcarpet/redcarpet-2.1.1.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-ruby/redcarpet/ChangeLog b/dev-ruby/redcarpet/ChangeLog
index 720e5d0362db..eee681da0ffd 100644
--- a/dev-ruby/redcarpet/ChangeLog
+++ b/dev-ruby/redcarpet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/redcarpet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcarpet/ChangeLog,v 1.3 2012/01/28 08:42:06 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcarpet/ChangeLog,v 1.4 2012/04/15 08:40:06 graaff Exp $
+
+*redcarpet-2.1.1 (15 Apr 2012)
+
+ 15 Apr 2012; Hans de Graaff <graaff@gentoo.org> +redcarpet-2.1.1.ebuild:
+ Version bump.
*redcarpet-2.1.0 (28 Jan 2012)
diff --git a/dev-ruby/redcarpet/redcarpet-2.1.1.ebuild b/dev-ruby/redcarpet/redcarpet-2.1.1.ebuild
new file mode 100644
index 000000000000..462b1238ed2c
--- /dev/null
+++ b/dev-ruby/redcarpet/redcarpet-2.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcarpet/redcarpet-2.1.1.ebuild,v 1.1 2012/04/15 08:40:06 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ree18 ruby19"
+
+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
+}