dev-ruby/certificate_authority: add ruby24
authorHans de Graaff <graaff@gentoo.org>
Wed, 19 Jul 2017 06:54:29 +0000 (08:54 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 19 Jul 2017 06:54:29 +0000 (08:54 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-ruby/certificate_authority/certificate_authority-0.1.6-r2.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/certificate_authority/certificate_authority-0.1.6-r2.ebuild b/dev-ruby/certificate_authority/certificate_authority-0.1.6-r2.ebuild
new file mode 100644 (file)
index 0000000..037269c
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Managing the core functions outlined in RFC-3280 for PKI"
+HOMEPAGE="https://github.com/cchandler/certificate_authority"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activemodel-3.0.6:*"
+
+all_ruby_prepare() {
+       # Avoid dependency on dev-libs/engine_pkcs11 that will be hard to
+       # make work on different arches due to hardwired load paths in
+       # specs.
+       rm -f spec/units/pkcs11_key_material_spec.rb || die
+}