summaryrefslogtreecommitdiff
path: root/dev-ruby/oauth/oauth-1.1.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/oauth/oauth-1.1.0.ebuild')
-rw-r--r--dev-ruby/oauth/oauth-1.1.0.ebuild57
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-ruby/oauth/oauth-1.1.0.ebuild b/dev-ruby/oauth/oauth-1.1.0.ebuild
deleted file mode 100644
index 14a3567d9b21..000000000000
--- a/dev-ruby/oauth/oauth-1.1.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-USE_RUBY="ruby32 ruby33 ruby34"
-
-RUBY_FAKEGEM_BINWRAP=""
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md TODO"
-
-RUBY_FAKEGEM_GEMSPEC="oauth.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="A RubyGem for implementing both OAuth clients and servers"
-HOMEPAGE="https://github.com/oauth-xx/oauth-ruby"
-SRC_URI="https://github.com/oauth-xx/oauth-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-RUBY_S="${PN}-ruby-${PV}"
-
-LICENSE="MIT"
-SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86"
-IUSE="test"
-
-ruby_add_rdepend "
- >=dev-ruby/oauth-tty-1.0.1:1
- dev-ruby/snaky_hash:1
- >=dev-ruby/version_gem-1.1:1
-"
-
-ruby_add_bdepend "test? (
- dev-ruby/bundler
- dev-ruby/test-unit:2
- dev-ruby/mocha:2
- dev-ruby/webmock
- dev-ruby/rack
- dev-ruby/rest-client
- || ( dev-ruby/actionpack:7.1 dev-ruby/actionpack:7.0 )
- || ( dev-ruby/railties:7.1 dev-ruby/railties:7.0 )
-)"
-
-all_ruby_prepare() {
- sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
-
- sed -e 's/if RUN_COVERAGE/if false/' \
- -e '3igem "actionpack"' \
- -i test/test_helper.rb || die
-
- # # Avoid test tripped up by kwargs confusion
- sed -e '/test_authorize/askip "kwargs confusion"' \
- -e 's/MiniTest/Minitest/' \
- -i test/units/cli_test.rb || die
-}
-
-each_ruby_test() {
- ${RUBY} -Ilib:test:. -e 'Dir["test/**/*test*.rb"].each {|f| require f}' || die
-}