mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-R/lattice: fix and improve src_uri, add optfeature for dev-R/MASS
* 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>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST lattice_0.20-44.tar.gz 399257 BLAKE2B 98ce0b74478dc5bf2e9e1f8282a1793d38a3cabdce3e48e8bc7f9a18b438bc91e32a61195e845308892a8c290ac7326b1d842a8760903f413d8407d6901c264a SHA512 425cbe4e0efa3a53b1b5609cecd6065d4b1c6cb0eb00f4595d1446a642efb8b95da769f66081b7f106b43170dcded146151d7597a74daef4c9ec79302792f5f2
|
||||
DIST lattice-0.20.44.tar.gz 399257 BLAKE2B 98ce0b74478dc5bf2e9e1f8282a1793d38a3cabdce3e48e8bc7f9a18b438bc91e32a61195e845308892a8c290ac7326b1d842a8760903f413d8407d6901c264a SHA512 425cbe4e0efa3a53b1b5609cecd6065d4b1c6cb0eb00f4595d1446a642efb8b95da769f66081b7f106b43170dcded146151d7597a74daef4c9ec79302792f5f2
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
inherit R-packages optfeature
|
||||
|
||||
DESCRIPTION='Trellis Graphics for R'
|
||||
HOMEPAGE="http://lattice.r-forge.r-project.org/index.php"
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="http://cran.r-project.org/src/contrib/lattice_0.20-44.tar.gz"
|
||||
SRC_URI="mirror://cran/src/contrib/Archive/"{$PN}"/"${PN}"_"$(ver_rs 2 '-')".tar.gz -> "${P}".tar.gz"
|
||||
LICENSE='GPL-2+'
|
||||
|
||||
DEPEND="
|
||||
@@ -15,3 +16,7 @@ DEPEND="
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user