diff options
| author | 2021-10-02 20:36:01 -0400 | |
|---|---|---|
| committer | 2021-10-03 12:31:07 -0400 | |
| commit | 805f57720b398aaf067c8f7d4184af20d7d2661a (patch) | |
| tree | 3336eb2a4e43989792acd50925800088fc254520 | |
| parent | gui-apps/nwg-launchers: Version update 0.6.3 (diff) | |
| download | guru-805f57720b398aaf067c8f7d4184af20d7d2661a.tar.gz guru-805f57720b398aaf067c8f7d4184af20d7d2661a.tar.bz2 guru-805f57720b398aaf067c8f7d4184af20d7d2661a.zip | |
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>
| -rw-r--r-- | dev-R/lattice/Manifest | 2 | ||||
| -rw-r--r-- | dev-R/lattice/lattice-0.20.44.ebuild | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-R/lattice/Manifest b/dev-R/lattice/Manifest index 28eb711ac..12d803a4c 100644 --- a/dev-R/lattice/Manifest +++ b/dev-R/lattice/Manifest @@ -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 diff --git a/dev-R/lattice/lattice-0.20.44.ebuild b/dev-R/lattice/lattice-0.20.44.ebuild index 14a13fb34..c88a0c20e 100644 --- a/dev-R/lattice/lattice-0.20.44.ebuild +++ b/dev-R/lattice/lattice-0.20.44.ebuild @@ -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 +} |
