mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
* Improve SRC_URI to use ver_rs and not a hard coded URI * Add optfeature for dev-R/MASS Currently, dev-R/lattice will not fetch because the source for version 0.20.44 has been archived. Therefore, the package must use the URL for archived versions. In addition, the ver_rs function is used because the URI for the package replaced the second period with a '-' in the version number. Since https://cran.r-project.org/ is listed in thirdpartymirrors, it should be referenced in SRC_URI with a mirror:/// URI. In addition, dev-R/MASS will enable optional features so an optfeature function is added. Also, the HOMEPAGE variable was set. Closes: https://bugs.gentoo.org/815781 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Lucas Mitrak <lucas@lucasmitrak.com>
23 lines
620 B
Bash
23 lines
620 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit R-packages optfeature
|
|
|
|
DESCRIPTION='Trellis Graphics for R'
|
|
HOMEPAGE="http://lattice.r-forge.r-project.org/index.php"
|
|
KEYWORDS="~amd64"
|
|
SRC_URI="mirror://cran/src/contrib/Archive/"{$PN}"/"${PN}"_"$(ver_rs 2 '-')".tar.gz -> "${P}".tar.gz"
|
|
LICENSE='GPL-2+'
|
|
|
|
DEPEND="
|
|
>=dev-lang/R-3.0.0
|
|
dev-lang/R[minimal]
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
pkg_postinst() {
|
|
optfeature "immer in the MASS package for data from the same experiment (expressed as total yield for 3 blocks) for a subset of varieties" dev-R/MASS
|
|
}
|