1 |
commit: cc30f2d85435cc81d1e8eede7f64690b5182e913 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 08:56:22 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 10:30:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc30f2d8 |
7 |
|
8 |
dev-ruby/rqrcode_core: add 1.2.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/rqrcode_core/Manifest | 1 + |
14 |
dev-ruby/rqrcode_core/rqrcode_core-1.2.0.ebuild | 32 +++++++++++++++++++++++++ |
15 |
2 files changed, 33 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/rqrcode_core/Manifest b/dev-ruby/rqrcode_core/Manifest |
18 |
index f15a9366f20..7ee328bb359 100644 |
19 |
--- a/dev-ruby/rqrcode_core/Manifest |
20 |
+++ b/dev-ruby/rqrcode_core/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rqrcode_core-0.2.0.tar.gz 20167 BLAKE2B 68ddad8e908404a9e156cffd0d1f2704671ffeaca0ce48a2a74b3512076d89812f19b537cbef98f3b0ae046486ab11f7681b187a07fb53539afb188bdcc87c21 SHA512 96a1fc3484aabfc30b9a26da705405e56cb82168d34ce252f35481b03142ddab359dfbfc4601d12f67f5a65d466120fc0a295c66c0a7ae07401b58cbd8d5c47a |
23 |
DIST rqrcode_core-1.1.0.tar.gz 20891 BLAKE2B 1900cff03c5533453147c736e254709766e8fd2c8be7ed84695682974611a573d1e4eeb34991707eae5e5b7dad31f4d2e74ac0c412f01dce67e558259608d68b SHA512 c9b571f43eb3bb50843eee480add8b5d6bbec171b7bd4f70e746aca0b0dccc321ea190a234151beb1c6d30bb56c3aa7d8d6522dfc346a46165bd90e9be9c20fd |
24 |
+DIST rqrcode_core-1.2.0.tar.gz 21103 BLAKE2B 9988dc999b2853888e91b6346af074defe59dbd1be097e6c058fb7e8e68a779aedef14458ac14aa06e57e8cccdd1240e5eb003944951b47c174a1239cc35d77f SHA512 423a492b29ed8cb4e2f037305121a77f22e76dafc93675d0a24e2c6ad1918522003a8d404d55fa28e007bbb9be6d2038eafab76b2dd5e5e59c0d9adb7ab4626c |
25 |
|
26 |
diff --git a/dev-ruby/rqrcode_core/rqrcode_core-1.2.0.ebuild b/dev-ruby/rqrcode_core/rqrcode_core-1.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ce663572b3d |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/rqrcode_core/rqrcode_core-1.2.0.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+USE_RUBY="ruby26 ruby27 ruby30" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
40 |
+ |
41 |
+RUBY_FAKEGEM_BINWRAP="" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="rqrcode_core.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="Library for encoding QR Codes" |
48 |
+HOMEPAGE="https://github.com/whomwah/rqrcode_core/" |
49 |
+SRC_URI="https://github.com/whomwah/rqrcode_core/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="$(ver_cut 1)" |
53 |
+KEYWORDS="~amd64" |
54 |
+IUSE="" |
55 |
+ |
56 |
+all_ruby_prepare() { |
57 |
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die |
58 |
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
59 |
+} |
60 |
+ |
61 |
+each_ruby_test() { |
62 |
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die |
63 |
+} |