dev-ruby/literal - 1.8.1 (graaff)

Search

Install

Install this version:

emerge -a =dev-ruby/literal-1.8.1

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

autounmask =dev-ruby/literal-1.8.1

Or alternatively:

emerge --autounmask-write -a =dev-ruby/literal-1.8.1

Package Information

Description:
Enums, properties, generics, structured objects and runtime type checking
Homepage:
https://literal.fun/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.8.1 8 ~amd64 $(ver_cut 1)
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_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="literal.gemspec"

# Uses unpackaged quickdraw test framework.
RUBY_FAKEGEM_RECIPE_TEST="none"

inherit ruby-fakegem

DESCRIPTION="Enums, properties, generics, structured objects and runtime type checking"
HOMEPAGE="https://literal.fun/"
SRC_URI="https://github.com/yippee-fun/literal/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"

ruby_add_rdepend "dev-ruby/zeitwerk"

all_ruby_prepare() {
	sed -e 's:_relative ": "./:' \
		-e 's/__dir__/"."/' \
		-i ${RUBY_FAKEGEM_GEMSPEC} || die
}

Inherited Eclasses

Manifest for 1.8.1

Type File Size Source URLs
DIST literal-1.8.1.tar.gz 40382 bytes https://github.com/yippee-fun/literal/archive/refs/tags/1.8.1.tar.gz