1 |
commit: d65f543a8534291c12ead9cd9cafa1fc60ffd5f6 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 11 17:14:38 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 17:15:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65f543a |
7 |
|
8 |
dev-ruby/strptime: add 0.2.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/strptime/Manifest | 1 + |
14 |
dev-ruby/strptime/strptime-0.2.4.ebuild | 38 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/strptime/Manifest b/dev-ruby/strptime/Manifest |
18 |
index 687f80b2c88..98817d4643b 100644 |
19 |
--- a/dev-ruby/strptime/Manifest |
20 |
+++ b/dev-ruby/strptime/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST strptime-0.2.3.tar.gz 17375 BLAKE2B 583566c19cdd96f97b469d3353236624b814ea9200e1479d32c552d06431e0008cd9dcf5be03564948898fb9e5a1470a5a8bdb531d4054bfe64899bbd6ec92e0 SHA512 1b9ee2f7c0fa747c6df5a56c5d7f667c4a9314c334472867e890758074f9da387aae54d9171b2460036a21e890fd743187571c6d4a995e4117d6c4307b8134cc |
23 |
+DIST strptime-0.2.4.tar.gz 17429 BLAKE2B 9b6a7f29075ef5e55a17f28859961013d96778c7bd78fac9138a455819ec062f4b0d311038026a9da45ecc96e3f92207462970201c5d3095b9b0d653706c64a2 SHA512 ae92df60e049eb57e60f414e0a436fd90b56c6a3f5812597619aaac2d78b80046aeef77cdaae6f8822f37d069903d2806b9f7710ff1520eaf11070aaf3465f56 |
24 |
|
25 |
diff --git a/dev-ruby/strptime/strptime-0.2.4.ebuild b/dev-ruby/strptime/strptime-0.2.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..20a5d9d41ad |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/strptime/strptime-0.2.4.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
41 |
+ |
42 |
+RUBY_FAKEGEM_GEMSPEC="strptime.gemspec" |
43 |
+ |
44 |
+RUBY_FAKEGEM_BINWRAP="" |
45 |
+ |
46 |
+inherit multilib ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="A fast strptime/strftime engine which uses VM" |
49 |
+HOMEPAGE="https://github.com/nurse/strptime" |
50 |
+SRC_URI="https://github.com/nurse/strptime/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="BSD-2" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64" |
55 |
+IUSE="" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
59 |
+} |
60 |
+ |
61 |
+each_ruby_configure() { |
62 |
+ ${RUBY} -Cext/strptime extconf.rb || die |
63 |
+} |
64 |
+ |
65 |
+each_ruby_compile() { |
66 |
+ emake -Cext/strptime V=1 |
67 |
+ cp ext/strptime/strptime$(get_modname) lib/strptime/ || die |
68 |
+} |