Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/redcloth: ChangeLog redcloth-4.2.3.ebuild redcloth-4.2.3-r1.ebuild
Date: Thu, 29 Jul 2010 09:31:12
Message-Id: 20100729093107.5D0372CE15@corvid.gentoo.org
1 flameeyes 10/07/29 09:31:06
2
3 Modified: ChangeLog redcloth-4.2.3.ebuild
4 Added: redcloth-4.2.3-r1.ebuild
5 Log:
6 Remove Ruby 1.9 and REE18 support from 4.2.3 so we can ask stable; add new revision with those two, and a patch for Ruby 1.9.2 support.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.46 dev-ruby/redcloth/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/ChangeLog?rev=1.46&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/ChangeLog?rev=1.46&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/ChangeLog?r1=1.45&r2=1.46
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v
19 retrieving revision 1.45
20 retrieving revision 1.46
21 diff -u -r1.45 -r1.46
22 --- ChangeLog 23 May 2010 10:20:35 -0000 1.45
23 +++ ChangeLog 29 Jul 2010 09:31:06 -0000 1.46
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-ruby/redcloth
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.45 2010/05/23 10:20:35 a3li Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.46 2010/07/29 09:31:06 flameeyes Exp $
29 +
30 +*redcloth-4.2.3-r1 (29 Jul 2010)
31 +
32 + 29 Jul 2010; Diego E. Pettenò <flameeyes@g.o>
33 + redcloth-4.2.3.ebuild, +redcloth-4.2.3-r1.ebuild:
34 + Remove Ruby 1.9 and REE18 support from 4.2.3 so we can ask stable; add new
35 + revision with those two, and a patch for Ruby 1.9.2 support.
36
37 23 May 2010; Alex Legler <a3li@g.o> redcloth-4.2.3.ebuild:
38 Add REE18 support
39
40
41
42 1.4 dev-ruby/redcloth/redcloth-4.2.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild?rev=1.4&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild?rev=1.4&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild?r1=1.3&r2=1.4
47
48 Index: redcloth-4.2.3.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild,v
51 retrieving revision 1.3
52 retrieving revision 1.4
53 diff -u -r1.3 -r1.4
54 --- redcloth-4.2.3.ebuild 23 May 2010 10:20:35 -0000 1.3
55 +++ redcloth-4.2.3.ebuild 29 Jul 2010 09:31:06 -0000 1.4
56 @@ -1,11 +1,11 @@
57 # Copyright 1999-2010 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild,v 1.3 2010/05/23 10:20:35 a3li Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild,v 1.4 2010/07/29 09:31:06 flameeyes Exp $
61
62 EAPI=2
63
64 # jruby → tests still fail with UTF-8 characters
65 -USE_RUBY="ruby18 ree18 ruby19"
66 +USE_RUBY="ruby18"
67
68 RUBY_FAKEGEM_NAME="RedCloth"
69
70
71
72
73 1.1 dev-ruby/redcloth/redcloth-4.2.3-r1.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3-r1.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3-r1.ebuild?rev=1.1&content-type=text/plain
77
78 Index: redcloth-4.2.3-r1.ebuild
79 ===================================================================
80 # Copyright 1999-2010 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3-r1.ebuild,v 1.1 2010/07/29 09:31:06 flameeyes Exp $
83
84 EAPI=2
85
86 # jruby → tests still fail with UTF-8 characters
87 USE_RUBY="ruby18 ree18 ruby19"
88
89 RUBY_FAKEGEM_NAME="RedCloth"
90
91 RUBY_FAKEGEM_TASK_TEST="spec"
92 RUBY_FAKEGEM_TASK_DOC="docs"
93
94 RUBY_FAKEGEM_DOCDIR="doc"
95
96 RUBY_FAKEGEM_EXTRADOC="README CHANGELOG"
97
98 RUBY_FAKEGEM_REQUIRE_PATHS="lib/case_sensitive_require"
99
100 inherit ruby-fakegem versionator
101
102 DESCRIPTION="A module for using Textile in Ruby"
103 HOMEPAGE="http://redcloth.org/"
104
105 SRC_URI="http://github.com/jgarber/redcloth/tarball/RELEASE_$(replace_all_version_separators _) -> ${RUBY_FAKEGEM_NAME}-git-${PV}.tgz
106 http://dev.gentoo.org/~flameeyes/patches/${PN}/${P}+ruby-1.9.2.patch.bz2"
107
108 LICENSE="MIT"
109 SLOT="0"
110 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
111 IUSE=""
112
113 DEPEND="$DEPEND
114 dev-util/ragel"
115 RDEPEND="$RDEPEND"
116
117 S="${WORKDIR}/jgarber-${PN}-*"
118
119 ruby_add_bdepend "
120 dev-ruby/rake
121 >=dev-ruby/echoe-3.0.1
122 test? (
123 dev-ruby/rspec
124 dev-ruby/diff-lcs
125 )"
126
127 RUBY_PATCHES=(
128 "${FILESDIR}"/${P}-gentoo.patch
129 "${DISTDIR}"/${P}+ruby-1.9.2.patch.bz2
130 )
131
132 pkg_setup() {
133 # Export the VERBOSE variable to avoid remapping of stdout and
134 # stderr, and that breaks because of bad interactions between
135 # echoe, Ruby and Gentoo.
136 export VERBOSE=1
137 }
138
139 each_ruby_compile() {
140 # We cannot run this manually easily, because Ragel re-generation
141 # is a mess
142 ${RUBY} -S rake compile || die "rake compile failed"
143 }
144
145 each_ruby_test() {
146 find spec -name '*_spec.rb' -print0 | xargs -0 ${RUBY} -I lib -S spec -Du -fs
147 }