summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-08 07:30:40 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-08 07:33:09 +0200
commit44f87aef074b09e9fc369fcc8a693c2ba8b0b869 (patch)
treef4aeb8057cf055aa138c962b1f81aaa82a15fec6 /dev-ruby
parentdev-ruby/rack-cache: add 1.8.0 (diff)
downloadgentoo-44f87aef074b09e9fc369fcc8a693c2ba8b0b869.tar.gz
gentoo-44f87aef074b09e9fc369fcc8a693c2ba8b0b869.tar.bz2
gentoo-44f87aef074b09e9fc369fcc8a693c2ba8b0b869.zip
dev-ruby/ed25519: initial import of 1.2.4
New dependency for dev-ruby/net-ssh Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ed25519/Manifest1
-rw-r--r--dev-ruby/ed25519/ed25519-1.2.4.ebuild35
-rw-r--r--dev-ruby/ed25519/metadata.xml11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/ed25519/Manifest b/dev-ruby/ed25519/Manifest
new file mode 100644
index 000000000000..aacf5d4f0ae1
--- /dev/null
+++ b/dev-ruby/ed25519/Manifest
@@ -0,0 +1 @@
+DIST ed25519-1.2.4.tar.gz 136685 BLAKE2B d0fd78f16df2b09f5835fca4b0963cee930e17ece2c4eea2cbf4544ed1a5e30c7dc63525b285f4e1e150e5e70d1e8207ca07ce985c27441a903c69875fd92dee SHA512 cf2de7781848d804f3a279baef26f887846d7d846d225293c74dc3f4e301d18518c9edc8b721f9637fff8f087703e91d2376119f2d8185ef19be5862f99801b3
diff --git a/dev-ruby/ed25519/ed25519-1.2.4.ebuild b/dev-ruby/ed25519/ed25519-1.2.4.ebuild
new file mode 100644
index 000000000000..ad1b52d61a5b
--- /dev/null
+++ b/dev-ruby/ed25519/ed25519-1.2.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Library for the Ed25519 public-key signature system"
+HOMEPAGE="https://github.com/crypto-rb/ed25519"
+SRC_URI="https://github.com/crypto-rb/ed25519/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/ed25519_ref10 extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/ed25519_ref10
+ cp ext/ed25519_ref10/ed25519_ref10.so lib/ || die
+}
diff --git a/dev-ruby/ed25519/metadata.xml b/dev-ruby/ed25519/metadata.xml
new file mode 100644
index 000000000000..63e6d11b32c9
--- /dev/null
+++ b/dev-ruby/ed25519/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>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">crypto-rb/ed25519</remote-id>
+ </upstream>
+</pkgmetadata>