Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/alexandria: ChangeLog alexandria-0.6.6-r1.ebuild
Date: Fri, 25 Jun 2010 21:30:12
Message-Id: 20100625213009.D2AB22CF69@corvid.gentoo.org
1 graaff 10/06/25 21:30:09
2
3 Modified: ChangeLog
4 Added: alexandria-0.6.6-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 app-misc/alexandria/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/alexandria/ChangeLog?rev=1.39&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/alexandria/ChangeLog?rev=1.39&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/alexandria/ChangeLog?r1=1.38&r2=1.39
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v
19 retrieving revision 1.38
20 retrieving revision 1.39
21 diff -u -r1.38 -r1.39
22 --- ChangeLog 25 Jun 2010 08:38:12 -0000 1.38
23 +++ ChangeLog 25 Jun 2010 21:30:09 -0000 1.39
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-misc/alexandria
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v 1.38 2010/06/25 08:38:12 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v 1.39 2010/06/25 21:30:09 graaff Exp $
29 +
30 +*alexandria-0.6.6-r1 (25 Jun 2010)
31 +
32 + 25 Jun 2010; Hans de Graaff <graaff@g.o>
33 + +alexandria-0.6.6-r1.ebuild:
34 + Convert to ruby-ng.
35
36 25 Jun 2010; Christian Faulhammer <fauli@g.o>
37 alexandria-0.6.6.ebuild:
38
39
40
41 1.1 app-misc/alexandria/alexandria-0.6.6-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/alexandria/alexandria-0.6.6-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/alexandria/alexandria-0.6.6-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alexandria-0.6.6-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/app-misc/alexandria/alexandria-0.6.6-r1.ebuild,v 1.1 2010/06/25 21:30:09 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18"
54
55 inherit gnome2 ruby-ng
56
57 DESCRIPTION="A GNOME application to help you manage your book collection"
58 HOMEPAGE="http://alexandria.rubyforge.org/"
59 SRC_URI="mirror://rubyforge/${PN}/${PN}-${PV}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="evo"
65
66 DOCS="ChangeLog README TODO"
67
68 ruby_add_rdepend "
69 >=dev-ruby/ruby-gettext-0.6.1
70 >=dev-ruby/ruby-gnome2-0.16.0
71 >=dev-ruby/ruby-libglade2-0.12.0
72 >=dev-ruby/ruby-gconf2-0.12.0
73 >=dev-ruby/imagesize-0.1.1
74 dev-ruby/hpricot
75 evo? ( >=dev-ruby/revolution-0.5 )"
76
77 ruby_add_bdepend "dev-ruby/rake"
78
79 DEPEND="${DEPEND} app-text/scrollkeeper"
80
81 RUBY_PATCHES=(
82 "${FILESDIR}/${P}-Rakefile.patch"
83 )
84
85 each_ruby_compile() {
86 ${RUBY} -S rake || die
87 }
88
89 each_ruby_install() {
90 export PREFIX="${D}/usr"
91 # Prevent regeneration of config.rb with wrongly set path entries
92 sed -e 's:lib/alexandria/config.rb:tempfile:' -i Rakefile || die
93 ${RUBY} -S rake install || die
94 }
95
96 all_ruby_install() {
97 [ -n "${DOCS}" ] && dodoc ${DOCS}
98
99 # Move the installed docs to the gentoo standard directory
100 for doc in "${D}/usr/share/doc/alexandria/*"
101 do
102 dodoc $doc
103 done
104 rm -rf "${D}/usr/share/doc/alexandria"
105 }
106
107 pkg_postinst() {
108 unset PREFIX
109
110 gnome2_gconf_install
111
112 # For the next line see bug #76726
113 "${ROOT}/usr/bin/gconftool-2" --shutdown
114
115 echo
116 elog "To enable some book providers you will need to emerge"
117 elog "additional packages:"
118 echo
119 elog " For the Deastore book provider:"
120 elog " dev-ruby/htmlentities"
121 echo
122 elog " For Z39.50 support and the Library of Congress and"
123 elog " British Library book proviers:"
124 elog " dev-ruby/ruby-zoom"
125 }