diff options
Diffstat (limited to 'dev-ruby/bcrypt-ruby')
-rw-r--r-- | dev-ruby/bcrypt-ruby/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.17.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/bcrypt-ruby/Manifest b/dev-ruby/bcrypt-ruby/Manifest index 6732a7317ce3..24a711444cc6 100644 --- a/dev-ruby/bcrypt-ruby/Manifest +++ b/dev-ruby/bcrypt-ruby/Manifest @@ -1,5 +1,7 @@ DIST bcrypt-3.1.16.gem 54272 BLAKE2B df8e1169df3a67f3eedd90b4fe04224266cd41d1a0dd2866b06372805b5b00aa028c3bb077078ffde3c89a9052497016dc3fe812075d8b6f57d6dd951a6aa806 SHA512 655483d73347c20f3b04a24d625cde05fd8e1da6f022363fbb2df828aea0623cb5b4981d97791301dcd83edc2719a2238d8d377af1558ca2ce4b3c8ade9bd343 +DIST bcrypt-3.1.17.gem 55808 BLAKE2B e2e3d6ebeaf3d52fa69eb2da340c9558c09f526cc29a1230e2f439f32952a916ba6c2336a134ed0a2ca5210dbb8d2f0818c9ec56283e20f25cb9f891b07bdc60 SHA512 527103e758387031cd6153f5806eb161642547e89dda359929d88b0cc676175e4b3c63905fc8ed724914d2f8b152ecc7f6e7cf5d0c66b7c6fbf7b899bade16a7 EBUILD bcrypt-ruby-3.1.16-r1.ebuild 1519 BLAKE2B 9ff961a847dd27953e2e32a2e3fbbcf25daee6911dac73cb4f924b4c13c3a807e7d9c5ea1144ad61309de8a300766baf61a7a65f473f1618934e55e4722c91c4 SHA512 5d87dde0caaad763eb7e8ecb96becae9f32e1fb82c7ed9de8f2449530f26bb35375c5a0559dca66372e8c01e9cde6abeedf98140dcb3973b93c0accc8dc4c805 EBUILD bcrypt-ruby-3.1.16-r2.ebuild 1519 BLAKE2B 81fb15fe435f56c71cf63fe954c73b634a2b6e52e897558e3b345b5b06989e8bb7a70f1df2b0a0278bee3a88433aae7b6ea3935bd347c33487fea39e60a875ab SHA512 6fdbd5bf05a55e60d2d3aed5cbe1e6125552c91c6700192ecb8e6b6fe0ff9f8a2004b3a64e9cde134963756837f31aff26d5921521b62ca3c921bfca563f9e2e EBUILD bcrypt-ruby-3.1.16.ebuild 1615 BLAKE2B 4534b33b84d784b5afb0a86da52bd8c3cac4c8e9c03620b2091644eb88e308d0a7e70d3b9fe5d8f6845861af79b5fceaf022b9136d68fe9bedd066f509b6d436 SHA512 870b244082f21c1241b2dedfc8ef904e35260683c0ea2e164043e69078d0f28f800082cf8ce1a59c53dfcbf080b1f20e788ea582bc956929f1bf9bb8ee752026 +EBUILD bcrypt-ruby-3.1.17.ebuild 1526 BLAKE2B 54f49baf5098316d84e9515bb2cf0c8f32d218c4e118ff17b12c481d390fbeaf1f0ba2ede4b56c8dcfb24fd46c218a1fa504ec0bdfd60818f3236e0691e6ab6a SHA512 9503fda57c18b77247f4b12477700402e78e5a5a51ff1d366fd926cc5666fbd514ecf03d7a9f27f6332e291d411f6a2c08e75635cba58d3aa5033b7fcfc849f3 MISC metadata.xml 347 BLAKE2B 5430c9a624d1e922507758954755b4b7e29ffc5c9bec8a78bb9a726b17fb50e492fbf7476964cba269b80d1c6d34ab4ad9d482115825b6c18a25d61fa6dead89 SHA512 901e5c0b9da6c30ae04a0976010dff1faef88fb07d190ecea9eee06abaa1204280176b94dca90e0b5bc5af6423bb72a0657d8460eacd22b8aaf48fbf30b9f2c8 diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.17.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.17.ebuild new file mode 100644 index 000000000000..e17248c3c712 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.17.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_NAME="bcrypt" + +RUBY_FAKEGEM_EXTENSIONS=(ext/mri/extconf.rb) + +inherit multilib ruby-fakegem + +DESCRIPTION="An easy way to keep your users' passwords secure" +HOMEPAGE="https://github.com/codahale/bcrypt-ruby" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e 's/git ls-files/find */' bcrypt.gemspec || die +} + +each_ruby_install() { + each_fakegem_install + + # bcrypt was called bcrypt-ruby before, so add a spec file that + # simply loads bcrypt to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # bcrypt` was already part of bcrypt-ruby requirements. + cat - <<EOF > "${T}/bcrypt-ruby.gemspec" +Gem::Specification.new do |s| + s.name = "bcrypt-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load bcrypt" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=bcrypt-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" \ + ruby_fakegem_install_gemspec +} |