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 BF8A515808B for ; Sun, 27 Mar 2022 07:13:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42699E0867; Sun, 27 Mar 2022 07:13:23 +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 205F0E0867 for ; Sun, 27 Mar 2022 07:13:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 8147834340D for ; Sun, 27 Mar 2022 07:13:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06EEF349 for ; Sun, 27 Mar 2022 07:13:20 +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: <1648365192.2f6ed8a5fc842a74e5d00e1b3dcd65b5f5dc1c40.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/date/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/date/Manifest dev-ruby/date/date-3.2.2.ebuild dev-ruby/date/metadata.xml X-VCS-Directories: dev-ruby/date/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2f6ed8a5fc842a74e5d00e1b3dcd65b5f5dc1c40 X-VCS-Branch: master Date: Sun, 27 Mar 2022 07:13:20 +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: 7aa86aad-4d95-4844-93d8-a44eac20769e X-Archives-Hash: f822648dd594bfc98a6adbc3658e7777 commit: 2f6ed8a5fc842a74e5d00e1b3dcd65b5f5dc1c40 Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 27 06:11:04 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 27 07:13:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6ed8a5 dev-ruby/date: initial import of 3.2.2 Extraced from dev-lang/ruby, keywords set accordingly. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/date/Manifest | 1 + dev-ruby/date/date-3.2.2.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-ruby/date/metadata.xml | 11 +++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-ruby/date/Manifest b/dev-ruby/date/Manifest new file mode 100644 index 000000000000..8baef840e9d3 --- /dev/null +++ b/dev-ruby/date/Manifest @@ -0,0 +1 @@ +DIST date-3.2.2.tar.gz 108973 BLAKE2B aedb4d5d43b1d7ac277bc6fd36651f36828be7a04f4eb75c45ea02bc56b3a403af9e8a26b23a9839c904ae455e6a02476fe83115d8c816f06168db6e0a788347 SHA512 5a640b550c9ea0c1fa24aa5d114ae9108fd568c8c38b20434168a92c886d66487065e0c6aedc7e55cbe59cc3338fd262ca601267ed0b55377c382fe0502e9604 diff --git a/dev-ruby/date/date-3.2.2.ebuild b/dev-ruby/date/date-3.2.2.ebuild new file mode 100644 index 000000000000..49bab8d1e38f --- /dev/null +++ b/dev-ruby/date/date-3.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/date/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="date.gemspec" + +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +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 +} diff --git a/dev-ruby/date/metadata.xml b/dev-ruby/date/metadata.xml new file mode 100644 index 000000000000..5f05b08cb0a8 --- /dev/null +++ b/dev-ruby/date/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby/date + +