summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-10-23 10:57:58 +0200
committerHans de Graaff <graaff@gentoo.org>2021-10-23 10:58:09 +0200
commitdabaf92a184743e78fe98315db2f92175a94adc1 (patch)
tree365a9ff8564bbbf7917de6bdfecb50ede9c517d4 /dev-ruby
parentdev-perl/Digest-HMAC: Remove old (diff)
downloadgentoo-dabaf92a184743e78fe98315db2f92175a94adc1.tar.gz
gentoo-dabaf92a184743e78fe98315db2f92175a94adc1.tar.bz2
gentoo-dabaf92a184743e78fe98315db2f92175a94adc1.zip
dev-ruby/csv: add 3.2.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/csv/Manifest1
-rw-r--r--dev-ruby/csv/csv-3.2.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/csv/Manifest b/dev-ruby/csv/Manifest
index eb348ce10da2..0eebdfcfe253 100644
--- a/dev-ruby/csv/Manifest
+++ b/dev-ruby/csv/Manifest
@@ -1 +1,2 @@
DIST csv-3.2.0.tar.gz 85055 BLAKE2B 685408e4cf6480777d0d641a8cb84f2d5a4aee1e2d6755d773830e5d5b97473746317c437b82257ceb47c63dda10c1b6ed8af95e271c5fdbabaef2efa260d07a SHA512 14c90220626c5225a4a79d92cfd3c8c9d30dc7ce81bcd2145ea3dc353e373830169f605f18c8473d65a2ba98c7628b6148277a79adedeb8ee1364c362a4242a7
+DIST csv-3.2.1.tar.gz 86041 BLAKE2B 0b4be4906df96371efab17709b7f10832a8ba31af670824569519d181089128d461a3500d0ac40690e8653c80656bc0625e147bf8e886879b29218ca15411eec SHA512 02c9bdb53f7625f2881b906d05987ed520658fc89967d36c0280ae7499ee64e9859eb2fd862f59acafc277356022c06a77a286cb0c157d1e0842bccb059de7c2
diff --git a/dev-ruby/csv/csv-3.2.1.ebuild b/dev-ruby/csv/csv-3.2.1.ebuild
new file mode 100644
index 000000000000..69cd23a5e051
--- /dev/null
+++ b/dev-ruby/csv/csv-3.2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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)"
+
+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
+}