commit:     4449849bf203bc73931e3d53333ac893fc89083c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 06:50:57 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 06:51:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4449849b

dev-ruby/bcrypt_pbkdf: initial import of 1.0.0

New test dependency for dev-ruby/net-ssh.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ruby/bcrypt_pbkdf/Manifest                  |  1 +
 dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild | 36 +++++++++++++++++++++++++
 dev-ruby/bcrypt_pbkdf/metadata.xml              | 11 ++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-ruby/bcrypt_pbkdf/Manifest b/dev-ruby/bcrypt_pbkdf/Manifest
new file mode 100644
index 0000000000..9e9790df18
--- /dev/null
+++ b/dev-ruby/bcrypt_pbkdf/Manifest
@@ -0,0 +1 @@
+DIST bcrypt_pbkdf-1.0.0.gem 24576 SHA256 
1b86abaca5f4b0e9626b3218ba8f680863bfb3ea2316e1cf647be3c346984432 SHA512 
b582407617633f5277cde9251ed1fd2ca408ae8bd19cc73f107d7932bed38061dc0099d3033ff5def1b586507392c33d8c50815fb156322f0dd08fbbe4a8e967
 WHIRLPOOL 
9401dc3fcde08ff9fe83bd76b92fc779ed9d37c517b6a72b90726b10b211bf3290d268caf93bf0068fe1430c89942bb4a034151c43d35a2033208a7724b4987d

diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild 
b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
new file mode 100644
index 0000000000..065650faf8
--- /dev/null
+++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Implements bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based 
PRF)"
+HOMEPAGE="https://github.com/net-ssh/bcrypt_pbkdf-ruby";
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rbnacl )"
+
+all_ruby_prepare() {
+       # Don't use a ruby-bundled version of libsodium
+       sed -i -e '/rbnacl\/libsodium/ s:^:#:' test/bcrypt_pnkdf/engine_test.rb 
|| die
+}
+
+each_ruby_configure() {
+       ${RUBY} -Cext/mri extconf.rb || die
+}
+
+each_ruby_compile() {
+       emake V=1 -Cext/mri
+       cp ext/mri/bcrypt_pbkdf_ext.so lib/ || die
+}

diff --git a/dev-ruby/bcrypt_pbkdf/metadata.xml 
b/dev-ruby/bcrypt_pbkdf/metadata.xml
new file mode 100644
index 0000000000..cae815148e
--- /dev/null
+++ b/dev-ruby/bcrypt_pbkdf/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>r...@gentoo.org</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">net-ssh/bcrypt_pbkdf-ruby</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to