diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-10-24 07:50:35 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-10-24 07:56:11 +0200 |
commit | c9686b15954d4495a26d76113e835f0c11ed4708 (patch) | |
tree | 7d3709077e78fb20fea87d0cba53821f1d5daceb /dev-ruby/simple_oauth | |
parent | dev-ruby/naught: EAPI 8; add ruby30 (diff) | |
download | gentoo-c9686b15954d4495a26d76113e835f0c11ed4708.tar.gz gentoo-c9686b15954d4495a26d76113e835f0c11ed4708.tar.bz2 gentoo-c9686b15954d4495a26d76113e835f0c11ed4708.zip |
dev-ruby/simple_oauth: EAPI 8; add ruby30; use rspec3
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/simple_oauth')
-rw-r--r-- | dev-ruby/simple_oauth/simple_oauth-0.3.1-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/simple_oauth/simple_oauth-0.3.1-r1.ebuild b/dev-ruby/simple_oauth/simple_oauth-0.3.1-r1.ebuild new file mode 100644 index 000000000000..3bd3362f87e0 --- /dev/null +++ b/dev-ruby/simple_oauth/simple_oauth-0.3.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simply builds and verifies OAuth headers" +HOMEPAGE="https://github.com/laserlemon/simple_oauth" +SRC_URI="https://github.com/laserlemon/simple_oauth/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/simplecov/,+8d" spec/helper.rb || die + + sed -i -e '/files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + export CI=true + each_fakegem_test +} |