* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/arel/files/, dev-ruby/arel/
@ 2022-07-12 10:10 Hans de Graaff
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2022-07-12 10:10 UTC (permalink / raw
To: gentoo-commits
commit: 0f28de9b7605a1d8541e2763030801f122ae3c38
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 12 10:09:15 2022 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 10:10:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f28de9b
dev-ruby/arel: EAPI 6 -> 8, add ruby27
Thanks to Azamat H. Hackimov for finding and testing the patch for this
in bug 857759.
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/arel/arel-9.0.0-r1.ebuild | 36 ++++++++++++++++++++++
.../arel/files/arel-9.0.0-fix_BigDecimal.patch | 23 ++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-ruby/arel/arel-9.0.0-r1.ebuild b/dev-ruby/arel/arel-9.0.0-r1.ebuild
new file mode 100644
index 000000000000..ee958f041122
--- /dev/null
+++ b/dev-ruby/arel/arel-9.0.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
+
+RUBY_FAKEGEM_GEMSPEC="arel.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Arel is a Relational Algebra for Ruby"
+HOMEPAGE="https://github.com/rails/arel"
+SRC_URI="https://github.com/rails/arel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="$(ver_cut 1).0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix_BigDecimal.patch"
+)
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/concurrent-ruby:1
+ dev-ruby/test-unit:2
+ >=dev-ruby/minitest-5.4:5
+ )"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" \
+ -e '/specname/,$ s:^:#:' Rakefile || die
+}
diff --git a/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch b/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch
new file mode 100644
index 000000000000..fb4e4af77d10
--- /dev/null
+++ b/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch
@@ -0,0 +1,23 @@
+From cbbe9ed392bfe146fc0871653aad9b619cef8509 Mon Sep 17 00:00:00 2001
+From: Yasuo Honda <yasuo.honda@gmail.com>
+Date: Sun, 7 Jan 2018 23:43:51 +0000
+Subject: [PATCH] BigDecimal.new is deprecated in Ruby 2.5
+
+Refer https://github.com/ruby/bigdecimal/pull/86
+---
+ test/visitors/test_to_sql.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb
+index 77756b9e..4416a11b 100644
+--- a/test/visitors/test_to_sql.rb
++++ b/test/visitors/test_to_sql.rb
+@@ -233,7 +233,7 @@ def dispatch
+ end
+
+ it "should visit_BigDecimal" do
+- compile Nodes.build_quoted(BigDecimal.new('2.14'))
++ compile Nodes.build_quoted(BigDecimal('2.14'))
+ end
+
+ it "should visit_Date" do
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/arel/files/, dev-ruby/arel/
@ 2023-03-12 16:15 Hans de Graaff
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2023-03-12 16:15 UTC (permalink / raw
To: gentoo-commits
commit: 7a09eb1fdeb7595fa7cf88f0178d36298cfa5de5
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 16:07:27 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 16:15:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a09eb1f
dev-ruby/arel: remove masked package
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/arel/Manifest | 1 -
dev-ruby/arel/arel-9.0.0-r1.ebuild | 36 ----------------------
.../arel/files/arel-9.0.0-fix_BigDecimal.patch | 23 --------------
dev-ruby/arel/metadata.xml | 11 -------
4 files changed, 71 deletions(-)
diff --git a/dev-ruby/arel/Manifest b/dev-ruby/arel/Manifest
deleted file mode 100644
index 018ccc00f186..000000000000
--- a/dev-ruby/arel/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST arel-9.0.0.tar.gz 59065 BLAKE2B c464c8c52d0fa7c5626fdc9254c74db00e4b43f68f38b75972623f28961565cd6764db967158c48e938620636343b15c4be9bb3237f9c7422730b4702450eb6d SHA512 9d2958765058fa8a4f6a8d7d4c9671d92054748eabe5b94796ff5611cdcd6bb24906cc5e813fb21396aaa681e5703d2d4bce8cc9884f2d057042d1b06bf6f0f5
diff --git a/dev-ruby/arel/arel-9.0.0-r1.ebuild b/dev-ruby/arel/arel-9.0.0-r1.ebuild
deleted file mode 100644
index ee958f041122..000000000000
--- a/dev-ruby/arel/arel-9.0.0-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27"
-
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
-
-RUBY_FAKEGEM_GEMSPEC="arel.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Arel is a Relational Algebra for Ruby"
-HOMEPAGE="https://github.com/rails/arel"
-SRC_URI="https://github.com/rails/arel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="MIT"
-SLOT="$(ver_cut 1).0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-PATCHES=(
- "${FILESDIR}/${P}-fix_BigDecimal.patch"
-)
-
-ruby_add_bdepend "
- test? (
- dev-ruby/concurrent-ruby:1
- dev-ruby/test-unit:2
- >=dev-ruby/minitest-5.4:5
- )"
-
-all_ruby_prepare() {
- sed -i -e "/[Bb]undler/d" \
- -e '/specname/,$ s:^:#:' Rakefile || die
-}
diff --git a/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch b/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch
deleted file mode 100644
index fb4e4af77d10..000000000000
--- a/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From cbbe9ed392bfe146fc0871653aad9b619cef8509 Mon Sep 17 00:00:00 2001
-From: Yasuo Honda <yasuo.honda@gmail.com>
-Date: Sun, 7 Jan 2018 23:43:51 +0000
-Subject: [PATCH] BigDecimal.new is deprecated in Ruby 2.5
-
-Refer https://github.com/ruby/bigdecimal/pull/86
----
- test/visitors/test_to_sql.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb
-index 77756b9e..4416a11b 100644
---- a/test/visitors/test_to_sql.rb
-+++ b/test/visitors/test_to_sql.rb
-@@ -233,7 +233,7 @@ def dispatch
- end
-
- it "should visit_BigDecimal" do
-- compile Nodes.build_quoted(BigDecimal.new('2.14'))
-+ compile Nodes.build_quoted(BigDecimal('2.14'))
- end
-
- it "should visit_Date" do
diff --git a/dev-ruby/arel/metadata.xml b/dev-ruby/arel/metadata.xml
deleted file mode 100644
index f2c343702276..000000000000
--- a/dev-ruby/arel/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>ruby@gentoo.org</email>
- <name>Gentoo Ruby Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">rails/arel</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-12 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 10:10 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/arel/files/, dev-ruby/arel/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2023-03-12 16:15 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