dev-ruby/stamp - 0.6.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ruby/stamp-0.6.0

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

autounmask =dev-ruby/stamp-0.6.0

Or alternatively:

emerge --autounmask-write -a =dev-ruby/stamp-0.6.0

Package Information

Description:
Date and time formatting for humans
Homepage:
https://github.com/jeremyw/stamp
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.6.0 8 ~amd64 0
View Raw Ebuild
# 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_RECIPE_TEST="cucumber"
RUBY_FAKEGEM_TASK_DOC=""

RUBY_FAKEGEM_RECIPE_DOC="yard"
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md"
RUBY_FAKEGEM_DOCDIR="doc"

RUBY_FAKEGEM_GEMSPEC="stamp.gemspec"

inherit ruby-fakegem

DESCRIPTION="Date and time formatting for humans"
HOMEPAGE="https://github.com/jeremyw/stamp"
SRC_URI="https://github.com/jeremyw/stamp/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"

ruby_add_bdepend "doc? ( dev-ruby/redcarpet )"

all_ruby_prepare() {
	sed -i -e '/bundler/d' Rakefile || die "sed failed"
	sed -i -e '/bundler/,+7d' features/support/env.rb || die "sed failed"

	# Remove obsolete and unneeded cucumber settings
	rm -f cucumber.yml || die

	sed -i -e 's/git ls-files --/find/; s/git ls-files/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
}

USE Flags

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

Global/Standard Flags

doc

Inherited Eclasses

Manifest for 0.6.0

Type File Size Source URLs
DIST stamp-0.6.0.tar.gz 9099 bytes https://github.com/jeremyw/stamp/archive/v0.6.0.tar.gz