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/ruby-bz2: ChangeLog ruby-bz2-0.2.2-r1.ebuild ruby-bz2-0.2.2.ebuild
Date: Thu, 28 Jan 2010 12:21:54
Message-Id: E1NaTNd-0004JG-Gt@stork.gentoo.org
1 flameeyes 10/01/28 12:21:49
2
3 Modified: ChangeLog
4 Added: ruby-bz2-0.2.2-r1.ebuild
5 Removed: ruby-bz2-0.2.2.ebuild
6 Log:
7 Replace ebuild with a ruby-ng one, only support Ruby 1.8 as that's the only version supported. Closes bug #292275.
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-ruby/ruby-bz2/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 9 May 2009 01:14:29 -0000 1.3
24 +++ ChangeLog 28 Jan 2010 12:21:48 -0000 1.4
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ruby/ruby-bz2
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog,v 1.3 2009/05/09 01:14:29 flameeyes Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog,v 1.4 2010/01/28 12:21:48 flameeyes Exp $
31 +
32 +*ruby-bz2-0.2.2-r1 (28 Jan 2010)
33 +
34 + 28 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
35 + -ruby-bz2-0.2.2.ebuild, +ruby-bz2-0.2.2-r1.ebuild:
36 + Replace ebuild with a ruby-ng one, only support Ruby 1.8 as that's the
37 + only version supported. Closes bug #292275.
38
39 09 May 2009; Diego E. Pettenò <flameeyes@g.o>
40 ruby-bz2-0.2.2.ebuild:
41
42
43
44 1.1 dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ruby-bz2-0.2.2-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild,v 1.1 2010/01/28 12:21:48 flameeyes Exp $
54
55 EAPI=2
56
57 USE_RUBY="ruby18"
58
59 inherit ruby-ng
60
61 MY_P="${P/ruby-}"
62
63 DESCRIPTION="Ruby interface to libbz2"
64 HOMEPAGE="http://moulon.inra.fr/ruby/bz2.html"
65 SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz"
66
67 LICENSE="Ruby"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
70 IUSE="doc"
71
72 S="${WORKDIR}/${MY_P}"
73
74 RDEPEND="app-arch/bzip2"
75 DEPEND="${RDEPEND}"
76
77 each_ruby_configure() {
78 ${RUBY} extconf.rb || die "extconf failed"
79 }
80
81 each_ruby_compile() {
82 emake || die "emake failed"
83
84 if use doc; then
85 emake rdoc || die "rdoc failed"
86 fi
87 }
88
89 each_ruby_test() {
90 emake test || die "tests failed"
91 }
92
93 each_ruby_install() {
94 doruby bz2.so
95
96 dodoc README.en || die
97 dohtml bz2.html || die
98
99 if use doc; then
100 pushd docs &>/dev/null
101 docinto api
102 dohtml -r doc || die
103 popd &>/dev/null
104 fi
105 }