public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2016-12-03  9:33 Hans de Graaff
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff @ 2016-12-03  9:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0e34c2da1675de375e741e4fc8a17e7743d09ad1
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 09:33:28 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 09:33:50 2016 +0000
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"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2018-03-22  6:50 Hans de Graaff
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff @ 2018-03-22  6:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a9d7d4b110cbdfb3a63a24caea97ef4644336da0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 06:35:16 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 06:50:18 2018 +0000
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
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2020-04-28  4:41 Hans de Graaff
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff @ 2020-04-28  4:41 UTC (permalink / raw
  To: gentoo-commits

commit:     a4a42876241ddf5173056acaadd5f0d90c3089b5
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 09:18:56 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 04:39:56 2020 +0000
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 <graaff <AT> 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
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2021-03-05 18:00 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-03-05 18:00 UTC (permalink / raw
  To: gentoo-commits

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

app-text/xmlformat: port to EAPI 7

Signed-off-by: Sam James <sam <AT> 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."


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2021-07-18  5:59 Hans de Graaff
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff @ 2021-07-18  5:59 UTC (permalink / raw
  To: gentoo-commits

commit:     7c3d1318008618c2221b724f6a59d12d67b6bd17
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 05:51:28 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 05:51:28 2021 +0000
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 <graaff <AT> 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"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2022-12-07 17:57 Hans de Graaff
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff @ 2022-12-07 17:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ee4b673bf88a41184221126718b9a58e60110b76
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  7 17:47:04 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 17:57:14 2022 +0000
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 <graaff <AT> 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"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/
@ 2023-04-07 18:11 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2023-04-07 18:11 UTC (permalink / raw
  To: gentoo-commits

commit:     06567374880f9b020eccce012518dbca3990ccaa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 17:54:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 18:09:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06567374

app-text/xmlformat: enable ruby31, ruby32

Signed-off-by: Sam James <sam <AT> 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
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-07 18:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18  5:59 [gentoo-commits] repo/gentoo:master commit in: app-text/xmlformat/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2023-04-07 18:11 Sam James
2022-12-07 17:57 Hans de Graaff
2021-03-05 18:00 Sam James
2020-04-28  4:41 Hans de Graaff
2018-03-22  6:50 Hans de Graaff
2016-12-03  9:33 Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox