Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/certificate_authority/
Date: Fri, 01 Jul 2022 05:11:47
Message-Id: 1656652285.ac4c4651bbf06aad195307d6db2474c2e4ada093.graaff@gentoo
1 commit: ac4c4651bbf06aad195307d6db2474c2e4ada093
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 1 05:11:08 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 05:11:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac4c4651
7
8 dev-ruby/certificate_authority: add 1.1.0
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/certificate_authority/Manifest | 1 +
13 .../certificate_authority-1.1.0.ebuild | 32 ++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-ruby/certificate_authority/Manifest b/dev-ruby/certificate_authority/Manifest
17 index 9e6d2f2954d2..e84750eab9b1 100644
18 --- a/dev-ruby/certificate_authority/Manifest
19 +++ b/dev-ruby/certificate_authority/Manifest
20 @@ -1 +1,2 @@
21 DIST certificate_authority-1.0.0.tar.gz 57104 BLAKE2B e585b19b6740349e520e021d4981c3941bca9e6c9b11867c9484e98b4e74e4ebafb47c648564c3e8b89e3591414a90ee404bab83cafd5a3354354b36b3002436 SHA512 e5f05d3df86ae7e7e6ed8937667b14229cda884996c30d9a39f1ad7db781e58abb3f61c251c21174b4988adf0ecdecb1b0f22ed97ddae071ba12c78379524785
22 +DIST certificate_authority-1.1.0.tar.gz 57457 BLAKE2B 6714359fd869cce2a0b43aa6321e95229dead04ed761f6239ecb7b988548aabf13c62a3c61e20d539a6003395886e5e4ff2366fabaa395bfd4b4761c55d56555 SHA512 52c79acaaacf471206912165d2b07464158b61acd8b65ad73614900baa208694f9d29107cc0e275d09baa580ecfbc95458ac7772370b423762d4e80ddf0237ca
23
24 diff --git a/dev-ruby/certificate_authority/certificate_authority-1.1.0.ebuild b/dev-ruby/certificate_authority/certificate_authority-1.1.0.ebuild
25 new file mode 100644
26 index 000000000000..64770fbd1db8
27 --- /dev/null
28 +++ b/dev-ruby/certificate_authority/certificate_authority-1.1.0.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +USE_RUBY="ruby26 ruby27 ruby30 ruby31"
35 +
36 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
37 +
38 +RUBY_FAKEGEM_EXTRADOC="README.rdoc"
39 +
40 +RUBY_FAKEGEM_GEMSPEC="certificate_authority.gemspec"
41 +
42 +inherit ruby-fakegem
43 +
44 +DESCRIPTION="Managing the core functions outlined in RFC-3280 for PKI"
45 +HOMEPAGE="https://github.com/cchandler/certificate_authority"
46 +SRC_URI="https://github.com/cchandler/certificate_authority/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
51 +IUSE=""
52 +
53 +all_ruby_prepare() {
54 + sed -i -e '/\(bundler\|pry\|overalls\)/ s:^:#:' spec/spec_helper.rb || die
55 + sed -i -e '/spec.files/,/end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
56 +
57 + # Avoid dependency on dev-libs/engine_pkcs11 that will be hard to
58 + # make work on different arches due to hardwired load paths in
59 + # specs.
60 + rm -f spec/units/pkcs11_key_material_spec.rb || die
61 +}