dev-ruby/certificate_authority: add ruby23 revision
authorHans de Graaff <graaff@gentoo.org>
Thu, 15 Sep 2016 04:34:05 +0000 (06:34 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 15 Sep 2016 04:35:14 +0000 (06:35 +0200)
Package-Manager: portage-2.2.28

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

diff --git a/dev-ruby/certificate_authority/certificate_authority-0.1.6-r1.ebuild b/dev-ruby/certificate_authority/certificate_authority-0.1.6-r1.ebuild
new file mode 100644 (file)
index 0000000..d5d0f95
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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 ~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
+}