diff options
author | BioArchLinuxBot | 2023-12-03 00:03:15 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-12-03 00:03:15 +0000 |
commit | 10bc629a159fa10fc59ce0764fa0bb6c186ea8ca (patch) | |
tree | cbd467c0253c067edc843c73aa3ac8655b40974f | |
parent | a88a923ecdb688cf88af00c7ae7d38dd98633b78 (diff) | |
download | aur-10bc629a159fa10fc59ce0764fa0bb6c186ea8ca.tar.gz |
[lilac] updated to 0.4.7-1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | fix-tests.patch | 28 |
3 files changed, 10 insertions, 49 deletions
@@ -1,7 +1,7 @@ pkgbase = r-cpp11 pkgdesc = A C++11 Interface for R's C Interface - pkgver = 0.4.6 - pkgrel = 2 + pkgver = 0.4.7 + pkgrel = 1 url = https://cran.r-project.org/package=cpp11 arch = any license = MIT @@ -31,11 +31,8 @@ pkgbase = r-cpp11 optdepends = r-tibble optdepends = r-vctrs optdepends = r-withr - source = https://cran.r-project.org/src/contrib/cpp11_0.4.6.tar.gz - source = fix-tests.patch - md5sums = 786e1fdd894c982290d4ae401123fe59 - md5sums = 7b7abe5ee87b665f50a36776475111ce - sha256sums = d1c56954671d3398078ad52aaa4efce0864e8166465c8c5e5e9a1e40599055b3 - sha256sums = 88d4f13e8b518250c520c906784f68971782a470f5451e510c3b25b47f3b11b9 + source = https://cran.r-project.org/src/contrib/cpp11_0.4.7.tar.gz + md5sums = 3e1399c740f88a8a76cc6c688dcc9337 + sha256sums = 801d1266824c3972642bce2db2a5fd0528a65ec845c58eb5a886edf082264344 pkgname = r-cpp11 @@ -3,10 +3,10 @@ # Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com _pkgname=cpp11 -_pkgver=0.4.6 +_pkgver=0.4.7 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} -pkgrel=2 +pkgrel=1 pkgdesc="A C++11 Interface for R's C Interface" arch=(any) url="https://cran.r-project.org/package=${_pkgname}" @@ -43,17 +43,9 @@ optdepends=( r-vctrs r-withr ) -source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz" - "fix-tests.patch") -md5sums=('786e1fdd894c982290d4ae401123fe59' - '7b7abe5ee87b665f50a36776475111ce') -sha256sums=('d1c56954671d3398078ad52aaa4efce0864e8166465c8c5e5e9a1e40599055b3' - '88d4f13e8b518250c520c906784f68971782a470f5451e510c3b25b47f3b11b9') - -prepare() { - # fix test snapshots - patch -Np1 -i fix-tests.patch -} +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('3e1399c740f88a8a76cc6c688dcc9337') +sha256sums=('801d1266824c3972642bce2db2a5fd0528a65ec845c58eb5a886edf082264344') build() { mkdir -p build diff --git a/fix-tests.patch b/fix-tests.patch deleted file mode 100644 index 68e10224632f..000000000000 --- a/fix-tests.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/cpp11/tests/testthat/_snaps/register.md b/cpp11/tests/testthat/_snaps/register.md -index 0e4b143..75125c4 100644 ---- a/cpp11/tests/testthat/_snaps/register.md -+++ b/cpp11/tests/testthat/_snaps/register.md -@@ -2,7 +2,7 @@ - - Code - cpp_register(p, quiet = FALSE) -- Message <cliMessage> -+ Message - i 1 functions decorated with [[cpp11::register]] - v generated file 'cpp11.R' - v generated file 'cpp11.cpp' -diff --git a/cpp11/tests/testthat/_snaps/source.md b/cpp11/tests/testthat/_snaps/source.md -index 1593503..ad9152a 100644 ---- a/cpp11/tests/testthat/_snaps/source.md -+++ b/cpp11/tests/testthat/_snaps/source.md -@@ -2,7 +2,8 @@ - - Code - cpp_source(i_do_not_exist) -- Error <simpleError> -- Can't find `file` at this path: -+ Condition -+ Error: -+ ! Can't find `file` at this path: - {NON_EXISTENT_FILEPATH} - |