1 |
commit: 94b007ee239c170f0300e790aa9853e0f3df1139 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 04:52:13 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 08:08:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b007ee |
7 |
|
8 |
dev-ruby/certificate_authority: add 1.0.0 |
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/certificate_authority/Manifest | 1 + |
14 |
.../certificate_authority-1.0.0.ebuild | 32 ++++++++++++++++++++++ |
15 |
2 files changed, 33 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/certificate_authority/Manifest b/dev-ruby/certificate_authority/Manifest |
18 |
index 91e50b16684..293c08b814e 100644 |
19 |
--- a/dev-ruby/certificate_authority/Manifest |
20 |
+++ b/dev-ruby/certificate_authority/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST certificate_authority-0.1.6.gem 22528 BLAKE2B 85b229c7506b787b85b734883967dd8e6fc4ceece57dec2b2b8c29fffbaec2d95931af5412d61ef9935e547b68b14213e5cc6971f94ad6294476cc653684742b SHA512 d1471171aa01956ca216bdb8515e9f6fafc9720827e7351b14c7c38907e87b66a3299d9ee0322fb51b8edd1cbc4f4a73a2aa4b54ff5ca4c8bc602ced5e035a59 |
23 |
+DIST certificate_authority-1.0.0.tar.gz 57104 BLAKE2B e585b19b6740349e520e021d4981c3941bca9e6c9b11867c9484e98b4e74e4ebafb47c648564c3e8b89e3591414a90ee404bab83cafd5a3354354b36b3002436 SHA512 e5f05d3df86ae7e7e6ed8937667b14229cda884996c30d9a39f1ad7db781e58abb3f61c251c21174b4988adf0ecdecb1b0f22ed97ddae071ba12c78379524785 |
24 |
|
25 |
diff --git a/dev-ruby/certificate_authority/certificate_authority-1.0.0.ebuild b/dev-ruby/certificate_authority/certificate_authority-1.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a49df5a8922 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/certificate_authority/certificate_authority-1.0.0.ebuild |
30 |
@@ -0,0 +1,32 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+USE_RUBY="ruby25 ruby26 ruby27" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="README.rdoc" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="certificate_authority.gemspec" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="Managing the core functions outlined in RFC-3280 for PKI" |
46 |
+HOMEPAGE="https://github.com/cchandler/certificate_authority" |
47 |
+SRC_URI="https://github.com/cchandler/certificate_authority/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
52 |
+IUSE="" |
53 |
+ |
54 |
+all_ruby_prepare() { |
55 |
+ sed -i -e '/\(bundler\|pry\|overalls\)/ s:^:#:' spec/spec_helper.rb || die |
56 |
+ sed -i -e '/spec.files/,/end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die |
57 |
+ |
58 |
+ # Avoid dependency on dev-libs/engine_pkcs11 that will be hard to |
59 |
+ # make work on different arches due to hardwired load paths in |
60 |
+ # specs. |
61 |
+ rm -f spec/units/pkcs11_key_material_spec.rb || die |
62 |
+} |