diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-14 07:52:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-14 07:52:04 +0100 |
commit | 882b611e539eb435b2d235f09a1251b8650c62a7 (patch) | |
tree | 543d88498c6d9a96033d6be23788a899b5165d74 /dev-ruby | |
parent | www-client/opera: remove old (diff) | |
download | gentoo-882b611e539eb435b2d235f09a1251b8650c62a7.tar.gz gentoo-882b611e539eb435b2d235f09a1251b8650c62a7.tar.bz2 gentoo-882b611e539eb435b2d235f09a1251b8650c62a7.zip |
dev-ruby/rotp: add 6.2.2
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.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rotp/Manifest b/dev-ruby/rotp/Manifest index 75e7ce3fcc39..89b806db9a02 100644 --- a/dev-ruby/rotp/Manifest +++ b/dev-ruby/rotp/Manifest @@ -1,2 +1,3 @@ DIST rotp-6.2.0.tar.gz 60000 BLAKE2B dba270201593425c9282aca71efb33ecacda916996ebfffc703dd865a6c6ee3b3da4098497ce036a95157089d8d736e9413d0aa9fd0dc582d4b278ce811e05d0 SHA512 938cf9feffbe7e86f542c6dde4cd87b57e2ddd2696303e69cb76bc9fb04ffb40c9a5ef45288f23cb096d9f6706e0b48ad89907dc9322594df10c8c0521feffa1 DIST rotp-6.2.1.tar.gz 16509 BLAKE2B aad879bcbeb32214cbf81bb6af546e9158c607a4d4dd2e042ac7eda9d8c8baa30df7f0376935bab73062f853441c3e69834625dd2c048d9194ce2cf73df5b11e SHA512 24ff3474f2c0ce30ccd0d04ef37e3da195da95b9a3fe47a2ae028484012bf9406e99499c489e5dff14ad2454a71fd590b930f7bd046e91f4791c056bf21daa3f +DIST rotp-6.2.2.tar.gz 16554 BLAKE2B ba6688238c1e0f0674cc38f8ee0a9f4db2396afbe8a66c47f309ab5b14ef80be039e76d610cd29cad7ce15f6ce2de5be4edc40f2a27841227910a71ec9c56bfc SHA512 88292c80122eec53ed9a45682263b66f1ff6aaad04e0247e235a94faa5d27c1f12398445d81152b6da5565039810f7d5a6974af4bb179a6b8e0a3282fbd6437e diff --git a/dev-ruby/rotp/rotp-6.2.2.ebuild b/dev-ruby/rotp/rotp-6.2.2.ebuild new file mode 100644 index 000000000000..f5bce8f31ffc --- /dev/null +++ b/dev-ruby/rotp/rotp-6.2.2.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 +} |