diff options
author | 2024-07-19 08:50:59 +0200 | |
---|---|---|
committer | 2024-07-19 08:50:59 +0200 | |
commit | d04ad9e59b61554565916909478011ef585f69c0 (patch) | |
tree | 74055997ce14099515b90c9f080cdd4c24a2841b | |
parent | dev-util/rubycritic: new package, add 4.9.1 (diff) | |
download | graaff-d04ad9e59b61554565916909478011ef585f69c0.tar.gz graaff-d04ad9e59b61554565916909478011ef585f69c0.tar.bz2 graaff-d04ad9e59b61554565916909478011ef585f69c0.zip |
dev-ruby/ice_cube: add 0.17.0
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | dev-ruby/ice_cube/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ice_cube/ice_cube-0.17.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ice_cube/Manifest b/dev-ruby/ice_cube/Manifest index 60623bfc..90ef445b 100644 --- a/dev-ruby/ice_cube/Manifest +++ b/dev-ruby/ice_cube/Manifest @@ -1 +1,2 @@ DIST ice_cube-0.16.4_p20220302.tar.gz 77432 BLAKE2B 7805fd189823445cd43f2a31604317b7900b8a6b770b8bcd8c9e7f02c2fdd627358a9bb3db164a4dc75d961676f6d5e2de6af4370c14aa0ce50483d2b70ce5d3 SHA512 63c84dd4ff18b5e8736ffe3ca08498ea6a5defe2f467b5deade557e341ee8c91f937a4b9a28b0abf0ce22d9af4f237f72e585dd32d2509a7325a5dbcf23c887d +DIST ice_cube-0.17.0.tar.gz 77680 BLAKE2B 6e6193061a3b1b569c6ca09ca34c0f03b7cc558ad0d3ecaaf177ed3816097894e2f8fe7984a6001e0045521b6b2da15c570f07fa5e57342cd207a14e6bc6943b SHA512 734301db7fc117fce4cd1ebc6ae37efa12ebbb3c3aff4d023f810a7004bcf6cabb8c69fe959c3173ccaadaefa35fd5c893b0aacf22d5413a23daca0983e907c0 diff --git a/dev-ruby/ice_cube/ice_cube-0.17.0.ebuild b/dev-ruby/ice_cube/ice_cube-0.17.0.ebuild new file mode 100644 index 00000000..be5170b7 --- /dev/null +++ b/dev-ruby/ice_cube/ice_cube-0.17.0.ebuild @@ -0,0 +1,37 @@ +# 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_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADING.md" + +RUBY_FAKEGEM_EXTRAINSTALL="config" +RUBY_FAKEGEM_GEMSPEC="ice_cube.gemspec" + +COMMIT=ee21ea6772bf7cf5a80c63e2f880046e30839744 + +inherit ruby-fakegem + +DESCRIPTION="a recurring date library for Ruby" +HOMEPAGE="https://github.com/ice-cube-ruby/ice_cube" +SRC_URI="https://github.com/ice-cube-ruby/ice_cube/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-${COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/activesupport dev-ruby/i18n dev-ruby/tzinfo )" + +all_ruby_prepare() { + sed -i -e 's/@example/example/' -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + rm -r .rspec || die +} + +each_ruby_test() { + TZ=utc RAILS_VERSION="~> 7.1" RSPEC_VERSION=3 ruby-ng_rspec || die +} |