[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2016-12-03 Thread Hans de Graaff
commit: 0e34c2da1675de375e741e4fc8a17e7743d09ad1
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Dec  3 09:33:28 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Dec  3 09:33:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e34c2da

app-text/xmlformat: use ruby-single to manage ruby dependency

Package-Manager: portage-2.3.0

 app-text/xmlformat/xmlformat-1.04.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index d520298..8962796 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"



[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2018-03-21 Thread Hans de Graaff
commit: a9d7d4b110cbdfb3a63a24caea97ef4644336da0
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 22 06:35:16 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 22 06:50:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d7d4b1

app-text/xmlformat: add ruby24, ruby25

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-text/xmlformat/xmlformat-1.04.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index e774cbcd0e1..b91035f55bd 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
 
 inherit ruby-single
 



[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2020-04-27 Thread Hans de Graaff
commit: a4a42876241ddf5173056acaadd5f0d90c3089b5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 27 09:18:56 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Apr 28 04:39:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a42876

app-text/xmlformat: add ruby26

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 app-text/xmlformat/xmlformat-1.04.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index b91035f55bd..044ee876c25 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+USE_RUBY="ruby24 ruby25 ruby26"
 
 inherit ruby-single
 



[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2021-03-05 Thread Sam James
commit: acdb9f34dd518c28727a3bfcfe1ff83eb5c999a0
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  4 07:54:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  5 18:00:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acdb9f34

app-text/xmlformat: port to EAPI 7

Signed-off-by: Sam James  gentoo.org>

 app-text/xmlformat/xmlformat-1.04.ebuild | 29 +
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index 044ee876c25..7e10ca1cc03 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,30 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 USE_RUBY="ruby24 ruby25 ruby26"
-
 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/";
 
-SLOT="0"
 LICENSE="xmlformat"
+SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc ruby"
 
-DEPEND="ruby? ( ${RUBY_DEPS} )
-   !ruby? ( dev-lang/perl )"
-RDEPEND=${DEPEND}
-IUSE="ruby doc"
+DEPEND="
+   ruby? ( ${RUBY_DEPS} )
+   !ruby? ( dev-lang/perl )
+"
+RDEPEND="${DEPEND}"
 
 src_install() {
dobin xmlformat.pl
 
-   if use ruby
-   then
+   if use ruby; then
dobin xmlformat.rb
dosym xmlformat.rb /usr/bin/xmlformat
else
@@ -33,17 +33,14 @@ src_install() {
 
dodoc BUGS ChangeLog README TODO
 
-   if use doc
-   then
+   if use doc; then
# APIs
-   insinto /usr/share/doc/${PF}
-   doins -r docs/*
+   dodoc -r docs/*
fi
 }
 
 src_test() {
-   if use ruby
-   then
+   if use ruby; then
./runtest all || die "runtest for ruby failed."
else
./runtest -p all || die "runtest for perl failed."



[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2021-07-17 Thread Hans de Graaff
commit: 7c3d1318008618c2221b724f6a59d12d67b6bd17
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 18 05:51:28 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 18 05:51:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3d1318

app-text/xmlformat: add ruby27

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 app-text/xmlformat/xmlformat-1.04.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index 7e10ca1cc03..a286b8eb856 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27"
 inherit ruby-single
 
 DESCRIPTION="Reformat XML documents to your custom style"



[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2023-04-07 Thread Sam James
commit: 06567374880f9b020eccce012518dbca3990ccaa
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  7 17:54:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  7 18:09:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06567374

app-text/xmlformat: enable ruby31, ruby32

Signed-off-by: Sam James  gentoo.org>

 app-text/xmlformat/xmlformat-1.04.ebuild | 25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index 7dd8954575e8..6abdd5883fc8 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby27 ruby30"
-inherit ruby-single
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+inherit edo ruby-single
 
 DESCRIPTION="Reformat XML documents to your custom style"
 SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz";
@@ -16,11 +16,20 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="doc ruby"
 
 DEPEND="
+   dev-lang/perl
ruby? ( ${RUBY_DEPS} )
-   !ruby? ( dev-lang/perl )
 "
 RDEPEND="${DEPEND}"
 
+src_test() {
+   # Perl is always installed, so we may as well always test both.
+   if use ruby; then
+   nonfatal edo ./runtest all || die "runtest for ruby failed"
+   fi
+
+   nonfatal edo ./runtest -p all || die "runtest for perl failed"
+}
+
 src_install() {
dobin xmlformat.pl
 
@@ -38,11 +47,3 @@ src_install() {
dodoc -r docs/*
fi
 }
-
-src_test() {
-   if use ruby; then
-   ./runtest all || die "runtest for ruby failed."
-   else
-   ./runtest -p all || die "runtest for perl failed."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/

2022-12-07 Thread Hans de Graaff
commit: ee4b673bf88a41184221126718b9a58e60110b76
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Dec  7 17:47:04 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Dec  7 17:57:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee4b673b

app-text/xmlformat: enable ruby30 and disable ruby25, ruby26

Signed-off-by: Hans de Graaff  gentoo.org>

 app-text/xmlformat/xmlformat-1.04.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild 
b/app-text/xmlformat/xmlformat-1.04.ebuild
index a286b8eb8561..7dd8954575e8 100644
--- a/app-text/xmlformat/xmlformat-1.04.ebuild
+++ b/app-text/xmlformat/xmlformat-1.04.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby27 ruby30"
 inherit ruby-single
 
 DESCRIPTION="Reformat XML documents to your custom style"