dev-ruby/bicho - 0.0.18 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ruby/bicho-0.0.18

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

autounmask =dev-ruby/bicho-0.0.18

Or alternatively:

emerge --autounmask-write -a =dev-ruby/bicho-0.0.18

Package Information

Description:
ruby Bugzilla access library
Homepage:
https://github.com/dmacvicar/bicho
License:
MIT

Ebuild Details

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

EAPI=8

USE_RUBY="ruby32 ruby33 ruby34"

RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="bicho.gemspec"

inherit ruby-fakegem

DESCRIPTION="ruby Bugzilla access library"
HOMEPAGE="https://github.com/dmacvicar/bicho"
SRC_URI="https://github.com/dmacvicar/bicho/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64"
IUSE="test"

ruby_add_rdepend "
	dev-ruby/highline:3
	dev-ruby/inifile:3
	>=dev-ruby/nokogiri-1.10.4:0
	dev-ruby/optimist:3
	>=dev-ruby/xmlrpc-0.3.0 =dev-ruby/xmlrpc-0.3*
"

ruby_add_bdepend "test? (
	dev-ruby/minitest
	dev-ruby/vcr
	dev-ruby/webmock
)"

all_ruby_prepare() {
	# Fix dependencies to adhere to semver
	sed -e '/nokogiri/ s/1.10.4/1.10/' \
		-e '/highline/ s/2.0.0/2.0/' \
		-e '/highline/ s/~>/>=/' \
		-e '/optimist/ s/3.0.0/3.0/' \
		-i ${RUBY_FAKEGEM_GEMSPEC} || die

	# Avoid unneeded development dependencies
	sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die
	sed -i -e '/reporters/ s:^:#: ; /Reporters/,/^)/ s:^:#:' test/helper.rb || die
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Manifest for 0.0.18

Type File Size Source URLs
DIST bicho-0.0.18.tar.gz 81846 bytes https://github.com/dmacvicar/bicho/archive/refs/tags/v0.0.18.tar.gz