commit:     81da275810aec20f6f48bb0396017ef8bcd9fff0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 06:07:11 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 11:45:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81da2758

dev-ruby/csv: add 3.2.5

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

 dev-ruby/csv/Manifest         |  1 +
 dev-ruby/csv/csv-3.2.5.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-ruby/csv/Manifest b/dev-ruby/csv/Manifest
index 06280b6b051f..206b9fcfc5c9 100644
--- a/dev-ruby/csv/Manifest
+++ b/dev-ruby/csv/Manifest
@@ -1,3 +1,4 @@
 DIST csv-3.2.2.tar.gz 86665 BLAKE2B 
fcbd12d0179a4bf0a0da4f45bf271354c4a352827d4b3ef90ecd0d5b74a9428d1f2165f4f96632a4604a49f4f249fb759e92ff252395992ab564f3635dfa8fe6
 SHA512 
a514861ffe0d137bf0f75de9e22f9446d2fab6230c234c5dd0cbdf890b06da4be659d3ecc5a940a89b0885f788260b3b2c25373496b4702500b41f236624afd4
 DIST csv-3.2.3.tar.gz 88749 BLAKE2B 
ec927ae8eaaf4f050e34218cd5a6bef2cd912828e065a03b772070e0ad9f18617b55a771a1fe2a4467106cabf2d54efe84313fdecfb758104545b9874056eec9
 SHA512 
104b27991f43c9d18a7a0f9db38b32bf638b7b73e25376f1a404b76910a348bf8bf7850a9a671658b928bacfbe288176cfa14dce2ae1524c64dfbeb52138a482
 DIST csv-3.2.4.tar.gz 89474 BLAKE2B 
a4a4b890f4c978ab933d4f7fde05d90d30f44f4f954db39ca00f867a90b2d584e52625127ee33b81dab82445bf9a6a94340e090c35cd5c6ab9e14b22320d5d57
 SHA512 
b024132fda678347fae4b237dfbf9f261ca3bf46c22c627db4ad8c6f17a690ab97a8ad4ffe693f6ed3c5a71620408f15ccee9d27c36196c7b51ca9abc09029a5
+DIST csv-3.2.5.tar.gz 89665 BLAKE2B 
d464e1d36568b30328a3b2b14a363e19f3364f9a18afc16caba3cdff86c9d5bb2565706eef4f5dc573eacb918330477892aab6d544136fe8d1eed4ed558a3860
 SHA512 
2f41b7a51754843dd90213931e0bd2a29e7d1c03046a526d884c5677263fcb07110f507d7b91f2976693588799df1d261ce3d7f50d473206ce218def4a461250

diff --git a/dev-ruby/csv/csv-3.2.5.ebuild b/dev-ruby/csv/csv-3.2.5.ebuild
new file mode 100644
index 000000000000..b0a5c099d961
--- /dev/null
+++ b/dev-ruby/csv/csv-3.2.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The CSV library provides a complete interface to CSV files and 
data"
+HOMEPAGE="https://github.com/ruby/csv";
+SRC_URI="https://github.com/ruby/csv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="$(ver_cut 1)"
+
+ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3.4.8 )"
+
+all_ruby_prepare() {
+       sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' 
${RUBY_FAKEGEM_GEMSPEC} || die
+       sed -i -e '/bundler/I s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+       ${RUBY} run-test.rb || die
+}

Reply via email to