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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6915158042 for ; Fri, 8 Nov 2024 07:12:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CAA8E0919; Fri, 8 Nov 2024 07:12:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17496E0919 for ; Fri, 8 Nov 2024 07:12:41 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 626EA33FEF1 for ; Fri, 8 Nov 2024 07:12:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74A601E74 for ; Fri, 8 Nov 2024 07:12:37 +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: <1731049925.b939141b16f34a37185f6a5c467a84e52ac79929.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/time/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/time/Manifest dev-ruby/time/time-0.4.1.ebuild X-VCS-Directories: dev-ruby/time/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b939141b16f34a37185f6a5c467a84e52ac79929 X-VCS-Branch: master Date: Fri, 8 Nov 2024 07:12:37 +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: 13472f91-366c-4ff9-b5f4-8d95738bab73 X-Archives-Hash: 8257cf98eadf5afdbd366ebe1f311313 commit: b939141b16f34a37185f6a5c467a84e52ac79929 Author: Hans de Graaff gentoo org> AuthorDate: Fri Nov 8 07:12:05 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Nov 8 07:12:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b939141b dev-ruby/time: add 0.4.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/time/Manifest | 1 + dev-ruby/time/time-0.4.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/time/Manifest b/dev-ruby/time/Manifest index aeba0c144fa3..94302f0de0f0 100644 --- a/dev-ruby/time/Manifest +++ b/dev-ruby/time/Manifest @@ -1 +1,2 @@ DIST time-0.4.0.tar.gz 16721 BLAKE2B d1f86380c7c79b05f9174bb103c5c69d3abdd9c65b60c65ea4de0d93715a5dc7b2f4cdb8cce9a2d75512c00485b687bbc79bba45389ea12a78ca3776512e45dc SHA512 c95c1167a305fbdf6d138143afc2b822972614b26d87c323d62e663994beb80d12e26e17dc33fe515b65076c50aa05c1d80bc13b6bc83b481d967c796b7c84be +DIST time-0.4.1.tar.gz 17233 BLAKE2B b6a7fc2c92f879e19a210ef5db7fa680e699b374df7b180602fd7717e7bf287be51f38a2d9a2680c41994c6e1f82602f3d024d4eaa2eaa1515fb0f85a69e05f7 SHA512 daf7bd8fdafb2a04e94f925e4f32c1077ce1c94a17fe4bdc411aaa945d3ec43d575fba6166c18c1ce4ccbd032708974f02a561961b04efd039621749d239bd57 diff --git a/dev-ruby/time/time-0.4.1.ebuild b/dev-ruby/time/time-0.4.1.ebuild new file mode 100644 index 000000000000..e98b8bb0a911 --- /dev/null +++ b/dev-ruby/time/time-0.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_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="time.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Extends the Time class with methods for parsing and conversion" +HOMEPAGE="https://github.com/ruby/time" +SRC_URI="https://github.com/ruby/time/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_rdepend "dev-ruby/date" + +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 +}