dev-ruby/csl-styles - 2.0.1 (vowstar)

Search

Install

Install this version:

emerge -a =dev-ruby/csl-styles-2.0.1

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

autounmask =dev-ruby/csl-styles-2.0.1

Or alternatively:

emerge --autounmask-write -a =dev-ruby/csl-styles-2.0.1

Package Information

Description:
CSL styles and locales as a RubyGem
Homepage:
https://github.com/inukshuk/csl-styles
License:
AGPL-3 BSD-2

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_EXTRAINSTALL="vendor"
RUBY_FAKEGEM_GEMSPEC="csl-styles.gemspec"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
COMMIT="678a9e811e272940af595326b4dc0437695c5b3c"
COMMIT_LOCALES="2e904f3197e960cd54fb758eb8d747153a597fe0"
COMMIT_STYLES="948c48ae5d1014946daad2e7dea6f316b0ac7928"
CSL_URI="https://github.com/citation-style-language"

inherit ruby-fakegem

DESCRIPTION="CSL styles and locales as a RubyGem"
HOMEPAGE="https://github.com/inukshuk/csl-styles"
SRC_URI="
	https://github.com/inukshuk/csl-styles/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
	${CSL_URI}/locales/archive/${COMMIT_LOCALES}.tar.gz -> ${PN}-locales-${COMMIT_LOCALES}.tar.gz
	${CSL_URI}/styles/archive/${COMMIT_STYLES}.tar.gz -> ${PN}-styles-${COMMIT_STYLES}.tar.gz
"
RUBY_S="${PN}-${COMMIT}"
LICENSE="AGPL-3 BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"

ruby_add_rdepend ">=dev-ruby/csl-1.0 <dev-ruby/csl-2"

all_ruby_prepare() {
	rm -rf "${WORKDIR}/all/${RUBY_S}/vendor/locales" || die
	rm -rf "${WORKDIR}/all/${RUBY_S}/vendor/styles" || die
	cp -rf "${WORKDIR}/all/locales-${COMMIT_LOCALES}" "${WORKDIR}/all/${RUBY_S}/vendor/locales" || die
	cp -rf "${WORKDIR}/all/styles-${COMMIT_STYLES}" "${WORKDIR}/all/${RUBY_S}/vendor/styles" || die
}

Inherited Eclasses

Manifest for 2.0.1

Type File Size Source URLs
DIST csl-styles-2.0.1.tar.gz 1495 bytes https://github.com/inukshuk/csl-styles/archive/678a9e811e272940af595326b4dc0437695c5b3c.tar.gz
DIST csl-styles-locales-2e904f3197e960cd54fb758eb8d747153a597fe0.tar.gz 83943 bytes https://github.com/citation-style-language/locales/archive/2e904f3197e960cd54fb758eb8d747153a597fe0.tar.gz
DIST csl-styles-styles-948c48ae5d1014946daad2e7dea6f316b0ac7928.tar.gz 3633947 bytes https://github.com/citation-style-language/styles/archive/948c48ae5d1014946daad2e7dea6f316b0ac7928.tar.gz