From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/rdtool: ChangeLog rdtool-0.6.22-r1.ebuild |
Date: | Wed, 30 Jun 2010 19:44:12 |
Message-Id: | 20100630194409.A48992C621@corvid.gentoo.org |
1 | graaff 10/06/30 19:44:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rdtool-0.6.22-r1.ebuild |
5 | Log: |
6 | Convert to ruby-ng. |
7 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.39 dev-ruby/rdtool/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdtool/ChangeLog?rev=1.39&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdtool/ChangeLog?rev=1.39&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdtool/ChangeLog?r1=1.38&r2=1.39 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v |
19 | retrieving revision 1.38 |
20 | retrieving revision 1.39 |
21 | diff -u -r1.38 -r1.39 |
22 | --- ChangeLog 23 Oct 2009 14:46:04 -0000 1.38 |
23 | +++ ChangeLog 30 Jun 2010 19:44:09 -0000 1.39 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-ruby/rdtool |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.38 2009/10/23 14:46:04 graaff Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.39 2010/06/30 19:44:09 graaff Exp $ |
30 | + |
31 | +*rdtool-0.6.22-r1 (30 Jun 2010) |
32 | + |
33 | + 30 Jun 2010; Hans de Graaff <graaff@g.o> +rdtool-0.6.22-r1.ebuild: |
34 | + Convert to ruby-ng. |
35 | |
36 | 23 Oct 2009; Hans de Graaff <graaff@g.o> +rdtool-0.6.22.ebuild: |
37 | Version bump to latest upstream version. Install documentation. |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/rdtool/rdtool-0.6.22-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.22-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.22-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rdtool-0.6.22-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.22-r1.ebuild,v 1.1 2010/06/30 19:44:09 graaff Exp $ |
51 | |
52 | EAPI=2 |
53 | USE_RUBY="ruby18" |
54 | |
55 | inherit elisp-common ruby-ng |
56 | |
57 | DESCRIPTION="A multipurpose documentation format for Ruby" |
58 | HOMEPAGE="http://raa.ruby-lang.org/project/rdtool" |
59 | SRC_URI="http://www.moonwolf.com/ruby/archive/${P}.tar.gz" |
60 | LICENSE="Ruby GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
63 | IUSE="emacs" |
64 | |
65 | RDEPEND="${RDEPEND} emacs? ( virtual/emacs )" |
66 | |
67 | ruby_add_rdepend "dev-ruby/amstd" |
68 | |
69 | SITEFILE=50${PN}-gentoo.el |
70 | |
71 | each_ruby_test() { |
72 | ${RUBY} -Ilib test.rb |
73 | } |
74 | |
75 | each_ruby_install() { |
76 | RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}" |
77 | |
78 | ${RUBY} setup.rb config --prefix=/usr "$@" \ |
79 | ${RUBY_ECONF} || die "setup.rb config failed" |
80 | ${RUBY} setup.rb install --prefix="${D}" "$@" \ |
81 | ${RUBY_ECONF} || die "setup.rb install failed" |
82 | } |
83 | |
84 | all_ruby_install() { |
85 | if use emacs ; then |
86 | elisp-install ${PN} utils/rd-mode.el |
87 | elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
88 | fi |
89 | |
90 | dodoc HISTORY README.* |
91 | } |
92 | |
93 | pkg_postinst() { |
94 | use emacs && elisp-site-regen |
95 | } |
96 | |
97 | pkg_postrm() { |
98 | use emacs && elisp-site-regen |
99 | } |