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.2.ebuild
Date: Sat, 01 May 2010 16:58:33
Message-Id: 20100501165830.7F56C2C121@corvid.gentoo.org
1 flameeyes 10/05/01 16:58:30
2
3 Modified: ChangeLog
4 Added: redcloth-4.2.3.ebuild
5 Removed: redcloth-4.2.2.ebuild
6 Log:
7 Version bump, avoid double-build, avoid forced rspec dependency.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.42 dev-ruby/redcloth/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/redcloth/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/redcloth/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/redcloth/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 13 Feb 2010 20:17:41 -0000 1.41
24 +++ ChangeLog 1 May 2010 16:58:30 -0000 1.42
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ruby/redcloth
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.41 2010/02/13 20:17:41 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.42 2010/05/01 16:58:30 flameeyes Exp $
30 +
31 +*redcloth-4.2.3 (01 May 2010)
32 +
33 + 01 May 2010; Diego E. Pettenò <flameeyes@g.o>
34 + -redcloth-4.2.2.ebuild, +redcloth-4.2.3.ebuild,
35 + +files/redcloth-4.2.3-gentoo.patch:
36 + Version bump, avoid double-build, avoid forced rspec dependency.
37
38 13 Feb 2010; Raúl Porcel <armin76@g.o> redcloth-4.1.9.ebuild,
39 redcloth-4.2.2.ebuild, redcloth-4.2.2-r3.ebuild:
40
41
42
43 1.1 dev-ruby/redcloth/redcloth-4.2.3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: redcloth-4.2.3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.3.ebuild,v 1.1 2010/05/01 16:58:30 flameeyes Exp $
53
54 EAPI=2
55
56 # jruby → tests still fail with UTF-8 characters
57 USE_RUBY="ruby18 ruby19"
58
59 RUBY_FAKEGEM_NAME="RedCloth"
60
61 RUBY_FAKEGEM_TASK_TEST="spec"
62 RUBY_FAKEGEM_TASK_DOC="docs"
63
64 RUBY_FAKEGEM_DOCDIR="doc"
65
66 RUBY_FAKEGEM_EXTRADOC="README CHANGELOG"
67
68 RUBY_FAKEGEM_REQUIRE_PATHS="lib/case_sensitive_require"
69
70 inherit ruby-fakegem versionator
71
72 DESCRIPTION="A module for using Textile in Ruby"
73 HOMEPAGE="http://redcloth.org/"
74
75 SRC_URI="http://github.com/jgarber/redcloth/tarball/RELEASE_$(replace_all_version_separators _) -> ${RUBY_FAKEGEM_NAME}-git-${PV}.tgz"
76
77 LICENSE="MIT"
78 SLOT="0"
79 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
80 IUSE=""
81
82 DEPEND="$DEPEND
83 dev-util/ragel"
84 RDEPEND="$RDEPEND"
85
86 S="${WORKDIR}/jgarber-${PN}-*"
87
88 ruby_add_bdepend 'dev-ruby/rake >=dev-ruby/echoe-3.0.1'
89 ruby_add_bdepend test "dev-ruby/rspec dev-ruby/diff-lcs"
90
91 pkg_setup() {
92 # Export the VERBOSE variable to avoid remapping of stdout and
93 # stderr, and that breaks because of bad interactions between
94 # echoe, Ruby and Gentoo.
95 export VERBOSE=1
96 }
97
98 all_ruby_prepare() {
99 epatch "${FILESDIR}"/${P}-gentoo.patch
100 }
101
102 each_ruby_compile() {
103 # We cannot run this manually easily, because Ragel re-generation
104 # is a mess
105 ${RUBY} -S rake compile || die "rake compile failed"
106 }
107
108 each_ruby_test() {
109 find spec -name '*_spec.rb' -print0 | xargs -0 ${RUBY} -I lib -S spec -Du -fs
110 }