mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-ruby/rotp: add 6.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST rotp-6.2.0.tar.gz 60000 BLAKE2B dba270201593425c9282aca71efb33ecacda916996ebfffc703dd865a6c6ee3b3da4098497ce036a95157089d8d736e9413d0aa9fd0dc582d4b278ce811e05d0 SHA512 938cf9feffbe7e86f542c6dde4cd87b57e2ddd2696303e69cb76bc9fb04ffb40c9a5ef45288f23cb096d9f6706e0b48ad89907dc9322594df10c8c0521feffa1
|
||||
DIST rotp-6.2.1.tar.gz 16509 BLAKE2B aad879bcbeb32214cbf81bb6af546e9158c607a4d4dd2e042ac7eda9d8c8baa30df7f0376935bab73062f853441c3e69834625dd2c048d9194ce2cf73df5b11e SHA512 24ff3474f2c0ce30ccd0d04ef37e3da195da95b9a3fe47a2ae028484012bf9406e99499c489e5dff14ad2454a71fd590b930f7bd046e91f4791c056bf21daa3f
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="The Ruby One Time Password Library"
|
||||
HOMEPAGE="https://github.com/mdp/rotp"
|
||||
SRC_URI="https://github.com/mdp/rotp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-libs/openssl"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? ( >=dev-ruby/timecop-0.8 )
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove simplecov
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
|
||||
# Don't require git
|
||||
sed -i \
|
||||
-e 's/git ls-files/find/' \
|
||||
-e 's/{test,spec,features}/spec/' \
|
||||
${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
Reference in New Issue
Block a user