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 4B5B1158094 for ; Wed, 20 Jul 2022 05:42:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86469E0CBC; Wed, 20 Jul 2022 05:42:11 +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 470D4E0CBC for ; Wed, 20 Jul 2022 05:42:11 +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 402D4340CC5 for ; Wed, 20 Jul 2022 05:42:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9ED617F for ; Wed, 20 Jul 2022 05:42:08 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1658295725.1f5ec2cc764c019326d2ab4c613f70aac1de5d49.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tzinfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/tzinfo/Manifest dev-ruby/tzinfo/tzinfo-2.0.5.ebuild X-VCS-Directories: dev-ruby/tzinfo/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1f5ec2cc764c019326d2ab4c613f70aac1de5d49 X-VCS-Branch: master Date: Wed, 20 Jul 2022 05:42:08 +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: 1031fcdd-d6de-44ba-b95c-b50e0aba8b40 X-Archives-Hash: d8fa574944a22a52e8d131bcdae9db03 commit: 1f5ec2cc764c019326d2ab4c613f70aac1de5d49 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jul 20 05:41:42 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Jul 20 05:42:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5ec2cc dev-ruby/tzinfo: add 2.0.5 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/tzinfo/Manifest | 1 + dev-ruby/tzinfo/tzinfo-2.0.5.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest index 26c73b24c489..d926e6ccff34 100644 --- a/dev-ruby/tzinfo/Manifest +++ b/dev-ruby/tzinfo/Manifest @@ -1,2 +1,3 @@ DIST tzinfo-1.2.9.gem 166912 BLAKE2B 6d54a5118fbdb3556d0cdc9079462cf26afa9deddd1dc21ef670240e2aa47a66d0b4fc9c9c7ed74bd14bde96dc95f6b716aef5d32ca521221618a76c8c05cda1 SHA512 ddf28ad213f681a4e551cbd803873b279acef03fae894a3e6475030d4da5a59732b31af5d5944e8c62d15b7ec922816fede24f180fb20c55c1bd3d379c879cfe DIST tzinfo-2.0.4.tar.gz 224673 BLAKE2B 0c7ef231767b6fc00cf95b3e1c2037894b14dfe832eaedb3f4b7c60a884ab6f7121243af5b62acf47d02da28395e7390f968421a3a3a2d731deb079e9fc51bfa SHA512 5b2ec73f737009ba21dac7dbb9504235fdef14dc45a6450e1218ba9e53dd29735ab4fa6c2854271916cc5c0244e09ae7ab19467408b72b9b82ca238e14d3fa4f +DIST tzinfo-2.0.5.tar.gz 226225 BLAKE2B 44e6d65dadc4828e4b8803c0badf381e18afe7412e090c4d91147b144f300a8c0e3189bc8e8325625678a57ea6a1179a1ed277f5fb54230ce77c46ba6b0100c7 SHA512 a3c59b1f390b186356b9219b0fb18bb762d2123936553738e1068ba46bf0206c5a0394b1d46b5c7b891aa55b8afa839858837511f53e3ef0eb0e85fe3f23b57a diff --git a/dev-ruby/tzinfo/tzinfo-2.0.5.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.5.ebuild new file mode 100644 index 000000000000..9bc2bd4cef2c --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-2.0.5.ebuild @@ -0,0 +1,48 @@ +# 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_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_GEMSPEC="tzinfo.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" +SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Skip safe tests since we cannot guarantee the correct permissions + # on directories for it to pass. + sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die + + # Loosen test dependencies + sed -e '/rake/ s/12.2.1/12.2/' \ + -e '/simplecov/d' \ + -i Gemfile || die + sed -e '/TEST_COVERAGE/d' -i Rakefile || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +}