Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/dev-zero:master commit in: dev-ruby/descendants_tracker/
Date: Mon, 01 Jul 2013 16:58:45
Message-Id: 1372697903.2500554bffd8e156d0ea4445431c977942484e08.dev-zero@gentoo
1 commit: 2500554bffd8e156d0ea4445431c977942484e08
2 Author: Tiziano Müller <tm <AT> dev-zero <DOT> ch>
3 AuthorDate: Mon Jul 1 16:58:23 2013 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 1 16:58:23 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=2500554b
7
8 descendants_tracker -> virus -> gitlab
9
10 ---
11 dev-ruby/descendants_tracker/Manifest | 2 ++
12 .../descendants_tracker-0.0.1.ebuild | 33 ++++++++++++++++++++++
13 2 files changed, 35 insertions(+)
14
15 diff --git a/dev-ruby/descendants_tracker/Manifest b/dev-ruby/descendants_tracker/Manifest
16 new file mode 100644
17 index 0000000..ecb77bb
18 --- /dev/null
19 +++ b/dev-ruby/descendants_tracker/Manifest
20 @@ -0,0 +1,2 @@
21 +DIST descendants_tracker-0.0.1.tar.gz 10462 SHA256 18e743847166ba8c01fedb23b70ebc11ed8c47e28963a8f9edc33494603d234e SHA512 a0048dcb1c0105cbf699fab102fe7eb9de4c0ac0ed2b52f85ff384d4cb8b85206b6a7d1700578f773f583b657bea0445d8ac67827cf3a787ba01004d97b1a06d WHIRLPOOL 69831edb6f165ca346bfc5a05e17d1c5b5129ded8542e20376cd0a3d96c59ed7ef9225b0c1978d7439ade6d35105ce20d9155aa4a60d5d414c1fef2422d45d41
22 +EBUILD descendants_tracker-0.0.1.ebuild 717 SHA256 a7d6923cdf907e4fb35adc8976ecda31f398ec47267a5802056133d08c2f8efe SHA512 bfc2f55ba200e04eec66022093c13e7affd42190166ae57dc97b83baad63bf7376cbbdcf63f4e19167f5dc57ba7d7ba1417ef4e04e340f7aba2f293d579de562 WHIRLPOOL 7d413f0fb9e23a497f4509b3b6398559dba71c1897652de4b05a53ca573f061ef204c68a7bc3add25af38f3d31803eb9b2db2898fc099fb07693dbddc3cfed19
23
24 diff --git a/dev-ruby/descendants_tracker/descendants_tracker-0.0.1.ebuild b/dev-ruby/descendants_tracker/descendants_tracker-0.0.1.ebuild
25 new file mode 100644
26 index 0000000..77269b1
27 --- /dev/null
28 +++ b/dev-ruby/descendants_tracker/descendants_tracker-0.0.1.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2013 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Header: $
33 +
34 +EAPI=5
35 +USE_RUBY="ruby18 ruby19"
36 +
37 +RUBY_FAKEGEM_RECIPE_TEST="rake"
38 +RUBY_FAKEGEM_RECIPE_DOC="none"
39 +RUBY_FAKEGEM_EXTRADOC="README.md TODO"
40 +RUBY_FAKEGEM_DOCDIR="doc"
41 +
42 +inherit ruby-fakegem
43 +
44 +DESCRIPTION="Track descendants of a class"
45 +HOMEPAGE="https://github.com/dkubb/descendants_tracker"
46 +SRC_URI="https://github.com/dkubb/descendants_tracker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +IUSE="doc"
52 +
53 +ruby_add_bdepend "doc? ( dev-ruby/yard )
54 + test? ( dev-ruby/rspec:0 )"
55 +
56 +all_ruby_compile() {
57 + all_fakegem_compile
58 +
59 + if use doc ; then
60 + yard || die "yard failed"
61 + fi
62 +}