Anna (cybertailor) Vyalkova
e98af0285b
R-packages.eclass: document CRAN_SNAPSHOT_DATE
...
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in >
2022-07-13 06:10:05 +05:00
Anna (cybertailor) Vyalkova
4db1815c13
R-packages.eclass: document CRAN_PN
...
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in >
2022-07-13 06:01:41 +05:00
Anna (cybertailor) Vyalkova
0f61fe1fa5
R-packages.eclass: document CRAN_PV
...
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in >
2022-07-13 06:00:16 +05:00
Anna (cybertailor) Vyalkova
8ece3a840b
R-packages.eclass: EAPI 8 support
...
Add inherit guard.
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in >
2022-07-13 05:58:36 +05:00
Anna (cybertailor) Vyalkova
241e405c26
R-packages.eclass: simplify pkg_postinst
...
optfeature already checks whether a package has been installed.
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in >
2022-07-13 05:58:36 +05:00
Robert Greener
e21f5c3ad3
eclass/R-packages: Add Robert Greener (myself) as author
...
Signed-off-by: Robert Greener <me@r0bert.dev >
2022-07-12 13:05:31 +01:00
Robert Greener
4d1f8fd683
eclass/R-packages: Add CRAN_SNAPSHOT_DATE and use MRAN.
...
The current SRC_URI searches all the CRAN mirrors for
/src/contrib/${PN}_${PV}.tar.gz. This is problematic. Once a package is updated
on CRAN, the package is removed from this path and moved to
/src/contrib/Archive/${PN}/${PN}_${PV}.tar.gz. The effect of this is
that once a package goes out-of-date on CRAN, the ebuild will no longer
build. This significantly increases the maintenance burden of dev-R/*
packages, as it requires that they be up-to-date at all times.
The proposal here, is to use the snapshots of CRAN provided by
Microsoft. This requires an additional variable set in the ebuilds, the
update date. This can just be set to the date that the ebuild is
updated. By setting this, out of date packages will continue to build.
Signed-off-by: Robert Greener <me@r0bert.dev >
2022-07-12 13:05:31 +01:00
Robert Greener
6325628209
eclass/R-packages: Add CRAN_PN variable
...
This can be overridden in the ebuilds, but if its not defined it is the
package name with _ substituted with periods. This maintains the
existing behaviour.
Signed-off-by: Robert Greener <me@r0bert.dev >
2022-07-12 13:05:31 +01:00
Robert Greener
5c61b9e355
eclass/R-packages: Add CRAN_PV
...
Add a variable CRAN_PV which defaults to PV, but can be overridden in
the ebuild. This is useful for the case where the version number is
something like "1.2-24" as it often is with R packages, this would mean
that a variable like "CRAN_PV=$(ver_rs 2 -)" could be defined in the
ebuild, which is used in the SRC_URI of the eclass. If CRAN_PV isn't
defined, it just defaults to PV.
Signed-off-by: Robert Greener <me@r0bert.dev >
2022-07-12 13:05:31 +01:00
Alessandro Barbieri
41174ff126
R-packages.eclass: only suggest packages on non binary merge
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-06-16 00:40:41 +02:00
Alessandro Barbieri
0a8c734ce0
R-packages.eclass: remove unneeded edo
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-06-14 10:00:25 +02:00
Alessandro Barbieri
f16ca432c7
R-packages.eclass: use edo for all the commands
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-06-02 03:23:29 +02:00
Alessandro Barbieri
450bc33de3
R-packages.eclass: use bash style tests
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-05-05 09:32:17 +02:00
Alessandro Barbieri
24e92498a7
R-packages.eclass: also remove tests
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-04-19 20:31:28 +02:00
Alessandro Barbieri
47cf61d513
R-packages.eclass: do not compress docs, build in T
...
Closes: https://bugs.gentoo.org/838832
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-04-16 18:20:07 +02:00
Alessandro Barbieri
4ec6a5d705
R-packages.eclass: add documentation comments
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2022-04-15 22:34:21 +02:00
Alessandro Barbieri
fcc3d7d78e
R-packages.eclass: add SUGGESTED_PACKAGES optfeature
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-10-05 23:24:13 +02:00
Alessandro Barbieri
9ac9f8dfc1
R-packages.eclass: pass AR via MAKEFLAGS
...
Closes: https://bugs.gentoo.org/812113
Closes: https://bugs.gentoo.org/812110
Closes: https://bugs.gentoo.org/812107
Closes: https://bugs.gentoo.org/812104
Closes: https://bugs.gentoo.org/812101
Closes: https://bugs.gentoo.org/812098
Closes: https://bugs.gentoo.org/812095
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-09-08 12:46:18 +02:00
Alessandro Barbieri
dd9177aecb
R-packages.eclass: quoting, more || die, docompress -x html
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-06-17 18:01:51 +02:00
Alessandro Barbieri
9fd8092319
R-packages.eclass: split string
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-06-01 01:15:27 +02:00
Alessandro Barbieri
db926ffb75
R-packages.eclass: remove postinst
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-06-01 00:04:38 +02:00
Alessandro Barbieri
675c075a6e
R-packages.eclass: always byte compile
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-06-01 00:04:38 +02:00
Alessandro Barbieri
415bc21871
R-packages.eclass: default SRC_URI and HOMEPAGE
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-06-01 00:04:37 +02:00
Alessandro Barbieri
816ade7bcf
R-packages.eclass: rename
...
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com >
2021-06-01 00:04:37 +02:00