[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/files/, profiles/, dev-ruby/tidy-ext/

2023-04-21 Thread David Seifert
commit: 94056a41b38e6eb3c1b8f694eb03b6c48cab70ed
Author: David Seifert  gentoo  org>
AuthorDate: Fri Apr 21 08:54:32 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Apr 21 08:54:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94056a41

dev-ruby/tidy-ext: treeclean

Closes: https://bugs.gentoo.org/587222
Closes: https://bugs.gentoo.org/884409
Signed-off-by: David Seifert  gentoo.org>

 dev-ruby/tidy-ext/Manifest|  1 -
 dev-ruby/tidy-ext/files/11CVE-2015-5522.patch | 34 ---
 dev-ruby/tidy-ext/metadata.xml| 11 -
 dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild   | 34 ---
 profiles/package.mask |  6 -
 5 files changed, 86 deletions(-)

diff --git a/dev-ruby/tidy-ext/Manifest b/dev-ruby/tidy-ext/Manifest
deleted file mode 100644
index adca93b6a591..
--- a/dev-ruby/tidy-ext/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tidy-ext-0.1.14.gem 260608 BLAKE2B 
5401ec2019f25307f4083f3a1717cd2b0419e0025875b0ad461c72e50445f9b1ffc488a723db04432d262cf2dd94fd267f5261b33eb53d829f4a03d5cd29ab30
 SHA512 
8a8eada3cb5e815338de49332a24c85b9b2cabba0e10f2d72fe85bd4faf76924e52d82066e7b73e62bc459631aaa9d1c42a6941988ae2a71ca0ddd4f3302ad86

diff --git a/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch 
b/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch
deleted file mode 100644
index 942209873be0..
--- a/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From c18f27a58792f7fbd0b30a0ff50d6b40a82f940d Mon Sep 17 00:00:00 2001
-From: Geoff McLane 
-Date: Wed, 3 Jun 2015 20:26:03 +0200
-Subject: [PATCH] Issue #217 - avoid len going negative, ever...
-

- src/lexer.c | 8 +---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/src/lexer.c b/src/lexer.c
-index 376a3d8..664f806 100644
 a/ext/tidy/lexer.c
-+++ b/ext/tidy/lexer.c
-@@ -3739,16 +3740,17 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr 
name,
- /* and prompts attributes unless --literal-attributes is set to yes   
   */
- /* #994841 - Whitespace is removed from value attributes  
   */
- 
--if (munge &&
-+/* Issue #217 - Also only if/while (len > 0) - MUST NEVER GO 
NEGATIVE! */
-+if ((len > 0) && munge &&
- TY_(tmbstrcasecmp)(name, "alt") &&
- TY_(tmbstrcasecmp)(name, "title") &&
- TY_(tmbstrcasecmp)(name, "value") &&
- TY_(tmbstrcasecmp)(name, "prompt"))
- {
--while (TY_(IsWhite)(lexer->lexbuf[start+len-1]))
-+while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0))
- --len;
- 
--while (TY_(IsWhite)(lexer->lexbuf[start]) && start < len)
-+while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && 
(len > 0))
- {
- ++start;
- --len;

diff --git a/dev-ruby/tidy-ext/metadata.xml b/dev-ruby/tidy-ext/metadata.xml
deleted file mode 100644
index 0432a268b965..
--- a/dev-ruby/tidy-ext/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd";>
-
-  
-r...@gentoo.org
-Gentoo Ruby Project
-  
-  
-carld/tidy
-  
-

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
deleted file mode 100644
index 1027b579d387..
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/tidy/extconf.rb)
-
-inherit ruby-fakegem
-
-DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
-HOMEPAGE="https://github.com/carld/tidy";
-
-LICENSE="HTML-Tidy"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE=""
-
-PATCHES=( "${FILESDIR}/11CVE-2015-5522.patch" )
-
-all_ruby_prepare() {
-   mkdir lib || die
-
-   # Remove reference to rspec 1
-   sed -i -e '/spec/d' spec/spec_helper.rb || die
-
-   # Avoid spec that needs network connectivity.
-   rm spec/tidy/remote_uri_spec.rb || die
-
-   # rspec 3 compatibility
-   sed -i -e 's/be_true/be_truthy/' spec/tidy/compat_spec.rb || die
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 05d7865795c6..73a0bc26b4ab 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -429,12 +429,6 @@ x11-wm/subtle
 # Removal on 2023-04-18. Bug #884407.
 dev-ruby/ruby-xslt
 
-# David Seifert  (2023-03-19)
-# Last release over 10 years ago, fails with modern C, no revdeps in
-# tree.
-# Removal on 2023-04-18. Bug #587222, #884409.
-dev-ruby/tidy-ext
-
 # Sam James  (2023-03-16)
 # Breaks building C++ consumers. See bug #901211 and bug #901035.
 # Please upgrade to glib-2.76

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2022-07-15 Thread Hans de Graaff
commit: 9bd9b84810933f7171cc1cbf99478da797e07828
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Jul 15 06:56:26 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Jul 15 08:09:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd9b848

dev-ruby/tidy-ext: enable ruby30, ruby31

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

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
index aa4500bb1c4b..1027b579d387 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
 RUBY_FAKEGEM_EXTENSIONS=(ext/tidy/extconf.rb)
 
@@ -28,4 +28,7 @@ all_ruby_prepare() {
 
# Avoid spec that needs network connectivity.
rm spec/tidy/remote_uri_spec.rb || die
+
+   # rspec 3 compatibility
+   sed -i -e 's/be_true/be_truthy/' spec/tidy/compat_spec.rb || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2021-11-26 Thread Hans de Graaff
commit: a8a076054080f9d75aa0340aa60cc072da31ee45
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Nov 26 08:10:21 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Nov 26 08:16:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a07605

dev-ruby/tidy-ext: all arches stable

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

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
index c85df21f5c21..aa4500bb1c4b 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE=""
 
 PATCHES=( "${FILESDIR}/11CVE-2015-5522.patch" )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2021-11-26 Thread Hans de Graaff
commit: d33e76724b97121a8e10fcaa834249f5b6ddc5e7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Nov 26 08:10:56 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Nov 26 08:16:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33e7672

dev-ruby/tidy-ext: cleanup

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

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 40 -
 1 file changed, 40 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
deleted file mode 100644
index f2ea49a8091e..
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_DOCDIR="rdoc"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit ruby-fakegem eutils
-
-DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
-HOMEPAGE="https://github.com/carld/tidy";
-
-LICENSE="HTML-Tidy"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE=""
-
-RUBY_PATCHES=( 11CVE-2015-5522.patch )
-
-all_ruby_prepare() {
-   mkdir lib || die
-
-   # Remove reference to rspec 1
-   sed -i -e '/spec/d' spec/spec_helper.rb || die
-
-   # Avoid spec that needs network connectivity.
-   rm spec/tidy/remote_uri_spec.rb || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
-}
-
-each_ruby_compile() {
-   emake -Cext/tidy V=1
-   cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2021-10-24 Thread Hans de Graaff
commit: db44ca965f2a49ea43a835c088e6b2670b0321d5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct 24 09:25:04 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct 24 09:25:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db44ca96

dev-ruby/tidy-ext: EAPI 8; fix extension install

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

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild | 31 +
 1 file changed, 31 insertions(+)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
new file mode 100644
index 000..c85df21f5c2
--- /dev/null
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/tidy/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
+HOMEPAGE="https://github.com/carld/tidy";
+
+LICENSE="HTML-Tidy"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/11CVE-2015-5522.patch" )
+
+all_ruby_prepare() {
+   mkdir lib || die
+
+   # Remove reference to rspec 1
+   sed -i -e '/spec/d' spec/spec_helper.rb || die
+
+   # Avoid spec that needs network connectivity.
+   rm spec/tidy/remote_uri_spec.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2020-01-13 Thread Hans de Graaff
commit: 329a7d0be27e42df55debaa7e23867f31d0ce187
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jan 14 06:29:51 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jan 14 06:53:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=329a7d0b

dev-ruby/tidy-ext: add ruby27

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

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index c955597093b..5cd26fbc43b 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2019-05-14 Thread Hans de Graaff
commit: 0987d4529ccf564a4e7f0602d814ffcdcf742ac9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed May 15 05:16:17 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed May 15 05:16:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0987d452

dev-ruby/tidy-ext: add ruby26

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

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 1482a047a47..c955597093b 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 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"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2018-03-28 Thread Hans de Graaff
commit: f66394eba9a61b1cd94225271a7d2cfee652ea8f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 29 06:00:31 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 29 06:46:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66394eb

dev-ruby/tidy-ext: add ruby25

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index f7a8bc0ba22..1482a047a47 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2018-01-20 Thread Hans de Graaff
commit: a6e082082c138d0d3778b66ef057cb4d6fd5e352
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jan 20 07:29:43 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jan 21 06:48:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e08208

dev-ruby/tidy-ext: drop to ~hppa, bug 634508

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index e56a067f227..f7a8bc0ba22 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sparc x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2017-06-30 Thread Alexis Ballier
commit: 9ba0f9fee1ed78970409711944f1a363affd5b64
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jun 30 08:43:22 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jun 30 11:16:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba0f9fe

dev-ruby/tidy-ext: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 610e8d0549c..228e3710d01 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2017-05-05 Thread Hans de Graaff
commit: 2f3d90935af1d8cac34c3891b15e0e61807198ff
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat May  6 06:33:07 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat May  6 06:39:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f3d9093

dev-ruby/tidy-ext: add ruby24

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index d69f0bde0ac..610e8d0549c 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-07-08 Thread Hans de Graaff
commit: 3bdaa123013b6114a2a632c616cc5203d73f7b66
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jul  9 05:01:13 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jul  9 05:28:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bdaa123

dev-ruby/tidy-ext: cleanup

Package-Manager: portage-2.2.28

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild | 39 -
 1 file changed, 39 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
deleted file mode 100644
index 5bcf4d8..000
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20"
-
-RUBY_FAKEGEM_DOCDIR="rdoc"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit ruby-fakegem eutils
-
-DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
-HOMEPAGE="https://github.com/carld/tidy";
-
-LICENSE="HTML-Tidy"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-all_ruby_prepare() {
-   mkdir lib || die
-
-   # Remove reference to rspec 1
-   sed -i -e '/spec/d' spec/spec_helper.rb || die
-
-   # Avoid spec that needs network connectivity.
-   rm spec/tidy/remote_uri_spec.rb || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
-}
-
-each_ruby_compile() {
-   emake -Cext/tidy V=1
-   cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-07-08 Thread Agostino Sarubbo
commit: 5a5310e4730ff6a256dc0b36ec062aa624817803
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  8 13:49:32 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  8 13:49:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a5310e4

dev-ruby/tidy-ext: ia64 stable wrt bug #561452

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index a62ad76..d5263ca 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-07-08 Thread Agostino Sarubbo
commit: 522059fc5a469931641fc87bd991c24f18deed1b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  8 10:31:20 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  8 10:31:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522059fc

dev-ruby/tidy-ext: sparc stable wrt bug #561452

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 244073e..a62ad76 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-07-08 Thread Agostino Sarubbo
commit: 6fa7196c45f33feb17b9b7d58022455d232a3fa9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  8 09:03:46 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  8 09:03:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa7196c

dev-ruby/tidy-ext: x86 stable wrt bug #561452

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 88a4098..244073e 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-07-01 Thread Agostino Sarubbo
commit: 3a8b111a00c5200e16e75fda18c1b3488458c262
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  1 08:57:12 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  1 08:57:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8b111a

dev-ruby/tidy-ext: amd64 stable wrt bug #561452

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index b50c873..c31b03b 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-06-21 Thread Markus Meier
commit: bdc726989964f3beca66885242baa4f57cfec0f0
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Jun 21 18:29:01 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Jun 21 18:29:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc72698

dev-ruby/tidy-ext: arm stable, bug #561452

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --include-arches="arm"

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 516e446..b50c873 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-06-21 Thread Jeroen Roovers
commit: f96cd6f2ff4e4ec7f73fd14acbc323f6f3aa910a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jun 21 11:24:43 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jun 21 11:25:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96cd6f2

dev-ruby/tidy-ext: Stable for PPC64 (bug #561452).

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --ignore-arches

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 5c2afc2..516e446 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-06-21 Thread Jeroen Roovers
commit: 9b40ecb8e3fb7d54e3a54544fdfa63a292f43c42
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jun 21 08:28:37 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jun 21 11:22:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b40ecb8

dev-ruby/tidy-ext: Stable for HPPA (bug #561452).

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --ignore-arches

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index 4bf8836..5c2afc2 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-06-16 Thread Tobias Klausmann
commit: d4cf11ec5729284ecc829a1bdf2ec0a6646a3cd0
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Jun 16 12:33:04 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Jun 16 12:33:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4cf11ec

dev-ruby/tidy-ext-0.1.14-r3: add alpha keyword

Gentoo-Bug: 561452

Package-Manager: portage-2.3.0_rc1

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
index de43c73..4bf8836 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/carld/tidy";
 
 LICENSE="HTML-Tidy"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RUBY_PATCHES=( 11CVE-2015-5522.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-06-14 Thread Hans de Graaff
commit: 2f17609f24a74bb165a64fba9aafed34e3365795
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Jun 15 05:04:17 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Jun 15 05:07:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f17609f

dev-ruby/tidy-ext: cleanup

Package-Manager: portage-2.2.28

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild | 39 -
 1 file changed, 39 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
deleted file mode 100644
index ac9b6a1..000
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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"
-
-RUBY_FAKEGEM_DOCDIR="rdoc"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit ruby-fakegem eutils
-
-DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
-HOMEPAGE="https://github.com/carld/tidy";
-
-LICENSE="HTML-Tidy"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-all_ruby_prepare() {
-   mkdir lib || die
-
-   # Remove reference to rspec 1
-   sed -i -e '/spec/d' spec/spec_helper.rb || die
-
-   # Avoid spec that needs network connectivity.
-   rm spec/tidy/remote_uri_spec.rb || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
-}
-
-each_ruby_compile() {
-   emake -Cext/tidy V=1
-   cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/files/, dev-ruby/tidy-ext/

2016-06-11 Thread Hans de Graaff
commit: 770ffdf908c3120a6c786f255f706f62c44b2b1f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 11 07:16:37 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 11 07:17:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770ffdf9

dev-ruby/tidy-ext: fix security bug 561452

Package-Manager: portage-2.2.28

 dev-ruby/tidy-ext/files/11CVE-2015-5522.patch | 34 ++
 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild   | 41 +++
 2 files changed, 75 insertions(+)

diff --git a/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch 
b/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch
new file mode 100644
index 000..9422098
--- /dev/null
+++ b/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch
@@ -0,0 +1,34 @@
+From c18f27a58792f7fbd0b30a0ff50d6b40a82f940d Mon Sep 17 00:00:00 2001
+From: Geoff McLane 
+Date: Wed, 3 Jun 2015 20:26:03 +0200
+Subject: [PATCH] Issue #217 - avoid len going negative, ever...
+
+---
+ src/lexer.c | 8 +---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/src/lexer.c b/src/lexer.c
+index 376a3d8..664f806 100644
+--- a/ext/tidy/lexer.c
 b/ext/tidy/lexer.c
+@@ -3739,16 +3740,17 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr 
name,
+ /* and prompts attributes unless --literal-attributes is set to yes   
   */
+ /* #994841 - Whitespace is removed from value attributes  
   */
+ 
+-if (munge &&
++/* Issue #217 - Also only if/while (len > 0) - MUST NEVER GO 
NEGATIVE! */
++if ((len > 0) && munge &&
+ TY_(tmbstrcasecmp)(name, "alt") &&
+ TY_(tmbstrcasecmp)(name, "title") &&
+ TY_(tmbstrcasecmp)(name, "value") &&
+ TY_(tmbstrcasecmp)(name, "prompt"))
+ {
+-while (TY_(IsWhite)(lexer->lexbuf[start+len-1]))
++while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0))
+ --len;
+ 
+-while (TY_(IsWhite)(lexer->lexbuf[start]) && start < len)
++while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && 
(len > 0))
+ {
+ ++start;
+ --len;

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
new file mode 100644
index 000..de43c73
--- /dev/null
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
@@ -0,0 +1,41 @@
+# 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"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
+HOMEPAGE="https://github.com/carld/tidy";
+
+LICENSE="HTML-Tidy"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RUBY_PATCHES=( 11CVE-2015-5522.patch )
+
+all_ruby_prepare() {
+   mkdir lib || die
+
+   # Remove reference to rspec 1
+   sed -i -e '/spec/d' spec/spec_helper.rb || die
+
+   # Avoid spec that needs network connectivity.
+   rm spec/tidy/remote_uri_spec.rb || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
+}
+
+each_ruby_compile() {
+   emake -Cext/tidy V=1
+   cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-04-16 Thread Manuel Rüger
commit: 648b038ddcbcab2f8b3b2ba9006eec35ade7ed8b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Apr 16 13:03:28 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Apr 16 13:03:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648b038d

dev-ruby/tidy-ext: Remove ruby19

Package-Manager: portage-2.2.28

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
index ce5da06..5bcf4d8 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20"
+USE_RUBY="ruby20"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-04-12 Thread Hans de Graaff
commit: 369ac69d01c9b437da4c9a2ee1016934dd73519b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Apr 13 04:50:52 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Apr 13 04:50:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369ac69d

dev-ruby/tidy-ext: add ruby23

Package-Manager: portage-2.2.26

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
index a6bd8b7..ac9b6a1 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/

2016-03-07 Thread Hans de Graaff
commit: ccad99f0bdbae8918979836c8aefa0abfef55087
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 20:07:49 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 20:20:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccad99f0

dev-ruby/tidy-ext: drop ruby19

Package-Manager: portage-2.2.26

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
index aa04d64..a6bd8b7 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 RUBY_FAKEGEM_DOCDIR="rdoc"