mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-cpp11: remove old patch
This commit is contained in:
parent
fe4afab847
commit
0c5d6ce979
2 changed files with 5 additions and 41 deletions
|
@ -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=0
|
||||
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
|
||||
|
|
|
@ -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}
|
||||
|
Loading…
Add table
Reference in a new issue