summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-01-28 08:42:06 +0000
committerHans de Graaff <graaff@gentoo.org>2012-01-28 08:42:06 +0000
commit4b8be35f68853b48589270d8e6f0aa02e6d6f8f4 (patch)
tree50d87907c1b15bec2107bb67e119e894b11b3250 /dev-ruby/redcarpet
parentRemove old versions. (diff)
downloadgentoo-2-4b8be35f68853b48589270d8e6f0aa02e6d6f8f4.tar.gz
gentoo-2-4b8be35f68853b48589270d8e6f0aa02e6d6f8f4.tar.bz2
gentoo-2-4b8be35f68853b48589270d8e6f0aa02e6d6f8f4.zip
Version bump.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/redcarpet')
-rw-r--r--dev-ruby/redcarpet/ChangeLog9
-rw-r--r--dev-ruby/redcarpet/redcarpet-2.1.0.ebuild37
2 files changed, 44 insertions, 2 deletions
diff --git a/dev-ruby/redcarpet/ChangeLog b/dev-ruby/redcarpet/ChangeLog
index 1b879c06eaa4..720e5d0362db 100644
--- a/dev-ruby/redcarpet/ChangeLog
+++ b/dev-ruby/redcarpet/ChangeLog
@@ -1,6 +1,11 @@
# 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.2 2011/12/24 14:11:29 graaff Exp $
+# 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 $
+
+*redcarpet-2.1.0 (28 Jan 2012)
+
+ 28 Jan 2012; Hans de Graaff <graaff@gentoo.org> +redcarpet-2.1.0.ebuild:
+ Version bump.
*redcarpet-2.0.1 (24 Dec 2011)
diff --git a/dev-ruby/redcarpet/redcarpet-2.1.0.ebuild b/dev-ruby/redcarpet/redcarpet-2.1.0.ebuild
new file mode 100644
index 000000000000..baa9bc9e1910
--- /dev/null
+++ b/dev-ruby/redcarpet/redcarpet-2.1.0.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.0.ebuild,v 1.1 2012/01/28 08:42: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
+}