summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBioArchLinuxBot2024-04-28 12:07:52 +0000
committerBioArchLinuxBot2024-04-28 12:07:52 +0000
commit238a367cd2755472b45fbc35b2eb75157cb70e06 (patch)
treef14d4d1bfc16222a8e479ca31e1651e626fa8d58
parent0bc5274de3ab1497310d6c2505068fd72566a180 (diff)
downloadaur-r-ggthemes.tar.gz
[lilac] updated to 5.1.0-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD16
-rw-r--r--fix-tests.patch12
3 files changed, 28 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2a3861696e8..4abbcb13b8a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = r-ggthemes
pkgdesc = Extra Themes, Scales and Geoms for 'ggplot2'
pkgver = 5.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://cran.r-project.org/package=ggthemes
arch = any
license = GPL-2.0-only
@@ -32,7 +32,10 @@ pkgbase = r-ggthemes
optdepends = r-vdiffr
optdepends = r-withr
source = https://cran.r-project.org/src/contrib/ggthemes_5.1.0.tar.gz
+ source = fix-tests.patch
md5sums = 9491e966073dd9aac9c0356717a31662
+ md5sums = 4a0d494a7e9b94929ed69ae6256ec9c5
b2sums = 39b71e02bcec780e1600fb1cd8ff44eb3cc032545b043217d0e85c186567c68b999e455b903ba649ab3464b447bdeed3ba599d6bb10dd07df682c353261f0ff7
+ b2sums = 0bb55a8e23bb306f5e5158864d4a6a62c35092fc14e65124c48e472e7e59d15c48fad23ba775c38e1fe422274776362bf886cc9c334e39738b019134783ee5b2
pkgname = r-ggthemes
diff --git a/PKGBUILD b/PKGBUILD
index 7408f89080d1..99e074cb6557 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ggthemes
_pkgver=5.1.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
-pkgrel=1
+pkgrel=2
pkgdesc="Extra Themes, Scales and Geoms for 'ggplot2'"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
@@ -43,9 +43,17 @@ optdepends=(
r-vdiffr
r-withr
)
-source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
-md5sums=('9491e966073dd9aac9c0356717a31662')
-b2sums=('39b71e02bcec780e1600fb1cd8ff44eb3cc032545b043217d0e85c186567c68b999e455b903ba649ab3464b447bdeed3ba599d6bb10dd07df682c353261f0ff7')
+source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
+ "fix-tests.patch")
+md5sums=('9491e966073dd9aac9c0356717a31662'
+ '4a0d494a7e9b94929ed69ae6256ec9c5')
+b2sums=('39b71e02bcec780e1600fb1cd8ff44eb3cc032545b043217d0e85c186567c68b999e455b903ba649ab3464b447bdeed3ba599d6bb10dd07df682c353261f0ff7'
+ '0bb55a8e23bb306f5e5158864d4a6a62c35092fc14e65124c48e472e7e59d15c48fad23ba775c38e1fe422274776362bf886cc9c334e39738b019134783ee5b2')
+
+prepare() {
+ # fix test snapshots
+ patch -Np1 -i fix-tests.patch
+}
build() {
mkdir build
diff --git a/fix-tests.patch b/fix-tests.patch
new file mode 100644
index 000000000000..fa7e004f2152
--- /dev/null
+++ b/fix-tests.patch
@@ -0,0 +1,12 @@
+diff --git a/ggthemes/tests/testthat/_snaps/shapes.md b/ggthemes/tests/testthat/_snaps/shapes.md
+index add5e91..1eb42df 100644
+--- a/ggthemes/tests/testthat/_snaps/shapes.md
++++ b/ggthemes/tests/testthat/_snaps/shapes.md
+@@ -21,5 +21,7 @@
+ Warning:
+ `scale_shape_circlefill()` was deprecated in ggthemes 5.0.0.
+ Warning:
++ The `scale_name` argument of `discrete_scale()` is deprecated as of ggplot2 3.5.0.
++ Warning:
+ `circlefill_shape_pal()` was deprecated in ggthemes 5.0.0.
+