Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
Date: Sat, 03 Dec 2016 09:33:57
Message-Id: 1480757630.0e34c2da1675de375e741e4fc8a17e7743d09ad1.graaff@gentoo
1 commit: 0e34c2da1675de375e741e4fc8a17e7743d09ad1
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 3 09:33:28 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 3 09:33:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e34c2da
7
8 app-text/xmlformat: use ruby-single to manage ruby dependency
9
10 Package-Manager: portage-2.3.0
11
12 app-text/xmlformat/xmlformat-1.04.ebuild | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild b/app-text/xmlformat/xmlformat-1.04.ebuild
16 index d520298..8962796 100644
17 --- a/app-text/xmlformat/xmlformat-1.04.ebuild
18 +++ b/app-text/xmlformat/xmlformat-1.04.ebuild
19 @@ -1,9 +1,13 @@
20 -# Copyright 1999-2013 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 EAPI=5
26
27 +USE_RUBY="ruby20 ruby21 ruby22 ruby23"
28 +
29 +inherit ruby-single
30 +
31 DESCRIPTION="Reformat XML documents to your custom style"
32 SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz"
33 HOMEPAGE="http://www.kitebird.com/software/xmlformat/"
34 @@ -12,7 +16,7 @@ SLOT="0"
35 LICENSE="xmlformat"
36 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
37
38 -DEPEND="ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.0 ) )
39 +DEPEND="ruby? ( ${RUBY_DEPS} )
40 !ruby? ( dev-lang/perl )"
41 RDEPEND=${DEPEND}
42 IUSE="ruby doc"