summaryrefslogtreecommitdiff
path: root/dev-ruby/rbnacl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rbnacl')
-rw-r--r--dev-ruby/rbnacl/Manifest3
-rw-r--r--dev-ruby/rbnacl/metadata.xml2
-rw-r--r--dev-ruby/rbnacl/rbnacl-7.1.1-r1.ebuild31
3 files changed, 34 insertions, 2 deletions
diff --git a/dev-ruby/rbnacl/Manifest b/dev-ruby/rbnacl/Manifest
index 04a412d7e7bc..fd0b9b09c68e 100644
--- a/dev-ruby/rbnacl/Manifest
+++ b/dev-ruby/rbnacl/Manifest
@@ -1,3 +1,4 @@
DIST rbnacl-7.1.1.gem 226304 BLAKE2B 4c7c356cc3414c1b49302ff16af701bffbeaaa18b49bcdb4c9d0c10fe2e1f693e7917f8031c90d5c4362d95ffe5a8d471a48476788f64f97092adbcdce0d9f72 SHA512 da7e406bd2b5112e51d2c15cab35d955b65091ed745fbd027750eaca8ff1d11d982c82f497fc15b9ee9aa6536dbd21ff9ac285bb2a2d1fb39c3374fd0f3dca5a
+EBUILD rbnacl-7.1.1-r1.ebuild 713 BLAKE2B fac219a836a18edabc723ad98d9eca91ae83f8c062e0c51077d585ce27f8ae3a51f05b9520647c7d882aef4351f2bc9e98795baeaa30a2f9909db87b043c35ef SHA512 9ca29c55a358be775aa33f86be18661bf528e13c88ee562b4cba02bd150ec3aecf131e1d14acf98362e30768edd2cac5e9f53de64c6d2daebfb893e33889e128
EBUILD rbnacl-7.1.1.ebuild 711 BLAKE2B 264d048edc86f455ef7f3f0437f36db968530a7704fcf95205b08205fcde28d2814a11cfbb8ddd63cca56afe88d54c8e3fd6457fa0219ec9b1080eb5fedb29d0 SHA512 4a236842bbd144a4cb6beb770c6d155a194cd94e4045204f3c2432684151f01e502f0ce11ba046b6dab7a30db65dd4f328a1e89a41c2dfb7ac502b51b603422c
-MISC metadata.xml 346 BLAKE2B 95c47eeadcf87f4b0bc7d9404752205fbd51e6cb33ba5183c9cdc6684f6be94a4773dc005ea047a94379a0e09d9a7f513f5c08436ab495318bd803b3b1fe411b SHA512 bdb485b5d1df9dc9e578fdc52b5979cba9a25af669ca1407b15516ba8f4a658b60e648126387cd011b6f55f4ed6f2227d083ceedd9a5258f973e8d5e8a19cb9b
+MISC metadata.xml 344 BLAKE2B 56ac8f1ae1e1cf2cef2d8f7920557552a2941070b581ddee21e63c7f5192ebadc05e2150bdedba282c9b3f4e4f0398e57b59c522b35656e2d5ab17ff5f0feeee SHA512 590ae6a645898f3d78add701dc98a40fd54a571b837d23f257ed206e73bfa3859eb089f7d3560d7c7fb3aec00eecbda24cc4ca6b7a1e0804b3b4ba75911f3b34
diff --git a/dev-ruby/rbnacl/metadata.xml b/dev-ruby/rbnacl/metadata.xml
index ff5205606ab3..7901e664f629 100644
--- a/dev-ruby/rbnacl/metadata.xml
+++ b/dev-ruby/rbnacl/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
- <remote-id type="github">cryptosphere/rbnacl</remote-id>
+ <remote-id type="github">RubyCrypto/rbnacl</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-ruby/rbnacl/rbnacl-7.1.1-r1.ebuild b/dev-ruby/rbnacl/rbnacl-7.1.1-r1.ebuild
new file mode 100644
index 000000000000..a991bed06b6d
--- /dev/null
+++ b/dev-ruby/rbnacl/rbnacl-7.1.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols"
+HOMEPAGE="https://github.com/RubyCrypto/rbnacl"
+
+LICENSE="MIT"
+SLOT="6"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND+=" dev-libs/libsodium"
+DEPEND+=" test? ( dev-libs/libsodium )"
+
+ruby_add_rdepend "dev-ruby/ffi"
+
+all_ruby_prepare() {
+ sed -i -e '/coveralls/I s:^:#:' \
+ -e '/bundler/ s:^:#:' \
+ -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb
+}