1 |
commit: 2f6ed8a5fc842a74e5d00e1b3dcd65b5f5dc1c40 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 06:11:04 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 07:13:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6ed8a5 |
7 |
|
8 |
dev-ruby/date: initial import of 3.2.2 |
9 |
|
10 |
Extraced from dev-lang/ruby, keywords set accordingly. |
11 |
|
12 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
13 |
|
14 |
dev-ruby/date/Manifest | 1 + |
15 |
dev-ruby/date/date-3.2.2.ebuild | 32 ++++++++++++++++++++++++++++++++ |
16 |
dev-ruby/date/metadata.xml | 11 +++++++++++ |
17 |
3 files changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/dev-ruby/date/Manifest b/dev-ruby/date/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..8baef840e9d3 |
22 |
--- /dev/null |
23 |
+++ b/dev-ruby/date/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST date-3.2.2.tar.gz 108973 BLAKE2B aedb4d5d43b1d7ac277bc6fd36651f36828be7a04f4eb75c45ea02bc56b3a403af9e8a26b23a9839c904ae455e6a02476fe83115d8c816f06168db6e0a788347 SHA512 5a640b550c9ea0c1fa24aa5d114ae9108fd568c8c38b20434168a92c886d66487065e0c6aedc7e55cbe59cc3338fd262ca601267ed0b55377c382fe0502e9604 |
26 |
|
27 |
diff --git a/dev-ruby/date/date-3.2.2.ebuild b/dev-ruby/date/date-3.2.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..49bab8d1e38f |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/date/date-3.2.2.ebuild |
32 |
@@ -0,0 +1,32 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
38 |
+ |
39 |
+RUBY_FAKEGEM_BINWRAP="" |
40 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/date/extconf.rb) |
41 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
42 |
+RUBY_FAKEGEM_GEMSPEC="date.gemspec" |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="A subclass of Object includes Comparable module for handling dates" |
47 |
+HOMEPAGE="https://github.com/ruby/date" |
48 |
+SRC_URI="https://github.com/ruby/date/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD-2" |
51 |
+SLOT="0" |
52 |
+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" |
53 |
+IUSE="" |
54 |
+ |
55 |
+all_ruby_prepare() { |
56 |
+ sed -e 's/__dir__/"."/' \ |
57 |
+ -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ |
58 |
+ -e 's/git ls-files -z/find * -print0/' \ |
59 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
60 |
+} |
61 |
+ |
62 |
+each_ruby_test() { |
63 |
+ ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die |
64 |
+} |
65 |
|
66 |
diff --git a/dev-ruby/date/metadata.xml b/dev-ruby/date/metadata.xml |
67 |
new file mode 100644 |
68 |
index 000000000000..5f05b08cb0a8 |
69 |
--- /dev/null |
70 |
+++ b/dev-ruby/date/metadata.xml |
71 |
@@ -0,0 +1,11 @@ |
72 |
+<?xml version="1.0" encoding="UTF-8"?> |
73 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
74 |
+<pkgmetadata> |
75 |
+ <maintainer type="project"> |
76 |
+ <email>ruby@g.o</email> |
77 |
+ <name>Gentoo Ruby Project</name> |
78 |
+ </maintainer> |
79 |
+ <upstream> |
80 |
+ <remote-id type="github">ruby/date</remote-id> |
81 |
+ </upstream> |
82 |
+</pkgmetadata> |