diff options
Diffstat (limited to 'dev-ruby/bcrypt-ruby')
-rw-r--r-- | dev-ruby/bcrypt-ruby/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild | 50 | ||||
-rw-r--r-- | dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.20.ebuild | 30 |
3 files changed, 32 insertions, 52 deletions
diff --git a/dev-ruby/bcrypt-ruby/Manifest b/dev-ruby/bcrypt-ruby/Manifest index 67043e234bd5..cb911b69dfd8 100644 --- a/dev-ruby/bcrypt-ruby/Manifest +++ b/dev-ruby/bcrypt-ruby/Manifest @@ -1,5 +1,5 @@ -DIST bcrypt-3.1.18.gem 55808 BLAKE2B 03e4082f451b8410ae88c1d920625cf3249094ba2d6fc04429d5f9cd60d7e29fa1c3170e2409ba16fa8fd8c341c7471047a382ee89cb2b04dab9bbdaadc3554a SHA512 b0b44f49ac2ef7a6a75a8949943291b7d37fc80be6a4dbbbcbbf117feaa4ff09b0670c14879c358fc2dadd22866cad6e26d07cfdcbb9423d0c52a6f54ae3f8f5 DIST bcrypt-3.1.19.gem 55296 BLAKE2B 8187a84381f9654ee271b0019dcbc0d0487b2efde384673be6838c7d019e8bebcdefd18e1d82b51e5518eeccebe673646582aaf0f9ce776db86b9d552e645330 SHA512 b34e48db1222f1c36a31afbd8a68dc87fb99431d90ec0932705999a04146886139c3654d8a9b615221dfe7048b8b0cc642a8f9819700bfa079e847d70483badf -EBUILD bcrypt-ruby-3.1.18.ebuild 1467 BLAKE2B 9128c6bad5acd29b3aeda650e79b51c6d85c21abde4f161b757b83e0d5f4f8f130d0ba5966d44b4bf02a3ba6b11346e1cb41e425bb4fc283dec81eefad08a480 SHA512 fac15f2bd56bc638b3252d1595be9c2c8859d38fdd80faf266a1f73c7501ab4f60c50d4bc20ab90f836bda4cbaf61a191d6826d7bff97ef2c2ec9d70cdba4664 +DIST bcrypt-ruby-3.1.20.tar.gz 51778 BLAKE2B 7278019f07aa2c0625a40a90d6a79ba99aa966ae72639427f06bc1fd4e7463d19765ceaa9700a588d168f422ad6a9ac391c683424d4bef4b30df2b667fca4bcb SHA512 a89e992a8684211fda22074269000475f7975dd41f05f9b1c2acd82e7a7e084134dc33c66053b315dc918f848330f2990545e7c806c17b69cdffbf2b382e0f4d EBUILD bcrypt-ruby-3.1.19.ebuild 714 BLAKE2B 529d5357da993d91be8637ae73160cd17d096e646b221010453d939270308fa3a1ced8a60077258a40df25a022234db3d0e97a2c778b6faef65c0b56f0b0a7a4 SHA512 53ab05c9525993e77a5b41c976af7f561c3444d64e5ca81ef252e333370a7a0b724591fa97292c52a3efe24b9094c105b6151d287a91cc091b2580d28017e471 +EBUILD bcrypt-ruby-3.1.20.ebuild 808 BLAKE2B 2122a8c5388cfb58ebe7b9894b46a97fae51eda3208d739c86c0bdca332b600b12b059ae4b18de27db8ed9f2a654eee5fe66cfc46d0d7ac0f9338258c2095cd8 SHA512 1b5e45f8f23fa4d69a7a471037ff39901618bfff0fbd4505f8494109138fc69d157db5dc7ac5efd3bfb76c11e311a73737daf2615e617a94d389df0cad516b83 MISC metadata.xml 350 BLAKE2B 3e6b2ecf22fbadc960e6a57344a326c5b022a269201da97938eb3e1c13340fc4391eb26b70037f85be8de7b70fe031a435fd2e32056fb91575ad82574e16ddf0 SHA512 696b597375b8021d284c95229d0d38976a656fd4a55345049c5ae0375249701d2c641400c11b556a01c369e1fd64833205969185c08e4c14fa252cd59e720145 diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild deleted file mode 100644 index 668443a9c818..000000000000 --- a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.18.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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_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 ruby-fakegem - -DESCRIPTION="An easy way to keep your users' passwords secure" -HOMEPAGE="https://github.com/codahale/bcrypt-ruby" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -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" || die - 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 -} diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.20.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.20.ebuild new file mode 100644 index 000000000000..182da4d9050d --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.20.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +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 ruby-fakegem + +DESCRIPTION="An easy way to keep your users' passwords secure" +HOMEPAGE="https://github.com/bcrypt-ruby/bcrypt-ruby" +SRC_URI="https://github.com/bcrypt-ruby/bcrypt-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e 's/git ls-files/find */' bcrypt.gemspec || die +} |