diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-10 08:28:02 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-11 07:27:45 +0100 |
commit | d43204eb5d430aa0b1edfd7238d3240955e0cdac (patch) | |
tree | 6fb825e368470cccebf68392ab2f3572efc04abe /dev-ruby | |
parent | dev-ruby/serverengine: fix tests (diff) | |
download | gentoo-d43204eb5d430aa0b1edfd7238d3240955e0cdac.tar.gz gentoo-d43204eb5d430aa0b1edfd7238d3240955e0cdac.tar.bz2 gentoo-d43204eb5d430aa0b1edfd7238d3240955e0cdac.zip |
dev-ruby/csv: add 3.2.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/csv/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/csv/csv-3.2.6.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/csv/Manifest b/dev-ruby/csv/Manifest index 8a4e5e429b8d..f15bbdd83e7b 100644 --- a/dev-ruby/csv/Manifest +++ b/dev-ruby/csv/Manifest @@ -1,3 +1,4 @@ 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 +DIST csv-3.2.6.tar.gz 90054 BLAKE2B 106e3ef5d5e1ad3d95e80e96711db61bf00822711259188b26738b44de52c35d8e12c8042a7dbfeda5108c0b98cc73b8beb69c4f6957b2eb2f34297c220e5736 SHA512 b89044581d1c6cac5270573e424747c42a20cc6d51dde03971bbfc01b5ced3dd5ad713290a0e9c821cf67302153e9b17750e01b7f41182dcb794e0a4f10d88a2 diff --git a/dev-ruby/csv/csv-3.2.6.ebuild b/dev-ruby/csv/csv-3.2.6.ebuild new file mode 100644 index 000000000000..b0a5c099d961 --- /dev/null +++ b/dev-ruby/csv/csv-3.2.6.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 +} |