From e9d044d4b9b71200a96adfa280848858c0f468c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Nov 2021 13:10:00 +0000 Subject: gentoo resync : 13.11.2021 --- dev-ruby/bcrypt-ruby/Manifest | 3 +- dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r1.ebuild | 2 +- dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r2.ebuild | 52 +++++++++++++++++++++++ 3 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r2.ebuild (limited to 'dev-ruby/bcrypt-ruby') diff --git a/dev-ruby/bcrypt-ruby/Manifest b/dev-ruby/bcrypt-ruby/Manifest index 92c3b3e2dd8e..6732a7317ce3 100644 --- a/dev-ruby/bcrypt-ruby/Manifest +++ b/dev-ruby/bcrypt-ruby/Manifest @@ -1,4 +1,5 @@ DIST bcrypt-3.1.16.gem 54272 BLAKE2B df8e1169df3a67f3eedd90b4fe04224266cd41d1a0dd2866b06372805b5b00aa028c3bb077078ffde3c89a9052497016dc3fe812075d8b6f57d6dd951a6aa806 SHA512 655483d73347c20f3b04a24d625cde05fd8e1da6f022363fbb2df828aea0623cb5b4981d97791301dcd83edc2719a2238d8d377af1558ca2ce4b3c8ade9bd343 -EBUILD bcrypt-ruby-3.1.16-r1.ebuild 1512 BLAKE2B da39d357f52fe6e3bbed0964c0e78c9f44798358902d62eb613fac45a0009f2483b59d04013fdff054ef35139af59019c2656fa4848a5919b3baa43d5b89eaf9 SHA512 84f16968513746a85c1da9e8d890d5445260ffc285a715c59e879b3b36d28b2401eaccf3246b5ef88e716c7cb686d3e5fb3d950d8ed42f38a30decfd6cdcb9e2 +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 MISC metadata.xml 347 BLAKE2B 5430c9a624d1e922507758954755b4b7e29ffc5c9bec8a78bb9a726b17fb50e492fbf7476964cba269b80d1c6d34ab4ad9d482115825b6c18a25d61fa6dead89 SHA512 901e5c0b9da6c30ae04a0976010dff1faef88fb07d190ecea9eee06abaa1204280176b94dca90e0b5bc5af6423bb72a0657d8460eacd22b8aaf48fbf30b9f2c8 diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r1.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r1.ebuild index 6a7644514384..079fc8ba9897 100644 --- a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r1.ebuild +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r1.ebuild @@ -20,7 +20,7 @@ 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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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="" diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r2.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r2.ebuild new file mode 100644 index 000000000000..c96faac55005 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.16-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 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 '/git ls-files/d' 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 - < "${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 +} -- cgit v1.2.3