From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54F3E15A7D9 for ; Thu, 23 Mar 2023 06:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8904AE07EE; Thu, 23 Mar 2023 06:53:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08808E07EE for ; Thu, 23 Mar 2023 06:53:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E41EB3406DD for ; Thu, 23 Mar 2023 06:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3201B8C6 for ; Thu, 23 Mar 2023 06:53:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679554288.b4d11e71629baf8ce05c7def4f5caf108a332ce4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/timecop/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/timecop/Manifest dev-ruby/timecop/timecop-0.9.6.ebuild X-VCS-Directories: dev-ruby/timecop/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b4d11e71629baf8ce05c7def4f5caf108a332ce4 X-VCS-Branch: master Date: Thu, 23 Mar 2023 06:53:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67955637-bdf4-4b98-b62c-ee6efab7ec8b X-Archives-Hash: c55ec7724b3f8a5f045c8246ba840ae9 commit: b4d11e71629baf8ce05c7def4f5caf108a332ce4 Author: Sam James gentoo org> AuthorDate: Wed Mar 22 10:26:08 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 23 06:51:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d11e71 dev-ruby/timecop: add 0.9.6 Signed-off-by: Sam James gentoo.org> dev-ruby/timecop/Manifest | 1 + dev-ruby/timecop/timecop-0.9.6.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest index 49bccbb22204..0b21008074f7 100644 --- a/dev-ruby/timecop/Manifest +++ b/dev-ruby/timecop/Manifest @@ -1,2 +1,3 @@ DIST timecop-0.9.4.gem 16896 BLAKE2B a8280726c8c46573eb0bc72af7b8c6f64ba4a3898a8089eb44c09bc4f53c2c6c51364784aa332c55a45d9c8f93ab9fd3b7691020f8a58f48056cf3673429abf7 SHA512 3d5f611d9a4ba9bc21f01c8096c97892cb05d6effb26f03703a0db842fe18f9614fca3cc836a1583dd5ebbd0d50d4115acf348b7b8b78d93010aaa48b168b9cf DIST timecop-0.9.5.gem 17408 BLAKE2B e6234759af1b3bcdf8fa5403594498507a7ddb8f652e8698ab7ce0e4879fc99828953120ccb80c3cfd555b63bbb957b0fd2f25758c4add1803d288b1807360be SHA512 4b3aa4d2fe5b95b51119be61faf0c85539d56e1ad2b507a1df182f5d7882390b37bc8b9984ef54e1b0b42bfb0d205ff4f863d016e423d4499cf3b21f2eaed7ff +DIST timecop-0.9.6.gem 17408 BLAKE2B 53afa8313be94fb8774812b014f11d9a134b51b7dafcc0fd8d91d10756e042bfd6d56b10f8072c1d606519e532beb2e02032bd4e3f6d45b4cf41dd968ba86224 SHA512 a5cbdf38caa5bccb9887a6abb5d99bdd1470c9ff8d52d19f0c46f116dc73b62512f76021adc1ec98ca4abe85ca61a4ab1e821d80980fa7ab3c821abd13b9695a diff --git a/dev-ruby/timecop/timecop-0.9.6.ebuild b/dev-ruby/timecop/timecop-0.9.6.ebuild new file mode 100644 index 000000000000..af40e7129a40 --- /dev/null +++ b/dev-ruby/timecop/timecop-0.9.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities" +HOMEPAGE="https://github.com/travisjeffery/timecop" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +# Missing testdep activesupport +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' -e '/History.rdoc/d' Rakefile test/test_helper.rb || die + sed -i -e '/rubygems/ a\gem "test-unit"' \ + -e '/minitest\/rg/ s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die + # FIXME after activesupport gained ruby22 support + rm test/time_stack_item_test.rb || die +} + +each_ruby_test() { + for f in test/*_test.rb ; do + ${RUBY} -Ilib $f || die + done +}