dev-ruby/oauth-tty: add 1.0.6

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-12-14 17:36:57 +01:00
parent ffbb9e6d4a
commit 097c6fd9f3
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
3 changed files with 51 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST oauth-tty-1.0.6.tar.gz 193477 BLAKE2B daae6e314de705a5dbd7d6681b509f818afd347643f336921e80c89f112db6687a54fc3fcc51b475570dcf7005f9bb19483b4a06226e8924433a7666dbad7a45 SHA512 13f3378166ac78de83b555da942194b5cd5687bee1d65ff737e44aa99e1a4f48c34de4d0f11984850804bef32c0c40f27876e08273c8c2f55876487efd03f382
DIST oauth2-1.0.5.tar.bz2 27649 BLAKE2B cb20b0073838ad887b2b7311e929507d152746c33adeef602f475fca94aa49df4283597ab678f2fa16d17467220edab6601e7ff4bae07d5c81b55cf8515ca5eb SHA512 3dbb5d1394bf5791b16e88bb4e8ead7456ea935005947e0e6b5e4864277b17c75acea389d5c7e5eef1eff684475962619777728049f8f0686abe434f2fffacf8 DIST oauth2-1.0.5.tar.bz2 27649 BLAKE2B cb20b0073838ad887b2b7311e929507d152746c33adeef602f475fca94aa49df4283597ab678f2fa16d17467220edab6601e7ff4bae07d5c81b55cf8515ca5eb SHA512 3dbb5d1394bf5791b16e88bb4e8ead7456ea935005947e0e6b5e4864277b17c75acea389d5c7e5eef1eff684475962619777728049f8f0686abe434f2fffacf8

View File

@ -6,6 +6,8 @@
<name>Gentoo Ruby Project</name> <name>Gentoo Ruby Project</name>
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="gitlab">oauth-xx/oauth-tty</remote-id> <remote-id type="github">ruby-oauth/oauth-tty</remote-id>
<remote-id type="gitlab">ruby-oauth/oauth-tty</remote-id>
<remote-id type="rubygems">oauth-tty</remote-id>
</upstream> </upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -0,0 +1,47 @@
# 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_BINDIR="exe"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="oauth-tty.gemspec"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
inherit ruby-fakegem
DESCRIPTION="OAuth 1.0 TTY Command Line Interface"
HOMEPAGE="https://github.com/ruby-oauth/oauth-tty"
SRC_URI="https://github.com/ruby-oauth/oauth-tty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
IUSE="test"
ruby_add_rdepend "
>=dev-ruby/version_gem-1.1.1:1
!<dev-ruby/oauth-0.6.2-r2:0
"
ruby_add_bdepend "test? (
>=dev-ruby/minitest-5.15
dev-ruby/mocha
>=dev-ruby/oauth-1.1.0
dev-ruby/rack-test
dev-ruby/webmock
)"
all_ruby_prepare() {
sed -e 's:_relative ": "./:' \
-e 's/__dir__/"."/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -e '/kettle/ s:^:#:' \
-e '/simplecov/ s:^:#:' \
-i spec/spec_helper.rb || die
}