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/uuidtools: ChangeLog uuidtools-1.0.5.ebuild
Date: Mon, 01 Dec 2008 18:19:56
Message-Id: E1L7DNA-0001Vv-Nk@stork.gentoo.org
1 flameeyes 08/12/01 18:19:52
2
3 Modified: ChangeLog
4 Added: uuidtools-1.0.5.ebuild
5 Log:
6 Version bump; use tarball rather than gem: the installed package is smaller, it has no rake/rspec dependencies, and tests are executed with FEATURES=test.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64)
8
9 Revision Changes Path
10 1.4 dev-ruby/uuidtools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/uuidtools/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/uuidtools/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/uuidtools/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 3 Nov 2008 06:17:31 -0000 1.3
23 +++ ChangeLog 1 Dec 2008 18:19:52 -0000 1.4
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-ruby/uuidtools
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/ChangeLog,v 1.3 2008/11/03 06:17:31 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/ChangeLog,v 1.4 2008/12/01 18:19:52 flameeyes Exp $
29 +
30 +*uuidtools-1.0.5 (01 Dec 2008)
31 +
32 + 01 Dec 2008; Diego E. Pettenò <flameeyes@g.o>
33 + +uuidtools-1.0.5.ebuild:
34 + Version bump; use tarball rather than gem: the installed package is
35 + smaller, it has no rake/rspec dependencies, and tests are executed with
36 + FEATURES=test.
37
38 03 Nov 2008; Hans de Graaff <graaff@g.o> uuidtools-1.0.4.ebuild:
39 Keywording ~x86, works fine there
40
41
42
43 1.1 dev-ruby/uuidtools/uuidtools-1.0.5.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/uuidtools/uuidtools-1.0.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/uuidtools/uuidtools-1.0.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: uuidtools-1.0.5.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/uuidtools-1.0.5.ebuild,v 1.1 2008/12/01 18:19:52 flameeyes Exp $
53
54 inherit ruby
55
56 DESCRIPTION="Simple library to generate UUIDs"
57 HOMEPAGE="http://uuidtools.rubyforge.org/"
58 SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
59
60 LICENSE="MIT"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="test doc"
64
65 DEPEND="doc? ( dev-ruby/rake )
66 test? ( dev-ruby/rake )
67 test? ( >=dev-ruby/rspec-1.0.8 )"
68 RDEPEND=""
69
70 USE_RUBY="ruby18"
71
72 src_unpack() {
73 unpack ${A}
74
75 find . -name '._*.rb' -delete || die "unable to remove mac files"
76 }
77
78 src_compile() {
79 if use doc; then
80 rake doc || die "rake doc failed"
81 fi
82 }
83
84 src_test() {
85 rake spec:normal || die "rake spec failed"
86 }
87
88 src_install() {
89 cd "${S}"/lib
90 doruby -r * || die "doruby failed"
91
92 if use doc; then
93 dohtml -r "${S}"/doc/* || die "dohtml failed"
94 fi
95
96 dodoc "${S}"/CHANGELOG "${S}"/README || die "dodoc failed"
97 }