diff options
author | BioArchLinuxBot | 2024-04-28 12:06:30 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2024-04-28 12:06:30 +0000 |
commit | 8e9a480b86f654ba14c98d2a984355364974546a (patch) | |
tree | 6dbbdfefa31c7b2af6c4a2234eada51e58612d0a /PKGBUILD | |
parent | f5b87afecc7baca042be4cf37b28429fbe8fa639 (diff) | |
download | aur-r-dtplyr.tar.gz |
[lilac] updated to 1.3.1-6
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
@@ -6,11 +6,11 @@ _pkgname=dtplyr _pkgver=1.3.1 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} -pkgrel=5 +pkgrel=6 pkgdesc="Data Table Back-End for 'dplyr'" arch=(any) -url="https://cran.r-project.org/package=${_pkgname}" -license=(MIT) +url="https://cran.r-project.org/package=$_pkgname" +license=('MIT') depends=( r-cli r-data.table @@ -35,19 +35,25 @@ optdepends=( r-tidyr r-waldo ) -source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") -md5sums=('d1cc10d74af58ac44a99392237aca50e') -sha256sums=('a5a9689a640b8bd1274519af220c33deaa3919654acac4ebdff1ff365cc8d6e5') +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz" + "$_pkgname-fix-tests-1.patch::https://github.com/tidyverse/dtplyr/commit/52f4c65fa898213dd4bd778e5854f4429e0dbcb1.patch" + "fix-tests-2.patch") +md5sums=('d1cc10d74af58ac44a99392237aca50e' + '125cf7416ac8b057a81ef48ea12ff880' + 'fc764beecb5093ab33fbf56c7e9c8c12') +b2sums=('886ea73df057735d35a40e95043a07bb8de8abf866ed77ea5a966a45329e780e34a51d96ee177e05138c05e01735244325bf64ec946132348e4107a65819424f' + 'ff13698456b9b29423f6fdc218df49b9ff5dc8357c9bde10a76b4db02d413e499431276bbbfbe496fd9e7d81f6a3ea3f1db76353b4223abba02b2cec1963cb51' + '2941395d51fb661330144a23d22c4f27d2f3a82eb73061138dfe7f34a196a91eec8c68747429721442c34d9708cfa8dcf5e96d8c932c5e6cfa0bb12d82b4bc89') prepare() { - # fix snapshot test - sed -i 's/\.\.\. with 26 more rows/i 26 more rows/' \ - "$_pkgname/tests/testthat/_snaps/step.md" + # fix snapshot tests + patch -Np1 -d "$_pkgname" < "$_pkgname-fix-tests-1.patch" + patch -Np1 -i fix-tests-2.patch } build() { - mkdir -p build - R CMD INSTALL "$_pkgname" -l build + mkdir build + R CMD INSTALL -l build "$_pkgname" } check() { |