diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-12-03 08:31:17 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-12-03 15:03:14 +0100 |
commit | 0f32f0e7e8e9f7d7c3b6dea59517edf24238bd39 (patch) | |
tree | 284f55b6f4441a2152e04770401a4d77caa6a537 /dev-ruby | |
parent | x11-drivers/xf86-input-wacom: Stabilize 1.2.3 x86, #945778 (diff) | |
download | gentoo-0f32f0e7e8e9f7d7c3b6dea59517edf24238bd39.tar.gz gentoo-0f32f0e7e8e9f7d7c3b6dea59517edf24238bd39.tar.bz2 gentoo-0f32f0e7e8e9f7d7c3b6dea59517edf24238bd39.zip |
dev-ruby/date: add 3.4.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/date/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/date/date-3.4.1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/date/Manifest b/dev-ruby/date/Manifest index ee2c1006d2d1..f603adf08e17 100644 --- a/dev-ruby/date/Manifest +++ b/dev-ruby/date/Manifest @@ -1,2 +1,3 @@ DIST date-3.3.4.tar.gz 99252 BLAKE2B a8fe8f4a716bb4247f00b94f2c9564a34df8fdd43d2345cfc529541bbfbf0549df1e0aac0d120de6b4cc6e6ea8e6fc38ee87cc36b16ddafb2c4589b8e96c04bd SHA512 d8b71c56316224ef7d5f0c7515adc9540eea784daa49f3c130dbbe1fcd2a90abc85b153bbca66809666c817597733f03f5acc06e883878ecc5ede3eab398c348 DIST date-3.4.0.tar.gz 100560 BLAKE2B 2699273e532be72728794aa24ed18c087b8f58f4867ce7eb0508809e148b0cefecf9190760b51ca7c04f67eb6fedb8540fd81a8940cc1b9481ef9ee85aeba2ac SHA512 3aa924fe4426774e7d969f180bd222d9f976d1bf5a459073a28ca1b476f5cb218728bad6e567fbf973c72f4f6de42cf8988e96e9470fcc7b67eaa54d880f8d9e +DIST date-3.4.1.tar.gz 100888 BLAKE2B 4b5250cea39d5f62d3bc10f5f93f3fda1a4848d2061f8ccf4b9a385221c89039c90067b9047a0ab8fa6882cde32b50ab0460224eea3fdd01ca4ba1b4fc9cc70e SHA512 b0bed92681fdf511b24fdb40201ec830b569275d08d5d0e82db36b93db68343c96940858cb3d34542b7c286b5fabb7d4afe935916c35ae8dbccbae8208ac52d9 diff --git a/dev-ruby/date/date-3.4.1.ebuild b/dev-ruby/date/date-3.4.1.ebuild new file mode 100644 index 000000000000..fd68e7cd94b5 --- /dev/null +++ b/dev-ruby/date/date-3.4.1.ebuild @@ -0,0 +1,35 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/date/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="date.gemspec" +RUBY_FAKEGEM_RECIPE_DOC="none" + +inherit ruby-fakegem + +DESCRIPTION="A subclass of Object includes Comparable module for handling dates" +HOMEPAGE="https://github.com/ruby/date" +SRC_URI="https://github.com/ruby/date/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} |