dev-ruby/ruby-saml - 1.16.0 (graaff)

Search

Install

Install this version:

emerge -a =dev-ruby/ruby-saml-1.16.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ruby/ruby-saml-1.16.0

Or alternatively:

emerge --autounmask-write -a =dev-ruby/ruby-saml-1.16.0

Package Information

Description:
A library for implementing the client side of a SAML authorization
Homepage:
https://github.com/saml-toolkits/ruby-saml
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.16.0 8 ~amd64 $(ver_cut 1-2)
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
USE_RUBY="ruby31 ruby32"

RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADING.md"

RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_TASK_DOC=""

RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"

inherit ruby-fakegem

DESCRIPTION="A library for implementing the client side of a SAML authorization"
HOMEPAGE="https://github.com/saml-toolkits/ruby-saml"
SRC_URI="https://github.com/saml-toolkits/ruby-saml/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"

KEYWORDS="~amd64"
SLOT="$(ver_cut 1-2)"
IUSE="doc"

ruby_add_rdepend ">=dev-ruby/nokogiri-1.13.10 dev-ruby/rexml"

ruby_add_bdepend "test? ( dev-ruby/timecop dev-ruby/mocha dev-ruby/shoulda )"

all_ruby_prepare() {
	sed -i -e '/ruby-debug/d' \
		-e '/bundler/I s:^:#:' \
		-e '/mocha/ s/setup/minitest/' \
		-e '/\(simplecov\|coveralls\)/ s:^:#:' \
		-e '/SimpleCov/,/^end/ s:^:#:' test/test_helper.rb || die

	sed -ie -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die

	sed -i -e '3irequire "onelogin/ruby-saml/http_error"' test/idp_metadata_parser_test.rb || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ruby/ruby-saml | euse -E <flag> -p dev-ruby/ruby-saml | euse -D <flag> -p dev-ruby/ruby-saml

Global/Standard Flags

doc

Inherited Eclasses

Manifest for 1.16.0

Type File Size Source URLs
DIST ruby-saml-1.16.0.tar.gz 319333 bytes https://github.com/saml-toolkits/ruby-saml/archive/refs/tags/v1.16.0.tar.gz