diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-11-14 07:40:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-11-14 07:42:07 +0100 |
commit | 05520e1d11dc35b45cf05af1ab00b8feccb05eef (patch) | |
tree | ebc1c09e780b67f92e727eea11dc16e7eb74d188 /dev-ruby | |
parent | app-misc/sphinx: lock C/C++ to older versions of the standard (diff) | |
download | gentoo-05520e1d11dc35b45cf05af1ab00b8feccb05eef.tar.gz gentoo-05520e1d11dc35b45cf05af1ab00b8feccb05eef.tar.bz2 gentoo-05520e1d11dc35b45cf05af1ab00b8feccb05eef.zip |
dev-ruby/rotp: add 6.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rotp/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rotp/rotp-6.2.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rotp/Manifest b/dev-ruby/rotp/Manifest index 69bab31e7f7f..75e7ce3fcc39 100644 --- a/dev-ruby/rotp/Manifest +++ b/dev-ruby/rotp/Manifest @@ -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 diff --git a/dev-ruby/rotp/rotp-6.2.1.ebuild b/dev-ruby/rotp/rotp-6.2.1.ebuild new file mode 100644 index 000000000000..f5bce8f31ffc --- /dev/null +++ b/dev-ruby/rotp/rotp-6.2.1.ebuild @@ -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 +} |