summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-04-09 08:13:36 +0200
committerHans de Graaff <graaff@gentoo.org>2022-04-09 09:38:40 +0200
commit3d875c746ebc01f82457595b9dcf75a55fc6f71e (patch)
tree81cb9ce7f9e8fcb8403af6d08f83b2f347058855 /dev-ruby/csv
parentdev-lang/swi-prolog: add new development version (diff)
downloadgentoo-3d875c746ebc01f82457595b9dcf75a55fc6f71e.tar.gz
gentoo-3d875c746ebc01f82457595b9dcf75a55fc6f71e.tar.bz2
gentoo-3d875c746ebc01f82457595b9dcf75a55fc6f71e.zip
dev-ruby/csv: add 3.2.3
Closes: https://bugs.gentoo.org/819765 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/csv')
-rw-r--r--dev-ruby/csv/Manifest1
-rw-r--r--dev-ruby/csv/csv-3.2.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/csv/Manifest b/dev-ruby/csv/Manifest
index e71ef0dd6378..d2cece4dab87 100644
--- a/dev-ruby/csv/Manifest
+++ b/dev-ruby/csv/Manifest
@@ -1 +1,2 @@
DIST csv-3.2.2.tar.gz 86665 BLAKE2B fcbd12d0179a4bf0a0da4f45bf271354c4a352827d4b3ef90ecd0d5b74a9428d1f2165f4f96632a4604a49f4f249fb759e92ff252395992ab564f3635dfa8fe6 SHA512 a514861ffe0d137bf0f75de9e22f9446d2fab6230c234c5dd0cbdf890b06da4be659d3ecc5a940a89b0885f788260b3b2c25373496b4702500b41f236624afd4
+DIST csv-3.2.3.tar.gz 88749 BLAKE2B ec927ae8eaaf4f050e34218cd5a6bef2cd912828e065a03b772070e0ad9f18617b55a771a1fe2a4467106cabf2d54efe84313fdecfb758104545b9874056eec9 SHA512 104b27991f43c9d18a7a0f9db38b32bf638b7b73e25376f1a404b76910a348bf8bf7850a9a671658b928bacfbe288176cfa14dce2ae1524c64dfbeb52138a482
diff --git a/dev-ruby/csv/csv-3.2.3.ebuild b/dev-ruby/csv/csv-3.2.3.ebuild
new file mode 100644
index 000000000000..0b15ce93d71a
--- /dev/null
+++ b/dev-ruby/csv/csv-3.2.3.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="ruby26 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
+}