1 |
commit: 9fdb95cb6e475f360e8f46a09d6e8898bb3a6e16 |
2 |
Author: Manuel Rüger (mrueg) <gentoo <AT> rueg <DOT> eu> |
3 |
AuthorDate: Wed May 29 06:03:22 2013 +0000 |
4 |
Commit: Manuel Rüger <gentoo <AT> rueg <DOT> eu> |
5 |
CommitDate: Wed May 29 06:03:22 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=9fdb95cb |
7 |
|
8 |
dev-ruby/rdiscount: Version bump |
9 |
|
10 |
Package-Manager: portage-2.1.12.2 |
11 |
|
12 |
--- |
13 |
dev-ruby/rdiscount/ChangeLog | 9 +++++ |
14 |
dev-ruby/rdiscount/metadata.xml | 5 +++ |
15 |
dev-ruby/rdiscount/rdiscount-2.0.7.3.ebuild | 51 +++++++++++++++++++++++++++++ |
16 |
3 files changed, 65 insertions(+) |
17 |
|
18 |
diff --git a/dev-ruby/rdiscount/ChangeLog b/dev-ruby/rdiscount/ChangeLog |
19 |
new file mode 100644 |
20 |
index 0000000..b4f412e |
21 |
--- /dev/null |
22 |
+++ b/dev-ruby/rdiscount/ChangeLog |
23 |
@@ -0,0 +1,9 @@ |
24 |
+# ChangeLog for dev-ruby/rdiscount |
25 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
26 |
+# $Header: $ |
27 |
+ |
28 |
+*rdiscount-2.0.7.3 (29 May 2013) |
29 |
+ |
30 |
+ 29 May 2013; Manuel Rueger (mrueg) gentoo@××××.eu +metadata.xml, |
31 |
+ +rdiscount-2.0.7.3.ebuild: |
32 |
+ dev-ruby/rdiscount: Version bump |
33 |
|
34 |
diff --git a/dev-ruby/rdiscount/metadata.xml b/dev-ruby/rdiscount/metadata.xml |
35 |
new file mode 100644 |
36 |
index 0000000..8521361 |
37 |
--- /dev/null |
38 |
+++ b/dev-ruby/rdiscount/metadata.xml |
39 |
@@ -0,0 +1,5 @@ |
40 |
+<?xml version="1.0" encoding="UTF-8"?> |
41 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
42 |
+<pkgmetadata> |
43 |
+<herd>ruby</herd> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-ruby/rdiscount/rdiscount-2.0.7.3.ebuild b/dev-ruby/rdiscount/rdiscount-2.0.7.3.ebuild |
47 |
new file mode 100644 |
48 |
index 0000000..87875af |
49 |
--- /dev/null |
50 |
+++ b/dev-ruby/rdiscount/rdiscount-2.0.7.3.ebuild |
51 |
@@ -0,0 +1,51 @@ |
52 |
+# Copyright 1999-2013 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/rdiscount-1.6.8-r1.ebuild,v 1.6 2013/01/15 05:02:19 zerochaos Exp $ |
55 |
+ |
56 |
+EAPI=5 |
57 |
+ |
58 |
+# Has a native extension without jruby support. |
59 |
+USE_RUBY="ruby18 ruby19 ree18" |
60 |
+ |
61 |
+RUBY_FAKEGEM_TASK_TEST="test:unit" |
62 |
+ |
63 |
+RUBY_FAKEGEM_TASK_DOC="doc man" |
64 |
+RUBY_FAKEGEM_EXTRADOC="README.markdown" |
65 |
+ |
66 |
+inherit multilib ruby-fakegem |
67 |
+ |
68 |
+DESCRIPTION="Implementation of John Gruber's Markdown" |
69 |
+HOMEPAGE="http://github.com/rtomayko/rdiscount" |
70 |
+ |
71 |
+LICENSE="MIT" |
72 |
+SLOT="0" |
73 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
74 |
+IUSE="" |
75 |
+ |
76 |
+ruby_add_bdepend "doc? ( app-text/ronn )" |
77 |
+ |
78 |
+all_ruby_prepare() { |
79 |
+ # Hanna is broken for us and therefore we don't have it in portage. |
80 |
+ sed -i -e 's/hanna/rdoc/' Rakefile || die |
81 |
+ |
82 |
+ # Remove rule that will force a rebuild when running tests. |
83 |
+ sed -i -e "/task 'test:unit' => \[:build\]/d" Rakefile || die |
84 |
+ |
85 |
+ # Provide RUBY variable no longer provided by rake. |
86 |
+ sed -i -e "1 iRUBY=${RUBY}" Rakefile || die |
87 |
+} |
88 |
+ |
89 |
+each_ruby_configure() { |
90 |
+ ${RUBY} -Cext extconf.rb || die |
91 |
+} |
92 |
+ |
93 |
+each_ruby_compile() { |
94 |
+ emake -Cext || die |
95 |
+ cp ext/*$(get_modname) lib/ || die |
96 |
+} |
97 |
+ |
98 |
+all_ruby_install() { |
99 |
+ all_fakegem_install |
100 |
+ |
101 |
+ doman man/rdiscount.1 |
102 |
+} |