summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-05-14 23:26:26 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-05-14 23:26:26 +0000
commit0feb28d9561a747c54900f49be2374ba84ff016f (patch)
tree066613acb04d2a7efc40991628a30f1c1ab5f132 /dev-ruby/redcarpet/redcarpet-3.1.2.ebuild
parentprovide logrotate.d entry that works with systemd (bug #508524) (diff)
downloadgentoo-2-0feb28d9561a747c54900f49be2374ba84ff016f.tar.gz
gentoo-2-0feb28d9561a747c54900f49be2374ba84ff016f.tar.bz2
gentoo-2-0feb28d9561a747c54900f49be2374ba84ff016f.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/redcarpet/redcarpet-3.1.2.ebuild')
-rw-r--r--dev-ruby/redcarpet/redcarpet-3.1.2.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/redcarpet/redcarpet-3.1.2.ebuild b/dev-ruby/redcarpet/redcarpet-3.1.2.ebuild
new file mode 100644
index 000000000000..b9023388a987
--- /dev/null
+++ b/dev-ruby/redcarpet/redcarpet-3.1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcarpet/redcarpet-3.1.2.ebuild,v 1.1 2014/05/14 23:26:26 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc"
+RUBY_FAKEGEM_TASK_TEST="test:unit"
+inherit multilib ruby-fakegem
+
+SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+DESCRIPTION="A Ruby wrapper for Upskirt."
+HOMEPAGE="https://github.com/vmg/redcarpet"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/nokogiri )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die
+ rm test/benchmark.rb
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/redcarpet extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/${PN}
+ cp ext/${PN}/*$(get_modname) lib || die
+}