summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-23 07:38:52 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-23 07:39:04 +0100
commitccdcacf4403fb04ce96fafa68732ee9e1928d94c (patch)
tree7bb0ee8579ec15b162ba8b0455f4e36be5e9491f /dev-ruby/csv
parentdev-ruby/console: add 1.23.6 (diff)
downloadgentoo-ccdcacf4403fb04ce96fafa68732ee9e1928d94c.tar.gz
gentoo-ccdcacf4403fb04ce96fafa68732ee9e1928d94c.tar.bz2
gentoo-ccdcacf4403fb04ce96fafa68732ee9e1928d94c.zip
dev-ruby/csv: add 3.3.0
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.3.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/csv/Manifest b/dev-ruby/csv/Manifest
index 961281d1dd1f..669ee510211a 100644
--- a/dev-ruby/csv/Manifest
+++ b/dev-ruby/csv/Manifest
@@ -1 +1,2 @@
DIST csv-3.2.8.tar.gz 91194 BLAKE2B 827adb228acaaae30f090d0547d1d59ef6237546aff462e9d812bb854f3b331feecea9b2657acf8aad17c9ac76aad7754b2f22ae8d2e067c2d45f8cf648491a8 SHA512 87072aaca62e5d95eeb1b916eff497b2b2029efd9be6b29c9d3c4435dbfcd64a1ed045b8b3bec106ea35e11aa05f3a3d5f9f6c09c12a97bc157648be5cd2fcf7
+DIST csv-3.3.0.tar.gz 91569 BLAKE2B cacdf60e279277f7d69fd62d6cea62ce80843addab7b9f81749fabde9133d2b40b2a961b548bd55918bacbe89fe8754af87569a117d4f43a88d3ef49a792da1f SHA512 676f6c34c1466c0edb412aeba9e955cc0070c201a21e6ffe2fd47a3ad4bd7322d561c612695317e5ef34195bcc8bc7a63f3de8c55fbdcb116890a59b867c20d9
diff --git a/dev-ruby/csv/csv-3.3.0.ebuild b/dev-ruby/csv/csv-3.3.0.ebuild
new file mode 100644
index 000000000000..a989a2e126c6
--- /dev/null
+++ b/dev-ruby/csv/csv-3.3.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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 ~x64-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
+}