This commit is contained in:
Anton Bolshakov 2021-05-03 14:11:54 +08:00
parent 309ae8da3b
commit f81d87ddc6
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 32 additions and 1 deletions

View file

@ -1 +1,2 @@
DIST haiti-hash-1.0.1.gem 12288 BLAKE2B 8f44bd176e3f365ff9861db525453cc2ff4add85331f4bf75a90495f04d3c4972f2453fe8f11f3b279bc1bf57201d129c969d7c2a8ba5466ba1b5600f015c405 SHA512 034d74e2146afa56525ea5155e9d2ed83a9f30f507d8d007a035004185684481dac083335095f437dbc5ba524a781b743ed5e6bc2b310a55dae0daae76705077
DIST haiti-hash-1.1.1.gem 13824 BLAKE2B 5c38b87f761aefbcf7ffc31e09a28cbb71b0949abda5142ea9199f7b3bb9d27209b8652f0c97feb39ae9d2d5a0cef8240ec1e2cfed345f7a81f60dbe695fd881 SHA512 f43eeadef333210ed02a39b000aee5b7e89216f21c90a36efbc69629d1f0b9620df735137bcf0b26fab9fd84b6aee29af5f98541945dd26eede6fb67d550cabb

View file

@ -3,7 +3,8 @@
EAPI=7
USE_RUBY="ruby26 ruby27 ruby30"
#wait for ruby30 in dev-ruby/paint
USE_RUBY="ruby26 ruby27"
RUBY_FAKEGEM_EXTRAINSTALL="data/prototypes.json"

View file

@ -0,0 +1,29 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
#wait for ruby30 in dev-ruby/paint
USE_RUBY="ruby26 ruby27"
RUBY_FAKEGEM_EXTRAINSTALL="data/prototypes.json"
inherit ruby-fakegem
DESCRIPTION="A CLI tool to identify the hash type of a given hash"
HOMEPAGE="https://noraj.github.io/haiti/"
#wait for dev-ruby/paint
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
ruby_add_rdepend "
=dev-ruby/docopt-0.6*
=dev-ruby/paint-2*
"
all_ruby_prepare() {
sed -i -e 's|../data/prototypes.json|../prototypes.json|' lib/haiti.rb || die
sed -i -e 's|../data/commons.json|../commons.json|' lib/haiti.rb || die
}