summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-03 10:33:28 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-03 10:33:50 +0100
commit0e34c2da1675de375e741e4fc8a17e7743d09ad1 (patch)
tree37ee2a887f941ac6d909e2495f4668730caa442f
parentwww-client/chromium: amd64 stable wrt bug #601486 (diff)
downloadgentoo-0e34c2da1675de375e741e4fc8a17e7743d09ad1.tar.gz
gentoo-0e34c2da1675de375e741e4fc8a17e7743d09ad1.tar.bz2
gentoo-0e34c2da1675de375e741e4fc8a17e7743d09ad1.zip
app-text/xmlformat: use ruby-single to manage ruby dependency
Package-Manager: portage-2.3.0
-rw-r--r--app-text/xmlformat/xmlformat-1.04.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild b/app-text/xmlformat/xmlformat-1.04.ebuild
index d520298690b6..8962796889af 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,9 +1,13 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+inherit ruby-single
+
DESCRIPTION="Reformat XML documents to your custom style"
SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.kitebird.com/software/xmlformat/"
@@ -12,7 +16,7 @@ SLOT="0"
LICENSE="xmlformat"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-DEPEND="ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.0 ) )
+DEPEND="ruby? ( ${RUBY_DEPS} )
!ruby? ( dev-lang/perl )"
RDEPEND=${DEPEND}
IUSE="ruby doc"