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.8.ebuild
Date: Sun, 25 Sep 2011 22:48:30
Message-Id: 20110925224820.9254A20036@flycatcher.gentoo.org
1 flameeyes 11/09/25 22:48:20
2
3 Modified: ChangeLog
4 Added: redcloth-4.2.8.ebuild
5 Log:
6 Version bump; this version does not require patches (yuppie).
7
8 (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.62 dev-ruby/redcloth/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 22 Jul 2011 13:07:41 -0000 1.61
24 +++ ChangeLog 25 Sep 2011 22:48:20 -0000 1.62
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/redcloth
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.61 2011/07/22 13:07:41 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.62 2011/09/25 22:48:20 flameeyes Exp $
30 +
31 +*redcloth-4.2.8 (25 Sep 2011)
32 +
33 + 25 Sep 2011; Diego E. Pettenò <flameeyes@g.o> +redcloth-4.2.8.ebuild:
34 + Version bump; this version does not require patches (yuppie).
35
36 22 Jul 2011; Kacper Kowalik <xarthisius@g.o> redcloth-4.2.3-r1.ebuild:
37 ppc64 stable wrt #352483
38
39
40
41 1.1 dev-ruby/redcloth/redcloth-4.2.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: redcloth-4.2.8.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.8.ebuild,v 1.1 2011/09/25 22:48:20 flameeyes Exp $
51
52 EAPI=4
53
54 # jruby → tests still fail with UTF-8 characters
55 # http://jgarber.lighthouseapp.com/projects/13054/tickets/149-redcloth-4-doesnt-support-multi-bytes-content
56 USE_RUBY="ruby18 ree18 ruby19"
57
58 RUBY_FAKEGEM_NAME="RedCloth"
59
60 RUBY_FAKEGEM_TASK_TEST="spec"
61 RUBY_FAKEGEM_TASK_DOC="docs"
62
63 RUBY_FAKEGEM_DOCDIR="doc"
64
65 RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGELOG"
66
67 RUBY_FAKEGEM_REQUIRE_PATHS="lib/case_sensitive_require"
68
69 inherit ruby-fakegem versionator
70
71 DESCRIPTION="A module for using Textile in Ruby"
72 HOMEPAGE="http://redcloth.org/"
73
74 GITHUB_USER=jgarber
75 SRC_URI="https://github.com/${GITHUB_USER}/redcloth/tarball/v${PV} -> ${RUBY_FAKEGEM_NAME}-git-${PV}.tgz"
76 RUBY_S="${GITHUB_USER}-${PN}-*"
77
78 LICENSE="MIT"
79 SLOT="0"
80 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
81 IUSE=""
82
83 DEPEND="$DEPEND
84 dev-util/ragel"
85 RDEPEND="$RDEPEND"
86
87 ruby_add_bdepend "
88 >=dev-ruby/rake-0.8.7
89 >=dev-ruby/rake-compiler-0.7.1
90 test? (
91 >=dev-ruby/rspec-2.4
92 >=dev-ruby/diff-lcs-1.1.2
93 )"
94
95 pkg_setup() {
96 ruby-ng_pkg_setup
97
98 # Export the VERBOSE variable to avoid remapping of stdout and
99 # stderr, and that breaks because of bad interactions between
100 # echoe, Ruby and Gentoo.
101 export VERBOSE=1
102 }
103
104 all_ruby_prepare() {
105 sed -i -e '/[Bb]undler/d' Rakefile ${PN}.gemspec || die
106 rm tasks/{release,gems}.rake || die
107 }
108
109 each_ruby_compile() {
110 # We cannot run this manually easily, because Ragel re-generation
111 # is a mess
112 ${RUBY} -S rake compile || die "rake compile failed"
113 }
114
115 each_ruby_test() {
116 find spec -name '*_spec.rb' -print0 | xargs -0 ${RUBY} -I lib -S rspec -Du -fs
117 }