mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/date: add 3.5.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST date-3.4.1.tar.gz 100888 BLAKE2B 4b5250cea39d5f62d3bc10f5f93f3fda1a4848d2061f8ccf4b9a385221c89039c90067b9047a0ab8fa6882cde32b50ab0460224eea3fdd01ca4ba1b4fc9cc70e SHA512 b0bed92681fdf511b24fdb40201ec830b569275d08d5d0e82db36b93db68343c96940858cb3d34542b7c286b5fabb7d4afe935916c35ae8dbccbae8208ac52d9
|
||||
DIST date-3.5.0.tar.gz 101467 BLAKE2B 28f009ab36811d2e5ffb1b7bd98202f695309d49dcf4a9c99cb9ef9f1f00172355f66e005c628a66e954193221ef47d68ca1d4b9b745e51223d2e0885f2e40a3 SHA512 4653f0aa6f4801743206a72dc5676cf69c36c0aeda7197a1d65759b63511dcf5b830707dcbad4113fc7c54d8c5f31ec409af034aa5c891709a6f7c3c7509cbdf
|
||||
DIST date-3.5.1.tar.gz 100835 BLAKE2B a20a0776fb3219227468c43f1b180cd7951d308738814f19c070a095ca8cd59a9c9a9c82035e821220e9b56ba3b956057fd3e9678644c62bc7fddbd8616246da SHA512 62b1f36f56f6969dac88e811cbe08a7f1ef871a85394bc1b1a92beb1743180c65059b6e5efc70eab4695bc2f0931018cf69eeeafabfc9a2831b6a4aa7f2858a3
|
||||
|
||||
36
dev-ruby/date/date-3.5.1.ebuild
Normal file
36
dev-ruby/date/date-3.5.1.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user