summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBioArchLinuxBot2024-03-12 12:03:36 +0000
committerBioArchLinuxBot2024-03-12 12:03:36 +0000
commitd51a10ba0f9f6db0fe2a2a597a922598b8253bcb (patch)
tree8305ca020226a1788554d3fab005c7ac48c3e854
parent12f6b1f51d77e2550e0d1f5ae059d6b15a803756 (diff)
downloadaur-d51a10ba0f9f6db0fe2a2a597a922598b8253bcb.tar.gz
[lilac] updated to 1.4.4-1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD18
-rw-r--r--fix-tests.patch26
3 files changed, 47 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d8390bf9b42..ca756df22ce2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
pkgbase = r-bionar
pkgdesc = Biological Network Analysis in R
- pkgver = 1.4.1
+ pkgver = 1.4.4
pkgrel = 1
url = https://bioconductor.org/packages/BioNAR
arch = any
- license = Artistic2.0
+ license = Artistic-2.0
checkdepends = r-igraphdata
checkdepends = r-testthat
checkdepends = r-vdiffr
@@ -40,8 +40,11 @@ pkgbase = r-bionar
optdepends = r-rmarkdown
optdepends = r-testthat
optdepends = r-vdiffr
- source = https://bioconductor.org/packages/release/bioc/src/contrib/BioNAR_1.4.1.tar.gz
- md5sums = cce2273d564095b70d5b18aa6d134612
- b2sums = 38bb15d26fa8dfa321e9ea801f949c39ac51189faf62aaa703e3ee2431261771e3485562f4b6ce6fe2311bbeec25875fd2b5a108911c84f16942805bb28752ae
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/BioNAR_1.4.4.tar.gz
+ source = fix-tests.patch
+ md5sums = 60ea801489d5db3a2bb2e00d1acc1056
+ md5sums = 4a0d1366b4a7d786d07d1553c9a7899e
+ b2sums = 9a2a1a98ccff8e9d8054295f5b53321dcd03f9d996a1931f4e6a51c98af378ac2d0e0ef9a1ff51e43b15ff795ac523305037197d6b0e63ddd2f4aeeb28f6ff34
+ b2sums = 5bcc25f82c45ce8442351f73a851f34bf2c76b286dd708141882f928876d02fba213e8760146cd3115d298985aa062fb67d9a5d89ea7a62687d65fdfb3349a84
pkgname = r-bionar
diff --git a/PKGBUILD b/PKGBUILD
index 55389331f105..c3f074fb0c95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=BioNAR
-_pkgver=1.4.1
+_pkgver=1.4.4
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Biological Network Analysis in R"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
-license=(Artistic2.0)
+license=('Artistic-2.0')
depends=(
r-annotationdbi
r-clustercons
@@ -50,9 +50,17 @@ optdepends=(
r-testthat
r-vdiffr
)
-source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
-md5sums=('cce2273d564095b70d5b18aa6d134612')
-b2sums=('38bb15d26fa8dfa321e9ea801f949c39ac51189faf62aaa703e3ee2431261771e3485562f4b6ce6fe2311bbeec25875fd2b5a108911c84f16942805bb28752ae')
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
+ "fix-tests.patch")
+md5sums=('60ea801489d5db3a2bb2e00d1acc1056'
+ '4a0d1366b4a7d786d07d1553c9a7899e')
+b2sums=('9a2a1a98ccff8e9d8054295f5b53321dcd03f9d996a1931f4e6a51c98af378ac2d0e0ef9a1ff51e43b15ff795ac523305037197d6b0e63ddd2f4aeeb28f6ff34'
+ '5bcc25f82c45ce8442351f73a851f34bf2c76b286dd708141882f928876d02fba213e8760146cd3115d298985aa062fb67d9a5d89ea7a62687d65fdfb3349a84')
+
+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..442ed661adc3
--- /dev/null
+++ b/fix-tests.patch
@@ -0,0 +1,26 @@
+diff --git a/BioNAR/tests/testthat/_snaps/bridgeness/karatebridgenessplot.svg b/BioNAR/tests/testthat/_snaps/bridgeness/karatebridgenessplot.svg
+index eacd23f..4feb787 100644
+--- a/BioNAR/tests/testthat/_snaps/bridgeness/karatebridgenessplot.svg
++++ b/BioNAR/tests/testthat/_snaps/bridgeness/karatebridgenessplot.svg
+@@ -18,7 +18,7 @@
+ </clipPath>
+ </defs>
+ <g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'>
+-<rect x='0.00' y='0.00' width='720.00' height='576.00' style='stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;' />
++<rect x='0.000000000000064' y='0.00' width='720.00' height='576.00' style='stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;' />
+ </g>
+ <defs>
+ <clipPath id='cpNTQuOTF8NzE0LjUyfDIyLjc4fDUzMC4zMw=='>
+diff --git a/BioNAR/tests/testthat/_snaps/bridgeness/presynbridgenessplot.svg b/BioNAR/tests/testthat/_snaps/bridgeness/presynbridgenessplot.svg
+index de47e4c..7ef78e1 100644
+--- a/BioNAR/tests/testthat/_snaps/bridgeness/presynbridgenessplot.svg
++++ b/BioNAR/tests/testthat/_snaps/bridgeness/presynbridgenessplot.svg
+@@ -18,7 +18,7 @@
+ </clipPath>
+ </defs>
+ <g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'>
+-<rect x='0.00' y='0.00' width='720.00' height='576.00' style='stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;' />
++<rect x='0.000000000000064' y='0.00' width='720.00' height='576.00' style='stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;' />
+ </g>
+ <defs>
+ <clipPath id='cpNTQuOTF8NzE0LjUyfDIyLjc4fDUzMC4zMw=='>