summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-14 12:50:42 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-14 12:50:42 +0000
commit7d58bf45ea7b2d8f188fd2aa40484a8c9a3381a7 (patch)
tree74a135cfbc172935bc5b36a9e7c29915932b5445 /dev-ruby
parentafa8da78d8135ca28150730e9c60af9d875f0a5b (diff)
gentoo auto-resync : 14:11:2022 - 12:50:41
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin112253 -> 112255 bytes
-rw-r--r--dev-ruby/rotp/Manifest2
-rw-r--r--dev-ruby/rotp/rotp-6.2.1.ebuild36
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 7fffe1321318..ac86c2d3e644 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/rotp/Manifest b/dev-ruby/rotp/Manifest
index 8666f8078c09..93eabd9b3630 100644
--- a/dev-ruby/rotp/Manifest
+++ b/dev-ruby/rotp/Manifest
@@ -1,3 +1,5 @@
DIST rotp-6.2.0.tar.gz 60000 BLAKE2B dba270201593425c9282aca71efb33ecacda916996ebfffc703dd865a6c6ee3b3da4098497ce036a95157089d8d736e9413d0aa9fd0dc582d4b278ce811e05d0 SHA512 938cf9feffbe7e86f542c6dde4cd87b57e2ddd2696303e69cb76bc9fb04ffb40c9a5ef45288f23cb096d9f6706e0b48ad89907dc9322594df10c8c0521feffa1
+DIST rotp-6.2.1.tar.gz 16509 BLAKE2B aad879bcbeb32214cbf81bb6af546e9158c607a4d4dd2e042ac7eda9d8c8baa30df7f0376935bab73062f853441c3e69834625dd2c048d9194ce2cf73df5b11e SHA512 24ff3474f2c0ce30ccd0d04ef37e3da195da95b9a3fe47a2ae028484012bf9406e99499c489e5dff14ad2454a71fd590b930f7bd046e91f4791c056bf21daa3f
EBUILD rotp-6.2.0.ebuild 858 BLAKE2B 146db7bc372c6ffe03d9041d9b1d5e4edecd3d7d48abf87dc6ea405186144b520416ae3009967bdfccbd0afa20b481ff349d9d9e8ccd16eb57a6541e071b1414 SHA512 60c9f2573964dd69c0d33b14158434da4e536aa817f137fe79802c3d599b08f8d191040ce454c6c42d332e764d19d78e219ad73383e82728f9eb5d91a14ee50e
+EBUILD rotp-6.2.1.ebuild 853 BLAKE2B 324b610de6dd46195753641eaa8c4aa4c4ef26ad91db959f0c816f026b081eb9192d5efbfd6717dd1d408958a404598027ed65a5cd797b01ba4f7e23bc0ef743 SHA512 d0e67fd6e4552a5d236662ef0dddd6684cf6221bc4a21dbba7a81decba09cd5376f6d0a17fd04e7a3507b0de239400d8afa8cc31a81130451e297708933da4f5
MISC metadata.xml 526 BLAKE2B 8185b2f36dcc56866734515065c5d1bf325eee6c60029446617b8186e27802e3796c82aa9fcfc6fc98a4205ad3b15f898300ce75641d31ed20f24f0f58e88150 SHA512 a574a47aebc7cf5c6a95bcfef4d6cf00dab0e4632af1e641da897228583f2b680f6f51ba3e906c644fc00ef82d61797a0c3bed9259437e0876f0d3f0dd5a410e
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
+}