public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/time/
Date: Sun, 27 Mar 2022 07:13:20 +0000 (UTC)	[thread overview]
Message-ID: <1648365192.90c1b947474174ca04ccae5374374b0a12ab0c33.graaff@gentoo> (raw)

commit:     90c1b947474174ca04ccae5374374b0a12ab0c33
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 06:13:54 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 07:13:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90c1b947

dev-ruby/time: initial import of 0.2.0

Extracted from dev-lang/ruby, keywords set accordingly.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/time/Manifest          |  1 +
 dev-ruby/time/metadata.xml      | 11 +++++++++++
 dev-ruby/time/time-0.2.0.ebuild | 31 +++++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-ruby/time/Manifest b/dev-ruby/time/Manifest
new file mode 100644
index 000000000000..46d68074082b
--- /dev/null
+++ b/dev-ruby/time/Manifest
@@ -0,0 +1 @@
+DIST time-0.2.0.tar.gz 25276 BLAKE2B e944fc0ad371608b24c543e503504e1bfd9015f8b998372e6e4a08d2b76c7d75b478ceac42d4d955c205e4ed30a018d3c008e947d9d3215fcd32d78f429aee92 SHA512 07b4896827014ab1f6394ee8a116a8074c2342c070b814bb190104a404828d684c9ca49d0c53fe5ef4518d5455de73d5f4c03051cbae47257fa631b17515d2f9

diff --git a/dev-ruby/time/metadata.xml b/dev-ruby/time/metadata.xml
new file mode 100644
index 000000000000..3491d92c0b1d
--- /dev/null
+++ b/dev-ruby/time/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>ruby@gentoo.org</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ruby/time</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-ruby/time/time-0.2.0.ebuild b/dev-ruby/time/time-0.2.0.ebuild
new file mode 100644
index 000000000000..ae7b805d59f6
--- /dev/null
+++ b/dev-ruby/time/time-0.2.0.ebuild
@@ -0,0 +1,31 @@
+# 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_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 ~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
+}


             reply	other threads:[~2022-03-27  7:13 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-27  7:13 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-14  6:53 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/time/ Hans de Graaff
2023-03-04 14:09 Hans de Graaff
2023-03-28 21:52 Sam James
2023-03-28 21:53 Sam James
2023-03-28 22:12 Sam James
2023-03-28 23:01 Sam James
2023-03-28 23:01 Sam James
2023-03-29  0:46 Sam James
2023-03-31  7:17 Hans de Graaff
2023-06-25  8:18 Arthur Zamarin
2023-08-02  5:55 Sam James
2023-11-10  5:54 Hans de Graaff
2023-11-10  5:54 Hans de Graaff
2023-12-26 15:53 Hans de Graaff
2024-05-18 10:19 Sam James
2024-07-17  4:38 Viorel Munteanu
2024-07-17  5:57 Hans de Graaff
2024-09-06  4:59 Hans de Graaff
2024-10-06 11:35 Sam James
2024-10-08 19:37 Arthur Zamarin
2024-10-08 20:37 Arthur Zamarin
2024-10-10 11:04 Arthur Zamarin
2024-10-11  9:56 Arthur Zamarin
2024-10-28  6:43 Hans de Graaff
2024-11-04 19:35 Fabian Groffen
2024-11-08  7:12 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1648365192.90c1b947474174ca04ccae5374374b0a12ab0c33.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox